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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Rgieltjes_Meyn
Helper III
Helper III

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

@Rgieltjes_Meyn ,

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

@Rgieltjes_Meyn ,

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


@Rgieltjes_Meyn ,

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


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.

@Rgieltjes_Meyn ,

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


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!

 

 

@Rgieltjes_Meyn ,

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


@Arul 

 

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

@Rgieltjes_Meyn ,

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


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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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