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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.