Hi to all.I have a calculated measure in one of my cubes.This is named DELTA SALES AMOUNTIt calculates [b]Parallelperiod[/b] about SalesAmount.This calculate measures is based on the dimension Calendar that is time Dimension.I have a Hirarchy named DateAAAAMMGG that is composed of there levels:Year Month DayThe MDX Expression is that :[b]'([SalesAmount] - (ParallelPeriod([Calendar].[DateAAAAMMGG].[Year]),[SalesAmount]))'[/b]If i select in my Excel's Pivot Table , the level Year (Ex 2013) and Month (Ex. May) and Day (Ex. 24)ALL IT WORKS GOOD.In fact i have as result salesamount about prior year 2012 the same month of may the same day 24..But if i select the level Year (Ex 2013) and Month (Ex. May) [b]and more Days [/b](Ex. 20-21-22-23-24)I RECEIVE no results ...(Ex. Null)I expected to have a result salesamount of prior year 2012 the same month of May and the sum of salesamount of days 20-21-22-23-24....instead nothing ...Where is my mistake ???I think it is possible to have results selecting more days using PARALLELPERIOD with a TIME DIMENSION ..Why not ???Or i have to use different MDX functions ???Regards in advance.
↧