目标:
在不使用任何维度表的情况下,将度量“Internet Sales Amount”值限制为14545058,5455。销售人员不允许查看测量“互联网销售额”的全部价值。仅允许查看“Internet Sales Amount”中的有限数据。
问题:
我有一个问题是限制测量“互联网销售额”,这将是访问Excel和SSRS。
答案 0 :(得分:0)
案例
When [Measures].[Internet Sales Amount] > ([Customer].[Gender].&[M], [Measures].[Internet Sales Amount]) Then "NA-gender" When [Measures].[Internet Sales Amount] > ([Date].[Calendar Year].&[2008], [Measures].[Internet Sales Amount]) Then "NA-Calender" When [Measures].[Internet Sales Amount] < ([Date].[Calendar Year].&[2008], [Measures].[Internet Sales Amount]) Then "NA-Calender2" Else [Measures].[Internet Sales Amount] End