Hi,
We have a system the works with different measures and we want their behavior to be dynamic. For example - Measure that calculate sales amount in 2012.
With member [Measures].[2011Amount]
as
sum([Date].[Georgian Calendar].[Year].&[2012],[sales amount] )
In this format the measures will be constantly static, no matter what year I put in the dimension.
by adding existing , I solve half of the problem,if the year are in the dimension I get null for all year that are not 2012.
Our system allow to look at year dimension but be filtered by lower level (like month). We accomplish this behavior by using subselect.
With member [Measures].[2011salesAmount]
as
sum(existing [Date].[Georgian Calendar].[Year].&[2012],[sales amount] )
select [Date].[Georgian Calendar].[Year] on columns,
{[Measures].[2011salesAmount]} on rows
from
(select [Date].[Georgian Calendar].[Month].&[201201] on columns
from
[Profitect V3 Inventory]
)
The measures return all the sales in Year 2012 without filtering January 2012 that exist in the subselect.
Any ideas how to overcome this?
Thanks,
Liran