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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
mathias1998
Frequent Visitor

Conditional formating of matrix table with empty cells

Hi, 

 

I have the following matrix table: 

 

mathias1998_0-1667314879038.png

 

Note that all the cells with zeros are actually empty. I managed to fill them out with zeros by: 

- Adding a +0 to the measure for the count of IDs

- Made three additional tables (Probability, Impact, and Magnitude), which contain all possible levels (e.g., 1-Rare, 2-Unlikely, 3-Moderate and so on) - and made a relationship between these and the table containing the IDs. 

- Clicked "Show Items With No Data" on both Probability and Impact. 

 

I would like the matrix table to have all the cells filled with colors according to this conditional formating: 

 

mathias1998_1-1667315271039.png

 

Any help here would be sincerely appreciated 😄 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @mathias1998,

It would help you to handle expanded records not really exist in your table if you use custom categories and use them on the matrix. (+0 does not work with expanding records that are not really included in the raw table)
You can use the current row and column values as parameters to look up and calculate values from the raw table.

For the conditional formatting parts, I'd like to suggest you also use DAX formulas to achieve these, these can also work with multiple-level aggregated values.

Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @mathias1998,

It would help you to handle expanded records not really exist in your table if you use custom categories and use them on the matrix. (+0 does not work with expanding records that are not really included in the raw table)
You can use the current row and column values as parameters to look up and calculate values from the raw table.

For the conditional formatting parts, I'd like to suggest you also use DAX formulas to achieve these, these can also work with multiple-level aggregated values.

Apply conditional table formatting in Power BI - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

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.

Top Solution Authors