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

Conditional Formatting for Matrix seems to skip a condition

I've got this matrix, with the fields Date, Category (each row in the matrix is a category) and Sold%.

Sold% is a measure:

Percentage =
VAR numerator = COUNTROWS(
FILTER(
ImportedData,
ImportedData[Products] <> "sold")
)
RETURN DIVIDE (numerator, ImportedData[TotalProducts])

 

The issue is the formatting on the matrix doesn't work how I expect it to. I've got these thresholds for the matrix's conditional formatting to indicate the percentage of products sold. 

 

 
 

ST94_2-1676646218739.png

For some reason, the matrix appears like this (91% shouldn't be that shade of green for example)

ST94_3-1676646447764.png

Just to check, I changed the top threshold to blue to see what happens

ST94_4-1676646501270.png

And 91 becomes blue:

ST94_5-1676646555053.png

 

Any ideas what could have gone wrong? Any help is appreciated.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Change all percent to the number and use number like .8 for 80%

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Change all percent to the number and use number like .8 for 80%

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you, it worked! Very strange how the matrix is like that.

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.