Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Suppress (Hide) Zero Value in Matrix

Hello,

 

I'm trying to suppress (hide) the columns with blank (zero) values in the matrix below.  Is there an easy setting to do this or should I create a measure?

 

 

Thanks

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Anonymous ,

     

    Do you mean want to hide blank columns in matrix? If so, it may be helpful to refer to this post and another post.

    I'm afraid that there is no elegant way to implement it. Anyway, you can use the following method as a workaround.

    1. Toggle off the Word wrap option under the Column headers tab

    2. Adjust the size of the Values field(s) with all blank values you need to hide small enough to be invisible manually.

     

    If you want to hide gaps in the matrix hierarchy, it may be helpful to refer to this post and another post.

    If you want to hide 0 in the matrix data, you can use a visual level filter.In the visual's visual-level filter, set the measure to not empty and not 0.

    Please refer to the following document for more information.

    Add a filter to a report in Power BI - Power BI | Microsoft Learn

    www.reddit.com

     

    Best Regards,

    Neeko Tang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

     

     

2 Replies

  • Anonymous , You can try visual level filter.

     

    If this does not help
    Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    Do you mean want to hide blank columns in matrix? If so, it may be helpful to refer to this post and another post.

    I'm afraid that there is no elegant way to implement it. Anyway, you can use the following method as a workaround.

    1. Toggle off the Word wrap option under the Column headers tab

    2. Adjust the size of the Values field(s) with all blank values you need to hide small enough to be invisible manually.

     

    If you want to hide gaps in the matrix hierarchy, it may be helpful to refer to this post and another post.

    If you want to hide 0 in the matrix data, you can use a visual level filter.In the visual's visual-level filter, set the measure to not empty and not 0.

    Please refer to the following document for more information.

    Add a filter to a report in Power BI - Power BI | Microsoft Learn

    www.reddit.com

     

    Best Regards,

    Neeko Tang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.