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
BBrak
Advocate I
Advocate I

Conditional formatting (using DAX?) for cells without data in a Matrix visual

hi all, looking for some help on a problem in Power BI, presumably using DAX.

Suppose I have the following simplified data:

BBrak_0-1708361258640.png

 


In Power BI, I would like to display the table above in a Matrix, with the fields Location, Section and Row placed as Rows, the field Position as Columns and the field Item as Values. Item should not be aggregated but taken 'First' instead. In addition, I would like to (create a DAX measure?) to apply conditional formatting on the background to indicate if no value in the Column Item exists for the combination of fields on Rows (Location, Section and Row) and Columns (Position).

The Matrix would then (conceptually) look something like this:

BBrak_1-1708361328693.png


How can I achieve this? I have tried writing DAX formulas (e.g. 'NoValueIndicator' below) but all my attempts return no value.

BBrak_2-1708361567331.png

Any ideas?

 

Kind regards and many thanks, Bastiaan



1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@BBrak You could create a measure Measure = MIN('Table'[Item]) and then a conditional format run that if it is blank, return a color.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@BBrak You could create a measure Measure = MIN('Table'[Item]) and then a conditional format run that if it is blank, return a color.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler that was way easier than I realised. Only needed a minor tweak to get it to work for my actual use case. 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