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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Add color per value in a column

Hi, i want to add a different color for the whole table based on different values on the values with C1H.  So al lines with C1H014874 should have a different color then the lines with C1H016378.

 

Can someone help me?

 

Rgieltjes_Meyn_0-1677489534664.png

 

1 ACCEPTED SOLUTION

@Anonymous ,

try this in conditional formatting

Arul_0-1677490564121.png

Arul_1-1677490591139.png

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

9 REPLIES 9
Arul
Super User
Super User

@Anonymous ,

try to create the condition in measure and apply conditional formatting.

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


@Anonymous ,

try this in conditional formatting

Arul_0-1677490564121.png

Arul_1-1677490591139.png

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Anonymous
Not applicable

Hi arul,

Thanks for your answer. You have done it manually now by filling in the right C1H number. I want that al different C1H numbers have differrent colors, or at least that it becomes very clear when a new C1H number starts.

@Anonymous ,

Are you expecting this?

Arul_1-1677495308452.png

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Anonymous
Not applicable

No, all my numbers start with C1H but when a next c1h number starts i want to it to be very clear that is is a other number!

 

 

@Anonymous ,

Do you want to show different background colors for all the rows?

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Anonymous
Not applicable

@Arul 

 

I want to have a different background color when a new C1H number starts!

@Anonymous ,

How can we identify whether that particular C1H number starts new? Is there any flag column available?

Thank,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Anonymous
Not applicable

For example, first number is C1H10014 that number has 4 lines. Then C1H14874 starts. I want the 4 lines with C1H10014 to have a different color than the C1H14874 bc it is another value

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.