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 on Percentages - Really?

This really can't be that difficult...

 

I have a simple calculation in DAX, formatted as a percentage, and I want to conditionally format that when 100% Red, 80% Yellow and and so on.

 

I found some information in the community - but nothing particularly helpful.

 

 

1 ACCEPTED SOLUTION
ricardocamargos
Continued Contributor
Continued Contributor

Hi @Anonymous,

 

The november's release has this function.

 

https://powerbi.microsoft.com/pt-br/blog/power-bi-desktop-november-2017-feature-summary/

 

You just should use 1 to red, 0.8 to yellow and so on (assuming your measure is formatted as percentage).

 

Ricardo

View solution in original post

7 REPLIES 7
guanel1
Helper I
Helper I

So, i just ran into this myself - and what i needed to do is pay attention to how the data is displayed. My percentage in the table is not calculated (listed as "Dont Summarize"). But when I went into the Conditional Formatting popup it was showing the following: 

guanel1_0-1752599640817.png

the Count of % was not working. I had to update this to Maximum - then the calculations were displaying correctly. 

guanel1_1-1752599682788.png

So pay attention to how the conditional formatting is trying to read the dataset for your percentages. 

 

Anonymous
Not applicable

I am having the same problem.I have a measure which is a calculated percentage of other two column.Any ideas on how i can work this out

 

ripstaur
Helper III
Helper III

I have tried this several ways...I have a column that calculates a percentage based on two other columns. The max it can be is 100%, and that (for better or worse - I didn't pick it) is the goal, and that's what they want to have "green." However, I have tried it using rules, setting yellow to less than 1 and green to "is" 1 (I also tried >= 1), and it stays yellow. If I back the 1 down to 0.93, it will turn green, but as soon as I put in a number larger than that, it goes back to yellow. Any ideas? 

 

Greg_Deckler
Community Champion
Community Champion

Hmm, I actually just tried this and I'm not getting conditional formatting to work with measures, only columns...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

I too can only use this function on columns and not measures.  Are measures not supported for conditional formatting??

Greg_Deckler
Community Champion
Community Champion

Have you tried the "Color by rules" option? You can put in the decimal equivalents of the percentages as part of the rules and they will work, assuming that your calculation returns a number that you have formatted as % and they are not text.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
ricardocamargos
Continued Contributor
Continued Contributor

Hi @Anonymous,

 

The november's release has this function.

 

https://powerbi.microsoft.com/pt-br/blog/power-bi-desktop-november-2017-feature-summary/

 

You just should use 1 to red, 0.8 to yellow and so on (assuming your measure is formatted as percentage).

 

Ricardo

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.