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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Clout
Helper III
Helper III

Hide table columns by sclicer

Hello guys,

 

I have multiple columns in my visualized table. But some columns are in a definet time completely blank, so I want to choose only the columns where I have data by a slicer.

 

So If I choose "GesN and GesP" the table should get smaller and show only the columns which I choosed. This should be possible for every column. So If I choose "CSB, BSB5 and GesN", the table show me only these.

Unbenannt.PNG

 

This would be the optimal outcome:

 

Unbenannt2.PNG

 

Would this be possible by a DAX Function?

 

Thanks in advance!

 

EDIT: My columns in the table are measures, not from the data model.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Clout , for this one, you have unpivoted the column or check if calculation groups can help

 

Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M
https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Clout , for this one, you have unpivoted the column or check if calculation groups can help

 

Dynamically change chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M
https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Okay thank your for your answer @amitchandak ,

 

so this is only possible if I have these columns in my data model and its not possible with measures?

@Clout , Possible with column/ which can become measure with aggregation. 

 

calculation group is a good option if it can work for your measure 

https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Allright thank you, 

I did now my few calculations in Power Query and unpivoted them to slice them.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors