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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors