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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

CONDITIONAL FORMATTING BASED ON RAG

HI I have a table status value R 1 A 2 G 3 I need an output like Whenever the table is having a value R, the output should come as red icon, if A then output should come as Amber icon. TIA
1 ACCEPTED SOLUTION
lkalawski
Super User
Super User

Unfortunately, you cannot set icons for text values in Conditional formatting.

In this case, you need to create an additional StatusID column (number type), e.g. R-1, A-2, G-3 and set icons for the given status based on this column. Below screen:

Ex1.png

_______

If I helped, please accept the solution and give kudos! 😀

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous 

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

This one if want to create something custom

https://community.powerbi.com/t5/Desktop/FORMAT-icon-set-for-use-in-a-data-card/td-p/811692

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

Unfortunately, you cannot set icons for text values in Conditional formatting.

In this case, you need to create an additional StatusID column (number type), e.g. R-1, A-2, G-3 and set icons for the given status based on this column. Below screen:

Ex1.png

_______

If I helped, please accept the solution and give kudos! 😀

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 MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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