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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
chadmyers
New Member

Conditional Formating Up/Down Status in a Table

I am utilizing a SQL Direct Query to pull my information into Power BI.  I am presenting the information required, however the customer would like to color code the results (red for down and yellow for unhealthy).  The dashboard is reporting both the down and unhealthy objects being reported in SCOM. 

2016-06-28_14-18-41.png

1.  Is this possible?

2.  Any other creative ideas on how color code these results?

 

Thanks,

 

Chad Myers

Power BI Noob

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@chadmyers

 

1. Is not possible applied conditional format to text only values.

 

2. A solution maybe is:

 

Create a calculated column with numbers according to your status:

 

Color = SWITCH(Tabla1[STATUS];"DOWN";1;"UNHEALTHY";2;3)

 

3: Next in a table:

 

Put Display name and Average of Color

 

4. With conditional format select colors to 1;2 and 3.

 

5. Adjust the width of colum to hide the headers.

 

Sin título.png

 




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@chadmyers

 

1. Is not possible applied conditional format to text only values.

 

2. A solution maybe is:

 

Create a calculated column with numbers according to your status:

 

Color = SWITCH(Tabla1[STATUS];"DOWN";1;"UNHEALTHY";2;3)

 

3: Next in a table:

 

Put Display name and Average of Color

 

4. With conditional format select colors to 1;2 and 3.

 

5. Adjust the width of colum to hide the headers.

 

Sin título.png

 




Lima - Peru
Sean
Community Champion
Community Champion

Speaking of conditional formatting

 

@Anonymous and @Vvelarde have you Voted for this Idea (it seems the PBI folks combined/consolidated 2 of the Ideas)

 

Hopefully that's a good sign - for implementation soon Smiley Happy

 

Anyway we REALLY need to be able to build KPIs inside the PBI Desktop (not build first in PowerPivot and then import)

 

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/6556753-ability-to-set-goals-and-thresholds-for-kpis

 

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.