Pentaho BI Server 4.8 CE.
This MDX produces a result:
(the Dimension is Items. It has one Hierarchy, unnamed, and one level called ItemType.)
However, this doesn't:
When I read MDX documentation it says that if I create a member fully qualified like this, it should end up in the level I expect.
But how come the second query doesn't work?
Probably I don't understand something.
Microsoft says that a calculated member like mine should end up as a member of the [ItemType] level, but their actual code example uses the partially qualified syntax that works in my case too.
http://msdn.microsoft.com/en-us/library/ms146017.aspx (see the BigSeller calculated member about 60% down the page).
This MDX produces a result:
Code:
WITH MEMBER [Items].[ItemType].[NonSales] as
[Items].[ItemType].[Deposit] + [Items].[ItemType].[Gift_Voucher]
SELECT {[Items].[NonSales]} ON COLUMNS,
[Measures].[AmtPaidExclGST] on rows
FROM [sales]
(the Dimension is Items. It has one Hierarchy, unnamed, and one level called ItemType.)
However, this doesn't:
Code:
WITH MEMBER [Items].[ItemType].[NonSales] as
[Items].[ItemType].[Deposit] + [Items].[ItemType].[Gift_Voucher]
SELECT {[Items].[ItemType].[NonSales]} ON COLUMNS,
[Measures].[AmtPaidExclGST] on rows
FROM [sales]
But how come the second query doesn't work?
Probably I don't understand something.
Microsoft says that a calculated member like mine should end up as a member of the [ItemType] level, but their actual code example uses the partially qualified syntax that works in my case too.
http://msdn.microsoft.com/en-us/library/ms146017.aspx (see the BigSeller calculated member about 60% down the page).