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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
agis07
Regular Visitor

Hide/show columns for hierarchy tables

I have a hierarchical table with 2 levels. On the parent level I have 10 relevant columns to show (one row per shipment). On the child level, I have listed the SKUs in each shipment. For the lower level, I have the same 10 columns plus another 3 columns related to the SKU information. Since each shipment could be multi SKU, showing the 3 additional columns would be messy. So I want to hide them and only unhide when the second level is expanded. Is there any options available?

2 REPLIES 2
Mahesh0016
Super User
Super User

@agis07 Please Share your end output and dataset!!THANK YOU!!

Hello, below is the output file. 


The first table is with expanding document number 1013994406. The "display" column is added by power BI. I would like to unhidde (show) the column "product category" when at least one document is expanded. When no documents are expanded, the second table below would be shown. 

 

agis07_0-1684744578701.png

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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