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

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

Reply
ganeshharan81
Frequent Visitor

Hide show columns dynamically in TABLE

I have two grids,Clicking on one i make the second one visible .The 1st grid is a summary grid and the second one is detail grid.

 

Based on certain conditions i need to make the detail grid show columns dynamically.

 

Clicking on summary grid on top i need the detail to show 4 columns in a certain scenario and 6 columns in another scenerio.

 

Is this possible without using buttons or bookmark logic,just using dax and other features of power bi?

6 REPLIES 6
lbendlin
Super User
Super User

Not really, apart from BLANK()ing out the extra two columns via a measure, or using measures as columns.

can the headers also be made hidden dynamically using measures along with values,if yes ,can you provide some examples.

Hi @ganeshharan81 ,

 

For Table visual, we can't make columns hided dynamically with DAX. It can be implemented in Matrix. (Reference: https://www.youtube.com/watch?v=6jeSIRpjv0M)

 

I think you could create two Table visuals and use bookmarks to make them shown or hided. For more information, please reference the blog and the video:

https://powerbi.tips/2019/08/dynamic-visuals-using-buttons/

https://www.youtube.com/watch?v=_Afcj8mT5_Q

 

 

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

Hi @ganeshharan81 ,

 

Does it make sense? If yes, please accept the helpful answer as a solution.  More people who have the same request will benefit from this thread.

 

 

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

no, all you can do is print the headers as white text on white background (via conditional formatting). You can't make them disappear.

 

 

can you give me some examples,can you expand on that?

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.

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