Forum Discussion
Power KPI matrix error - KPI Indicator Index
Hi Team,
When i dragging [Calc KPI Index] Measure in KPI Indicator Index field, i m getting below error.
Below are measures formulas.
Calc KPI Index = if(value([Calc Variance])>= .05, 1, if(value([Calc Variance])<-.05,3,2))
Calc Variance = ([Totalmetric]/[PreviousMonthMetrics]) -1
Hi atul9063
Please Go to Edit Queries,
Add a custom column
Then replace errors
Close&&apply, re-write the measure using the "Custom" column instead of "co1", then Measure3 and Measure4 can be add to the visuals without any error.
Best Regards
maggie
3 Replies
- v-juanli-msftCommunity Support
Hi atul9063
I can reproduce your problem. it seems rows in [Calc Variance] or [Totalmetric],[PreviousMonthMetrics] contains "inf" value, right?
To slove this problem, i believe we could work with edit queries, please let me know how you connect data source to power bi so that i can choose the better way to slove the problem.
Best Regards
Maggie
- atul9063Helper III
Thanks for reproducing this issue. I m using SQL Server Database and connectivity mode is import method.Please let me know how to solve this issue.Let me know any other information required.
Thanks
- v-juanli-msftCommunity Support
Hi atul9063
Please Go to Edit Queries,
Add a custom column
Then replace errors
Close&&apply, re-write the measure using the "Custom" column instead of "co1", then Measure3 and Measure4 can be add to the visuals without any error.
Best Regards
maggie