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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Power KPI Matrix - treat zero values as null comparison values

Hi,

 

In the Power KPI Matrix visual it's possible to set the option for "Treat zero values as null" for Current Value, however this option is missing for Comparison Value / Second Comparison Value. It is fairly common to have a zero as a KPI target, especially when thinking of health & safety (zero injury KPI for example), so it looks a little strange having an actual (current) value of 0 and a target (comparison) value of blank!

 

Would it be possible to add in the "Treat zero values as null" on/off for Comparison Value & Second Comparison Value?

1 ACCEPTED SOLUTION
v-evelk
Microsoft Employee
Microsoft Employee

Hi,

 

These feature is already in the visaul backlog.

 

Thanks!

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

 

 

View solution in original post

4 REPLIES 4
vh_
New Member

I am new to PowerBI and had this issue just yesterday - changed the measures used Comparison and Second Comparison values slightly.

 

Introduced an If condition in RETURN to check if the value was Blank() or 0 and assigned a small non-zero value such as 0.00001. This was done in all 3 measures used as Actual, Comparison and Second Comparison and the issue got resolved. It is just a workaround you can try while an actual the item gets picked up from the change backlog.

Please mark as "Solved" if it solves the problem!

paulbodman
New Member

also looking forward to this update! it does still look very odd to have comparison as null instead of blank

v-evelk
Microsoft Employee
Microsoft Employee

Hi,

 

These feature is already in the visaul backlog.

 

Thanks!

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

 

 

jmb
Regular Visitor

Hi, I couldn't find any option to get the comparizon field to take 0 as 0 (rather then null) in PowerMatrix 3.1.1. Is there a better version ? Is there any horizon date to have this included ? 

 

thanks in advance for your answer.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Solution Authors