<?xml version="1.0" ?>
<Root>
    <TestCase name="testMultiDim1">
        <Resource name="description">
            <![CDATA[
query all product family and all quarters
]]>
        </Resource>
        <Resource name="mdx">
            <![CDATA[
With
  Set [*NATIVE_CJ_SET] as 'NonEmptyCrossJoin([*BASE_MEMBERS_Product],[*BASE_MEMBERS_Time])'
  Set [*BASE_MEMBERS_Measures] as '{[Measures].[*FORMATTED_MEASURE_0]}'
  Set [*BASE_MEMBERS_Product] as '[Product].[Product Family].Members'
  Set [*NATIVE_MEMBERS_Product] as 'Generate([*NATIVE_CJ_SET], {[Product].CurrentMember})'
  Set [*BASE_MEMBERS_Time] as '[Time].[Quarter].Members'
  Set [*NATIVE_MEMBERS_Time] as 'Generate([*NATIVE_CJ_SET], {[Time].CurrentMember})'
  Member [Measures].[*FORMATTED_MEASURE_0] as '[Measures].[Unit Sales]', FORMAT_STRING = '#,##0', SOLVE_ORDER=300 
Select
  [*BASE_MEMBERS_Measures] on columns,
  Non Empty Generate([*NATIVE_CJ_SET], {([Product].CurrentMember,[Time].CurrentMember)}) on rows 
From [Warehouse and Sales]
]]>
        </Resource>
        <Resource name="result">
            <![CDATA[
Axis #0:
{}
Axis #1:
{[Measures].[*FORMATTED_MEASURE_0]}
Axis #2:
{[Product].[Drink], [Time].[1997].[Q1]}
{[Product].[Drink], [Time].[1997].[Q2]}
{[Product].[Drink], [Time].[1997].[Q3]}
{[Product].[Drink], [Time].[1997].[Q4]}
{[Product].[Food], [Time].[1997].[Q1]}
{[Product].[Food], [Time].[1997].[Q2]}
{[Product].[Food], [Time].[1997].[Q3]}
{[Product].[Food], [Time].[1997].[Q4]}
{[Product].[Non-Consumable], [Time].[1997].[Q1]}
{[Product].[Non-Consumable], [Time].[1997].[Q2]}
{[Product].[Non-Consumable], [Time].[1997].[Q3]}
{[Product].[Non-Consumable], [Time].[1997].[Q4]}
Row #0: 5,976
Row #1: 5,895
Row #2: 6,065
Row #3: 6,661
Row #4: 47,809
Row #5: 44,825
Row #6: 47,440
Row #7: 51,866
Row #8: 12,506
Row #9: 11,890
Row #10: 12,343
Row #11: 13,497
]]>
        </Resource>
    </TestCase>
    <TestCase name="testMultiDim2">
        <Resource name="description">
            <![CDATA[
query all product family and some quarters
]]>
        </Resource>
        <Resource name="mdx">
            <![CDATA[
With
  Set [*NATIVE_CJ_SET] as 'NonEmptyCrossJoin([*BASE_MEMBERS_Product],[*BASE_MEMBERS_Time])'
  Set [*BASE_MEMBERS_Measures] as '{[Measures].[*FORMATTED_MEASURE_0]}'
  Set [*BASE_MEMBERS_Product] as '[Product].[Product Family].Members'
  Set [*NATIVE_MEMBERS_Product] as 'Generate([*NATIVE_CJ_SET], {[Product].CurrentMember})'
  Set [*BASE_MEMBERS_Time] as '{[Time].[1997].[Q1],[Time].[1997].[Q3]}'
  Set [*NATIVE_MEMBERS_Time] as 'Generate([*NATIVE_CJ_SET], {[Time].CurrentMember})'
  Member [Measures].[*FORMATTED_MEASURE_0] as '[Measures].[Unit Sales]', FORMAT_STRING = '#,##0', SOLVE_ORDER=300 
Select
  [*BASE_MEMBERS_Measures] on columns,
  Non Empty Generate([*NATIVE_CJ_SET], {([Product].CurrentMember,[Time].CurrentMember)}) on rows 
From [Warehouse and Sales]
]]>
        </Resource>
        <Resource name="result">
            <![CDATA[
Axis #0:
{}
Axis #1:
{[Measures].[*FORMATTED_MEASURE_0]}
Axis #2:
{[Product].[Drink], [Time].[1997].[Q1]}
{[Product].[Drink], [Time].[1997].[Q3]}
{[Product].[Food], [Time].[1997].[Q1]}
{[Product].[Food], [Time].[1997].[Q3]}
{[Product].[Non-Consumable], [Time].[1997].[Q1]}
{[Product].[Non-Consumable], [Time].[1997].[Q3]}
Row #0: 5,976
Row #1: 6,065
Row #2: 47,809
Row #3: 47,440
Row #4: 12,506
Row #5: 12,343
]]>
        </Resource>
    </TestCase>
    <TestCase name="testMultiDim3">
        <Resource name="description">
            <![CDATA[
query all Drink product family and all quarters
]]>
        </Resource>
        <Resource name="mdx">
            <![CDATA[
With
  Set [*NATIVE_CJ_SET] as 'NonEmptyCrossJoin([*BASE_MEMBERS_Product],[*BASE_MEMBERS_Time])'
  Set [*BASE_MEMBERS_Measures] as '{[Measures].[*FORMATTED_MEASURE_0]}'
  Set [*BASE_MEMBERS_Product] as '{[Product].[Drink]}'
  Set [*NATIVE_MEMBERS_Product] as 'Generate([*NATIVE_CJ_SET], {[Product].CurrentMember})'
  Set [*BASE_MEMBERS_Time] as '[Time].[Quarter].Members'
  Set [*NATIVE_MEMBERS_Time] as 'Generate([*NATIVE_CJ_SET], {[Time].CurrentMember})'
  Member [Measures].[*FORMATTED_MEASURE_0] as '[Measures].[Unit Sales]', FORMAT_STRING = '#,##0', SOLVE_ORDER=300 
Select
  [*BASE_MEMBERS_Measures] on columns,
  Non Empty Generate([*NATIVE_CJ_SET], {([Product].CurrentMember,[Time].CurrentMember)}) on rows 
From [Warehouse and Sales]
]]>
        </Resource>
        <Resource name="result">
            <![CDATA[
Axis #0:
{}
Axis #1:
{[Measures].[*FORMATTED_MEASURE_0]}
Axis #2:
{[Product].[Drink], [Time].[1997].[Q1]}
{[Product].[Drink], [Time].[1997].[Q2]}
{[Product].[Drink], [Time].[1997].[Q3]}
{[Product].[Drink], [Time].[1997].[Q4]}
Row #0: 5,976
Row #1: 5,895
Row #2: 6,065
Row #3: 6,661
]]>
        </Resource>
    </TestCase>
    <TestCase name="testMultiDim4">
        <Resource name="description">
            <![CDATA[
query only drink and some quarters
]]>
        </Resource>
        <Resource name="mdx">
            <![CDATA[
With
  Set [*NATIVE_CJ_SET] as 'NonEmptyCrossJoin([*BASE_MEMBERS_Product],[*BASE_MEMBERS_Time])'
  Set [*BASE_MEMBERS_Measures] as '{[Measures].[*FORMATTED_MEASURE_0]}'
  Set [*BASE_MEMBERS_Product] as '{[Product].[Drink]}'
  Set [*NATIVE_MEMBERS_Product] as 'Generate([*NATIVE_CJ_SET], {[Product].CurrentMember})'
  Set [*BASE_MEMBERS_Time] as '{[Time].[1997].[Q1],[Time].[1997].[Q3]}'
  Set [*NATIVE_MEMBERS_Time] as 'Generate([*NATIVE_CJ_SET], {[Time].CurrentMember})'
  Member [Measures].[*FORMATTED_MEASURE_0] as '[Measures].[Unit Sales]', FORMAT_STRING = '#,##0', SOLVE_ORDER=300 
Select
  [*BASE_MEMBERS_Measures] on columns,
  Non Empty Generate([*NATIVE_CJ_SET], {([Product].CurrentMember,[Time].CurrentMember)}) on rows 
From [Warehouse and Sales]
]]>
        </Resource>
        <Resource name="result">
            <![CDATA[
Axis #0:
{}
Axis #1:
{[Measures].[*FORMATTED_MEASURE_0]}
Axis #2:
{[Product].[Drink], [Time].[1997].[Q1]}
{[Product].[Drink], [Time].[1997].[Q3]}
Row #0: 5,976
Row #1: 6,065
]]>
        </Resource>
    </TestCase>
    <TestCase name="testMultiDim5">
        <Resource name="description">
            <![CDATA[
use slicers
]]>
        </Resource>
        <Resource name="mdx">
            <![CDATA[
With
  Set [*NATIVE_CJ_SET] as 'NonEmptyCrossJoin([*BASE_MEMBERS_Time],[*BASE_MEMBERS_Product])'
  Set [*BASE_MEMBERS_Measures] as '{[Measures].[*FORMATTED_MEASURE_0]}'
  Set [*BASE_MEMBERS_Time] as '[Time].[Quarter].Members'
  Set [*NATIVE_MEMBERS_Time] as 'Generate([*NATIVE_CJ_SET], {[Time].CurrentMember})'
  Set [*BASE_MEMBERS_Product] as '{[Product].[Drink]}'
  Set [*NATIVE_MEMBERS_Product] as 'Generate([*NATIVE_CJ_SET], {[Product].CurrentMember})'
  Member [Measures].[*FORMATTED_MEASURE_0] as '[Measures].[Unit Sales]', FORMAT_STRING = '#,##0', SOLVE_ORDER=300
  Member [Product].[*FILTER_MEMBER] as 'Aggregate ([*NATIVE_MEMBERS_Product])', SOLVE_ORDER=-200 
Select
  [*BASE_MEMBERS_Measures] on columns,
  Non Empty Generate([*NATIVE_CJ_SET], {([Time].CurrentMember)}) on rows 
From [Warehouse and Sales] 
Where ([Product].[*FILTER_MEMBER])
]]>
        </Resource>
        <Resource name="result">
            <![CDATA[
Axis #0:
{[Product].[*FILTER_MEMBER]}
Axis #1:
{[Measures].[*FORMATTED_MEASURE_0]}
Axis #2:
{[Time].[1997].[Q1]}
{[Time].[1997].[Q2]}
{[Time].[1997].[Q3]}
{[Time].[1997].[Q4]}
Row #0: 5,976
Row #1: 5,895
Row #2: 6,065
Row #3: 6,661
]]>
        </Resource>
    </TestCase>
</Root>
