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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
wesinls
Regular Visitor

Conditional Formatting Not Working for Percentages?

I have a conditional column in which an item is true or fales (0 for false 1 for true) - and not matter which formatting option I choose i am unable to change the formatting such that IF a valuye is above 90% - the backgroud color becomes blue. I've already tried what others have attempted by chaing it to "Number" vs percent - but still the same issue. Any suggestions?

wesinls_0-1679074638107.png

 




2 REPLIES 2
jdurmus
New Member

To change the background color of a conditional column based on the column value, you can use the "Conditional Formatting" feature in Power BI.

Assuming your conditional column name is "MyColumn", you can follow these steps to apply conditional formatting:

  1. Click on the column header of "MyColumn" to select the column.
  2. Go to the "Home" tab in the Power BI ribbon.
  3. Click on "Conditional Formatting" in the "Styles" group.
  4. Select "Background color" in the dropdown menu.
  5. In the "Format by" dropdown, select "Field value".
  6. In the "Minimum" section, select "Percentage" as the type and enter "90" as the value.
  7. Choose the blue color for the "Minimum" value.
  8. Click "OK" to apply the formatting.

This should change the background color of the cells in the "MyColumn" column to blue if the value is above 90%.

There's no "Syles" group in PowerBi that I'm aware of - in Excel yes, but not PBi?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 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.