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
ryancboldt
New Member

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?

 

ryancboldt_0-1669041582169.png

 

Thanks

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @ryancboldt ,

 

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

vtangjiemsft_0-1669359149395.png

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.

vtangjiemsft_1-1669360519052.png

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. 

 

 

View solution in original post

2 REPLIES 2
v-tangjie-msft
Community Support
Community Support

Hi @ryancboldt ,

 

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

vtangjiemsft_0-1669359149395.png

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.

vtangjiemsft_1-1669360519052.png

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. 

 

 

amitchandak
Super User
Super User

@ryancboldt , 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.

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.