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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Super User
Super User

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
Super User
Super User

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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