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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
nicanica07
Frequent Visitor

PBI table visualization with unique Order IDs from one table and concatenated Items from another tab

Hello, I am transitioning a super simple table visualization from Tableau to PBI and have a lot of challenges. In Tablea it's a few seconds drag and drop and voila - I have the end result, whereas I have not been able to achieve the same result with PBI even after spending a few hours.

I have two tables. Table1 with unique Order IDs and other relevant data and Table 2 with Order IDs from Table 1, addresses and items. One order can have multiple shipment addresses. And each address can have multiple items. It's 1 to many relationship: 1 Order ID from Table1 can have multiple Order IDs in Table2.

 

Table1

 

nicanica07_0-1742590509506.png

 

Table2

nicanica07_2-1742590652669.png

 

My desired PBI visualization with unique Order IDs and other columns from Table 1 with concatenated Address, Items and Prices from Table 2 grouped by Address :

 

nicanica07_4-1742590681451.png

 

How can I achieve this in PBI? Thank you!

1 ACCEPTED SOLUTION
sevenhills
Super User
Super User

You cannot build nested layouts like that with Power BI Desktop (at least not with the default visuals).

Paginated reports can do your layout as-is, https://learn.microsoft.com/en-us/power-bi/paginated-reports/report-design/nested-data-regions-repor....

It is not easy as Tableau, agreed!

Similar layout but not same: Out of curiousity, did you try this using matrix ?
1) Assuming you have the relation between header and detail table using order id.

2) Drag a matrix layout and add all the fields in the Rows (and not in columns and not in values)

sevenhills_4-1742601713846.png

 

 

3) Adjust the settings:

sevenhills_1-1742601622710.png

 

sevenhills_2-1742601642129.png

 

4) Expand to the lowest level:  sevenhills_5-1742601738619.png in the matrix visual: sevenhills_3-1742601668700.png

 

Sample output

sevenhills_0-1742601554256.png

 

and adjust the borders per your needs:

sevenhills_6-1742601982419.png

 


Hope it helps!

View solution in original post

3 REPLIES 3
sevenhills
Super User
Super User

You cannot build nested layouts like that with Power BI Desktop (at least not with the default visuals).

Paginated reports can do your layout as-is, https://learn.microsoft.com/en-us/power-bi/paginated-reports/report-design/nested-data-regions-repor....

It is not easy as Tableau, agreed!

Similar layout but not same: Out of curiousity, did you try this using matrix ?
1) Assuming you have the relation between header and detail table using order id.

2) Drag a matrix layout and add all the fields in the Rows (and not in columns and not in values)

sevenhills_4-1742601713846.png

 

 

3) Adjust the settings:

sevenhills_1-1742601622710.png

 

sevenhills_2-1742601642129.png

 

4) Expand to the lowest level:  sevenhills_5-1742601738619.png in the matrix visual: sevenhills_3-1742601668700.png

 

Sample output

sevenhills_0-1742601554256.png

 

and adjust the borders per your needs:

sevenhills_6-1742601982419.png

 


Hope it helps!

Thank you so much for taking the time to respond. I had built a matrix but didn't know you could remove the row header icons "+/-". I have also used CONCATENATEX to merge values but this is much faster. Really appreciate the help!

Glad to hear that it helped. Thank you. 

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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