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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Vikkers
Regular Visitor

RAG status

I'm new to Power BI. I'm trying to set-up a dashboard. one of the fields in the source data is for RAG status. the field has either R, A or G. Idealy I would like conditional formating with an icon. so that R is red, A is amber, G is green. I don't want a table, just the icon. any advise would be welcome. thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Vikkers ,

I created a sample pbix file(see the attachment), please find the details in it.

Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

1. Create a measure as below

Conditional formatting = SWITCH ( SELECTEDVALUE ( 'Table'[RAG status] ), "R", 0, "A", 1, "G", 2 )

2. Create a table visual and only apply the field [RAG status] on it

3. Make conditional formatting on it

vyiruanmsft_0-1694406010170.png

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Vikkers ,

I created a sample pbix file(see the attachment), please find the details in it.

Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

1. Create a measure as below

Conditional formatting = SWITCH ( SELECTEDVALUE ( 'Table'[RAG status] ), "R", 0, "A", 1, "G", 2 )

2. Create a table visual and only apply the field [RAG status] on it

3. Make conditional formatting on it

vyiruanmsft_0-1694406010170.png

Best Regards

Thanks that has been a big help. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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