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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
biswad
Advocate I
Advocate I

Using conditional format to color the column

Hi, 

I'm trying to use conditional format to color the "Indicator" column on my dashboard. Basically, I have Branch and Role data If a Branch "London" Contains all three roles that are "Treasurer", "Secretary" and "President" it should be in "Green"

If Branch "Brighton" contains only two of the main role then it should be "Yellow" and If Branch contains only one of the 3 key roles it should be red, for example, branch "Kent".  Could anyone help me with how can I achieve this in Power BI, please?

 

biswad_0-1651574968959.png

 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. If you already have the column indicator you can just use it. If you want to build it, you can create a measure like this in order to use it as format condition of a Cell element:

ibarrau_0-1651581193301.png

 

Be sure to use Hexadecimal instead of words to show a nicer color than the regular one that PowerBi will render with the literal text.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

Hi. If you already have the column indicator you can just use it. If you want to build it, you can create a measure like this in order to use it as format condition of a Cell element:

ibarrau_0-1651581193301.png

 

Be sure to use Hexadecimal instead of words to show a nicer color than the regular one that PowerBi will render with the literal text.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Thank you so much brother, it was really very helpful. Much appriciated your help. Learned alot from this example. 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.