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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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