cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Zakaria_1980
Helper V
Helper V

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
Super User
Super User

@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
Super User
Super User

@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
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!