Reply
DeeBali
Helper I
Helper I

Conditional Formatting not working on some calculated columns!

Hello Fabric Community!

 

I need assistance fixing conditional formatting on one of the calculated columns in my table. I have a table (screenshot atached) with calculated columns Reported %, Failure % and Ignored %. I have created conditional formatting on the Reported % with no issues. However, for the Failure % column, when I am trying to create the coniditionla formatting on the cell background, it is only working partially. 

From 0-1% the conditional color works fine, but from 1% onwards, the system is only taking the conditionla color that I set for the last percentage. For example, it is not using the color I set for 1-2% but rather it is showing color I set for 4-5% range for all rows after 0%. Please take a look at screen shots attacked and provide some guidance. Thank you. 
Screenshot 2024-06-06 170838.jpgScreenshot 2024-06-06 170951.jpg

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@DeeBali , Even if your column is %, you should use "number" and value between 0 and 1. Because % here means allocation

So it will like

0 Number to .10 Number

and so on

 

Power BI why Rule Based conditional formatting do not work with percent column: Power BI why Rule Based conditional formatting do not work with percent column

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

@DeeBali , Even if your column is %, you should use "number" and value between 0 and 1. Because % here means allocation

So it will like

0 Number to .10 Number

and so on

 

Power BI why Rule Based conditional formatting do not work with percent column: Power BI why Rule Based conditional formatting do not work with percent column

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thnak you Amit. Using 0.01 instead of 1 for percent worked perfect! 

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)