Join between dimensions -
06-07-2005
, 05:11 AM
I have this MDX query:
SELECT
{
[Measures].[Amount],
[Measures].[LastYearMonthAmount],
[Measures].[Perc_Amount],
[Measures].[SeasonToDate],
[Measures].[LastYearMonthSTD],
[Measures].[Perc_STD],
[Measures].[Estimates Budget-STD],
[Measures].[Budget],
[Measures].[LastYearBudget],
[Measures].[Perc_Budget]
} on 0,
non empty {Descendants([Date].[Totale Date],3,SELF_AND_BEFORE)} on 1,
NonEmptyCrossJoin({Descendants([Periods].[Totale
Periods],3,SELF_AND_BEFORE)}) on 2,
NonEmptyCrossJoin({Descendants([WholesaleByCustomer].[Totale
Code],4,SELF_AND_BEFORE)}) on 3
FROM "Sales"
I need to extract only rows that have [Date].[Year]=[Periods].[Year] and
[Date].[Month]=[Periods].[Month]
what can I do this?
Thx
Dario Concilio |