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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors