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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.