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
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
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.