RE: Parallel Period in asymetric hierarchies -
09-20-2006
, 09:52 AM
Hi Peter
Thanks for your answer. OK, first a sample mdx that I use:
select
ParallelPeriod([Date].[Fiscal].[FiscalYear],1,
[Date].[Fiscal].[Date].&[20060331] on 0,
[Measures].[Sales] on 1
from TestCube
In this Fiscal Calender, starting Feb 01 to Jan 31, week 9 (last week of
march) has in 2006 5 days, but in 2005 only 4 days.
When I use the ParallelPeriod function, I receive a blank value. My problem
arises when I use the following query in SSRS:
....
sum(Parallelperiod([Date].[Fiscal].[FiscalYear],1,[Date].[Fiscal].[Date].&[20060331])
:
Parallelperiod([Date].[Fiscal].[FiscalYear],1,[Date].[Fiscal].[Date].&[20060601]), [Measures].[Sales])
....
The query will not see the first date and makes from a from to a
whateverexists to.
Thanks for your help,
Regards, Marc |