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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
lastnn30
Post Patron
Post Patron

conditional formatting rule

Hi

I did not understand the statment below. Is there any rule (math formula to calculate the boundaries. In the artical below, it is said that if the value is less than 200 then it will get green color. How? I mean, it must be a math formula to calculate which numbers will fall in 0% - 33% range, if yes how and what is the formula please. In the example it said that the dataset is 100 to 400. Thank you very much.

 

Sounce:

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting

 

When you select Percent in this dropdown, you’re setting the rule boundaries as a percent of the overall range of values from minimum to maximum. So, for example, if the lowest data point was 100 and the highest was 400, the above rules would color any point less than 200 as green, anything from 200 to 300 as yellow, and anything above 300 as red.

 

SNAG-0596.jpg

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@lastnn30 

The percentage setting looks only at the range from low to high then formats based on which bucket the value falls into.  It does not look at the value itself.  

jdbuchanan71_0-1650258178263.png

If you have an actual % value like margin rate or completed % you need to use number to format the field then it will look at the actual value.  .33 = 33% so the 30% value is green and the 40% value is yellow:

jdbuchanan71_1-1650258256954.png

 

 

 

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

@lastnn30 

The percentage setting looks only at the range from low to high then formats based on which bucket the value falls into.  It does not look at the value itself.  

jdbuchanan71_0-1650258178263.png

If you have an actual % value like margin rate or completed % you need to use number to format the field then it will look at the actual value.  .33 = 33% so the 30% value is green and the 40% value is yellow:

jdbuchanan71_1-1650258256954.png

 

 

 

Thank you very much. Your example is out of this world! I learnt it easily with your example. Thanks once again. Appreicate it.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.