Looking for help with understanding syntax in Mondrian 4.x.
I have a hierarchy with two levels, Customer and Item. I have turned off the 'all' level with hasAll="false":
If I want to get all of the items under a particular customer, I have to do something like {[Dimension].[Hierarchy].[Customer].&[1234].children}
Why do I need the level in the expression? Since Customer is the first level why can't I just do [Dimension].[Hierarchy].&[1234]?
For comparison, in SSAS I don't need to list the level - I can do [Dimension].[Hierarchy].&[1234], e.g., [Customer].[Customer Geography].[Canada] in the AdventureWorks cube.
I have a hierarchy with two levels, Customer and Item. I have turned off the 'all' level with hasAll="false":
Code:
<Hierarchy hasAll="false">
<Level attributes="Customer"/>
<Level attributes="Item"/>
</Hierarchy>
Why do I need the level in the expression? Since Customer is the first level why can't I just do [Dimension].[Hierarchy].&[1234]?
For comparison, in SSAS I don't need to list the level - I can do [Dimension].[Hierarchy].&[1234], e.g., [Customer].[Customer Geography].[Canada] in the AdventureWorks cube.