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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors