I have a KPI (with value,goal & status) created using BIDS. When I view it using excel 2010 pivot table the kpi goal shows #value but it is used to calculate the status.
How do I hide the entire kpi goal or make it show the exact value instead of #value.
Below is the code I used for kpi goal.
CASE WHEN
[Measure].[Measure - SubMeasure Desc].currentmember.level is
[Measure].[Measure - SubMeasure Desc].[Submeasure Desc]
THEN
vba!format([Measures].[Threshold Min],[Measures].[Threshold Max],"percent")
ELSE NULL
END
The KPI status which is based on the goal and value is displaying correctly. The KPI value is okey too.....the problem is on the KPI goal only. Here is the complete list if it helps to clarify my question.
KPI VALUE: [Measures].[NCQA Rate]
KPI Goal:
CASE WHEN
[Measure].[Measure - SubMeasure Desc].currentmember.level is
[Measure].[Measure - SubMeasure Desc].[Submeasure Desc]
THEN
vba!format([Measures].[Threshold Min],[Measures].[Threshold Max],"percent")
ELSE
NULL
END
KPI STATUS:
CASE WHEN
IsEmpty(KPIValue("NCQA COMMERCIAL"))
THEN
NULL
WHEN
KPIValue("NCQA COMMERCIAL") <
([Benchmark].[Benchmark Type].&[NCQA National 2011 Commercial],
[Measure].[Measure - SubMeasure Desc].currentmember,
[Measures].[Threshold Min]) /100
then
-1
WHEN
KPIValue("NCQA COMMERCIAL") >
([Benchmark].[Benchmark Type].&[NCQA National 2011 Commercial],
[Measure].[Measure - SubMeasure Desc].currentmember,
[Measures].[Threshold Max])/100
then
1
ELSE
0
END