in the foodmart example DB/schema, if I disable the "hasall" of the gender dimension, it impacts the result of any calculation, even if the dimension gender is not selected at all. See the following example queries, the first one before, the second one after modifying the schema (note, the (All) in the ROW selector is taken from the customer dim., see mdx below).
Selection_006.jpg
Selection_005.png
The corresponding mdx is:
... so there is really no reason why gender would impact this query!
here is the modified FoodMart.xml, at around line 295 :
Looks to me like a bug, yet I am quite new to mdx and mondrian and therefore I am wondering if I am maybe missing something fundamental.
Selection_006.jpg
Selection_005.png
The corresponding mdx is:
Code:
SELECT
NON EMPTY {[Measures].[Unit Sales]} ON COLUMNS,
NON EMPTY {Hierarchize({[Customers].[All Customers]})} ON ROWS
FROM [Sales]
here is the modified FoodMart.xml, at around line 295 :
Code:
<Dimension visible="true" foreignKey="customer_id" highCardinality="false" name="Gender">
<Hierarchy visible="true" hasAll="false" allMemberName="All Gender" primaryKey="customer_id">
Looks to me like a bug, yet I am quite new to mdx and mondrian and therefore I am wondering if I am maybe missing something fundamental.