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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Collin8579
New Member

Color Formatting Of Blank Cells Within A Matrix Table

Hello,
I have a matrix table that I have broken up with two sets of headers "Milestone bucket" and if it is Managed/Non Managed

Collin8579_0-1687806810566.png

I have been able to build in conditional formatting with a measure,

Formatting Measure =

IF(

    ISBLANK(MAX('Datatable'[App])),

    "#D2A9D2",

    IF(

        MAX('Datatable'[Bucket]) = "Pre CM2" || MAX('Datatable'[Bucket]) = "JM29-NTP",

        "#D2A9D2",

        "#99DFF9"

    )

)

 

But that only gets me color on cells that are populated
I've tried isblank, I've tried normal formatting within the table, etc
I've tried google, chatgpt, and local resources at my company and nobody seems to be able to help me create a way to get alternating colors on a matrix visual like that - 
If I change the conditional formatting to a rule instead of a field I Can highlight blank values

Collin8579_1-1687807102274.png


But I can't seem to find a way to do both at once or highlight the blanks the same color as the main columns if they are verigated
I have tried adding +0 to the formulas/columns but that doesn't help

Any help would be appreciated
Collin

1 REPLY 1
amitchandak
Super User
Super User

@Collin8579 , Blank value only works well with the gradient or with rule conditional formatting with the  blank option

amitchandak_0-1687835084066.png

 

As the text formatting is supported in rule-based it should work for you

Rule Based Conditional formatting based on string fields

https://youtu.be/Fq0JneLDbGs

Use +0 measure in visual and true try formatting of that can help

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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