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

Append expanded records to existing table

Hello, 

 

Been really struggling to get this working, hope you can help 🙂

 

So I have a table pulled from an API, this table includes details such as company name, company id, email and an order ID. This table also includes a column that contains the detail of the order ID (such as product ordered, quanitity etc) this column is named 'OrderRows'. 

 

As you can see from the screenshot below inside the 'orderrows' column contains a record and within that record contains a record for each line item row. 

 

WillBatesHydro_0-1650622121550.png

 

As you can see from the formula below I have transformed all the records in the 'Orderrows' into one table. 

 

WillBatesHydro_0-1650622926543.png

 

 

What I need to do though is retain the information brought through in the first screenshot to each row of the second screenshot. (its the same query)

 

Any help at all? 🙂

 

Thank you 

 

Will

 

1 ACCEPTED SOLUTION

Worked it out - for anyone who is struggling; 

 

I inserted a custom column and used the below

Record.ToTable(Record.Combine(#"Removed Columns4"[orderRows]))

 

Ended up with my desired output;

WillBatesHydro_0-1650625126881.png

 

View solution in original post

1 REPLY 1

Worked it out - for anyone who is struggling; 

 

I inserted a custom column and used the below

Record.ToTable(Record.Combine(#"Removed Columns4"[orderRows]))

 

Ended up with my desired output;

WillBatesHydro_0-1650625126881.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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