Forum Discussion

Nfuentes86's avatar
Nfuentes86
Helper I
2 years ago

How to hide Zero Value in Matrix

 I'm trying to  (hide) the columns with (zero) values in the matrix below.  Is there an easy setting to do this or should I create a measure? Trying to hide the columns with 0 values. When I select the filters on this visual and select the columns i need to hide the 0 values, it disappears all my data. In this instance I used "Planned FTE" column for example.

3 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Nfuentes86 Well, you could write a measure for each one where if the value is 0, return blank, otherwise, display the number.

    • Nfuentes86's avatar
      Nfuentes86
      Helper I

      So would my measure be:

      Measure = IF([Planned FTE] = 0, BLANK(), [Planned FTE]) 

      • Greg_Deckler's avatar
        Greg_Deckler
        Community Champion

        Nfuentes86 Assuming that Planned FTE is a measure, yes. If it is a measure, you might be able to modify it to just return blank on its own, so a final check that if the return value is going to be 0, return blank instead.