i am new to mdx and try to explore more but during exploring i am facing problem regarding MDX query. I have following query , please help me to understand better.
Query) :- How to add two tupple in a single MDX.
i have following two tupple
1) ([Dim Product].[Product Key].Children ,[Dim Product].[Product Subcategory Key].Children)
and
2) ([Dim Reseller].[Reseller Key].members,[Dim Reseller].[Geography Key].members)
when i add single tuple(from above tuple) in a MDX query then it is working fine such as
select { One of the tupple from above } on 1,
([Measures].[Sales Amount - Fact Reseller Sales]) on 0 from [Adventure Works DW]
Problem) :- When i try to add both tuple in a single query then it is throwing following error
Executing the query ...
Query (1, 8) Two sets specified in the function have different dimensionality.
Execution complete
Following are the query for which above error are throwing
SELECT { ([Dim Product].[Product Key].Children , [Dim Product].[Product Subcategory Key].Children)
,([Dim Reseller].[Reseller Key].members,[Dim Reseller].[Geography Key].members) } on 1,
([Measures].[Sales Amount - Fact Reseller Sales]) on 0 from [Adventure Works DW]
Please suggest how i can show both the tuple in the above MDX query. Your help is appreciated and thanks in advance.
Query) :- How to add two tupple in a single MDX.
i have following two tupple
1) ([Dim Product].[Product Key].Children ,[Dim Product].[Product Subcategory Key].Children)
and
2) ([Dim Reseller].[Reseller Key].members,[Dim Reseller].[Geography Key].members)
when i add single tuple(from above tuple) in a MDX query then it is working fine such as
select { One of the tupple from above } on 1,
([Measures].[Sales Amount - Fact Reseller Sales]) on 0 from [Adventure Works DW]
Problem) :- When i try to add both tuple in a single query then it is throwing following error
Executing the query ...
Query (1, 8) Two sets specified in the function have different dimensionality.
Execution complete
Following are the query for which above error are throwing
SELECT { ([Dim Product].[Product Key].Children , [Dim Product].[Product Subcategory Key].Children)
,([Dim Reseller].[Reseller Key].members,[Dim Reseller].[Geography Key].members) } on 1,
([Measures].[Sales Amount - Fact Reseller Sales]) on 0 from [Adventure Works DW]
Please suggest how i can show both the tuple in the above MDX query. Your help is appreciated and thanks in advance.
regards Rajeev