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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Zakaria_1980
Post Patron
Post Patron

Conditional formatting issue

dears,

 

how can I change the colors for this column in my report whenever it changes from one to another (in the below case very Urgent in color1 and Urgent in Color 2 and whenevr i have another status it will be in another color that i'll choose myself for them all)?

 

Zakaria_1980_0-1643195737376.png

thx

1 ACCEPTED SOLUTION
SivaMani
Resident Rockstar
Resident Rockstar

@Zakaria_1980 , a Better way to do it is to create a measure 'Status Color' and add the coloring logic. Refer below, 

  • Create measure

Status Color = SWITCH(SELECTEDVALUE(Orders[Ship Mode]),"Standard Class", "Red","Same Day","Green","Yellow")Add this measure to conditional formating

  • Add this measure to Conditional Formating  
SivaMani_3-1643201484778.png

 

SivaMani_2-1643201415145.png

 

 

View solution in original post

1 REPLY 1
SivaMani
Resident Rockstar
Resident Rockstar

@Zakaria_1980 , a Better way to do it is to create a measure 'Status Color' and add the coloring logic. Refer below, 

  • Create measure

Status Color = SWITCH(SELECTEDVALUE(Orders[Ship Mode]),"Standard Class", "Red","Same Day","Green","Yellow")Add this measure to conditional formating

  • Add this measure to Conditional Formating  
SivaMani_3-1643201484778.png

 

SivaMani_2-1643201415145.png

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors