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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Matrix visual with several measures: how to not show lines with no data / zero's

I have created a matrix with several measures.

When all measures are '0' I do not want the line the appear in the matrix.

Is this possible and if so how?

 

matrix1.PNG

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @Anonymous

 

One option (albeit perhaps a bit cumbersome) would be to create a measure like this:

 

 

ShowMeasure = IF ( [Measure_1] =0  &&
                   [Measure_2] =0  && 
                   [Measure_3] =0  &&
                   // All the other measures here, same pattern
                   [Measure_N] =0,
                   1)                                  

 and then place the measure in the visual level filters of your visual and select 'Show items when value:' is not 1                       

View solution in original post

2 REPLIES 2
AlB
Community Champion
Community Champion

Hi @Anonymous

 

One option (albeit perhaps a bit cumbersome) would be to create a measure like this:

 

 

ShowMeasure = IF ( [Measure_1] =0  &&
                   [Measure_2] =0  && 
                   [Measure_3] =0  &&
                   // All the other measures here, same pattern
                   [Measure_N] =0,
                   1)                                  

 and then place the measure in the visual level filters of your visual and select 'Show items when value:' is not 1                       

Anonymous
Not applicable

HI @AlB thanks indeed that should work. So probably no easy setting for this is possible in the visual itself but solve it via measures.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Kudoed Authors