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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
narasimhuluk
Frequent Visitor

Percentage column with different background colours conditionally

Hi Folks 

 

i have column like 

column 1  

80%

98%

99%

99.99%

100%

 

i want to show background colour conditionallay 

say 

<98.00% -red colour 

>98.00 - >99.99 -amber 

>99.99 green 

i cheched contional formating with 'Rules ' is giving only for numbers not for percentages and it is taking lowest and highest vaues but i want accurally 

column 2

98

99

99.99

100

contional formating with 'Rules ' is giving only for for column2 values but not column 1 percentage values 

please guide me to allocate a background colour accuraly based on conditions like conditional formating rules ....

1 ACCEPTED SOLUTION

Hi @narasimhuluk ,

Below is my setting, you could have a test:

1.PNG

Or you could refer to below link about field value:

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-formatting-by-f...

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi narasimhuluk,

 

You have to try with like this.

 

For 80% --> use .80

similarly, 98% --> .98

 

This would works.

 

Regards,

Pradeep

its not working for percentage values 

i have values like 

Column1     column 2

98.00%         98

99.00%         99

99.99%         99.99

100.00%         100

i tried with decimal values but its not wotking for  column 1 yes it is working for numbers column 2

i want to set back ground colour conditionaly for column 1 

 

Hi @narasimhuluk ,

Below is my setting, you could have a test:

1.PNG

Or you could refer to below link about field value:

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-formatting-by-f...

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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