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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
yakovlol
Resolver I
Resolver I

Highlight BLANK values in a matrix (Conditional formatting)

Hello! I have a matrix with a hierarchy Product Category - Product -Subproduct

and I have sales by day and weekday (Sunday - Monday).

I need to higlight in yelow blank values only on days Monday - Friday (Saturday and Sunday should stay without changes)

 

I tried this measure

IF (ISBLANK([Total Sales)  && WEEKDAY( MAX( 'Calendar table'[Date] ), 2 ) <= 6,
    "#FFFF00","")

and use conditional formatting for Field values but it doesn't work my blank values are not colored at all.

 

Please help me with this problem 

 

yakovlol_0-1685543689672.png

 

2 REPLIES 2
vicky_
Super User
Super User

vicky__1-1685574544930.png

 

Could you try something like this? So use the gradient rules, but have the gradient be white for all values that aren't empty. And then use the specific colour option for formatting empty values. One downside for this is that you will not get alternating row colours.

Hello @vicky_ Thanks for your answer, I tried it, but this approach doesn't work as it fully needed it also colored the empty values on Saturday and Sunday. But I need that empty values to be colored only on Monday - Friday. So I have two conditions here, the weekday should be Mon-Fri and the values should be empty 

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.