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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
NilsPR
Frequent Visitor

Conditional formatting color for specif cells

Hello, 

 

I would like to color a specific cells for a specific row.

NilsPR_0-1711632125197.png

For example here I would like = if values is "coverage" and the results in the column 3/29/2024 is 0 then the backgroung color must to be black. 

Also I have maybe 30 differents column to color, how can I use this formula with all.

 

Thanls  

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NilsPR 

 

Here is my testing:

 

I restored some of your data.

vxuxinyimsft_0-1711703060059.png

 

Then I did something as follows.

 

Create a measure:

Measure = IF(MAX([Values]) = "Coverage" && MAX([3/29/2024]) = 0, "Black", BLANK())

 

vxuxinyimsft_2-1711703161017.png

 

 

vxuxinyimsft_1-1711703133062.png

 

Result:

vxuxinyimsft_3-1711703288455.png

 

Best Regards,
Yulia Xu

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @NilsPR 

 

Here is my testing:

 

I restored some of your data.

vxuxinyimsft_0-1711703060059.png

 

Then I did something as follows.

 

Create a measure:

Measure = IF(MAX([Values]) = "Coverage" && MAX([3/29/2024]) = 0, "Black", BLANK())

 

vxuxinyimsft_2-1711703161017.png

 

 

vxuxinyimsft_1-1711703133062.png

 

Result:

vxuxinyimsft_3-1711703288455.png

 

Best Regards,
Yulia Xu

 

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

Hello @Anonymous 

 

It's exactly what I wanted. Thanks a lot.

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.