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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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