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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
aar1
Regular Visitor

Create Hierarchy for Child tables

In my database (sharepoint list) each entry has a unique ID and each ID can have 0 or many 'attachments'. SharePoint lists store attachment URLs and I need the web urls to be clickable so users can see attachments. In my table I would like to create a hierarchy where you can expand the attachment column (like how 'date' can be expanded) to view the attachments. I have tried creating and adding hierarchies with ID and attachments but this does not work. Whenever an entry has multiple attachments duplicate rows are created instead of showing the expandable sub tables. For example in the image below 'AI Driller' is ID 9 and has 2 attachments. But the rows are shwoing twice. How can I work around this?

aar1_1-1686690069350.png

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @aar1 

If I understand you correctly you should use a matrix and just put your categories in their hierarchial order.
like in my example:

Ritaf1983_0-1686706512087.png

 

If there is something else 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @aar1 

If I understand you correctly you should use a matrix and just put your categories in their hierarchial order.
like in my example:

Ritaf1983_0-1686706512087.png

 

If there is something else 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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