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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Remove a column from Table visual when data for all years displayed are blank

Hi PowerBi Community,

 

I have a table visualization that looks similar to this:

YearColumn 1Column 2Column 3Column 4
201510500
201610510
201710520


The years are dynamic and filtered via  slicer - so this table might be expanded to show data from 2009-2019, etc.

My question is that if all values are blank or 0, then I do not want that column to be displayed in a visual. So the expected results for the above example would be:

YearColumn 1Column 2Column 3
20151050
20161051
20171052


Can anyone point me in the correct direction for how this could be handled?

Thank you!

1 REPLY 1
pjjfmarques
Frequent Visitor

HI @Anonymous,

 

You can't hide a column from a table view that you specifically indicated to be present.

 

Se other possible workarounds in the following post:

https://community.powerbi.com/t5/Desktop/How-can-i-hide-Column-measure-in-a-Table/td-p/32400

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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