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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.