Hi Folks,
i have big problem. my measure is call "VALUE".
and the Dimension "TYPE" (TYPE a,b)
The kpi should compare VALUE Type a and TYPE b.
How it works?
Can everyone help me. THX Greg
It depends on what you mean by comparing the two values, but here's an example of an MDX expression (in a calculated measure, but you could easily use it inside a KPI) that compares two values - Internet Sales Amount for Fridays and Saturdays - on the same dimension:
Code Snippet
with member measures.test as
iif( ([Measures].[Internet Sales Amount], [Date].[Day Name].&[6])
>
([Measures].[Internet Sales Amount], [Date].[Day Name].&[7])
, "Friday is greater", "Saturday is greater")
select [Date].[Calendar Year].members on 0,
[Product].[Category].members on 1
from [Adventure Works]
where(measures.test)
HTH,
Chris
|||Hi Greg,
Edit your cube in BIDS and then go to KPI's tab.
Create a new KPI and complete the form with MDX script you need for Value, Goal, Status and Trend.
There you can also set Status indicator e Trend indicator (traffic light, gauge, standard arrow and so on).
Here you can find some instructions:
http://msdn2.microsoft.com/en-us/library/ms181183.aspx
|||
thx
this code help me
([Measures].[VALUE], ( [DIM].[NAME].[MEMBER] ))
No comments:
Post a Comment