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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
v-xuxinyi-msft
Community Support
Community Support

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
v-xuxinyi-msft
Community Support
Community Support

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 @v-xuxinyi-msft 

 

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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