Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
atul9063
Helper III
Helper III

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]) -1image.png

 

 

 

 

 

1 ACCEPTED SOLUTION

Hi @atul9063

Please Go to Edit Queries,

Add a custom column 

1.png

 

Then replace errors

2.png

 

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.

3.png

 

Best Regards

maggie

 

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @atul9063

I can reproduce your problem. it seems rows in [Calc Variance] or [Totalmetric],[PreviousMonthMetrics] contains "inf" value, right?

 

 

12.png

 

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

 

@v-juanli-msftHi,

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

Hi @atul9063

Please Go to Edit Queries,

Add a custom column 

1.png

 

Then replace errors

2.png

 

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.

3.png

 

Best Regards

maggie

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.