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
Yaseen_Muhammad
Frequent Visitor

How to Expand two nested table column simultaneously in Power Query

Hi community expert, while struggling from 2-3 days how to expand two columns simultaneously containing nested table. any help will be appreciated. Attached are screenshot have table. I want to expand both columns same time to avoid duplication in data set.

Screenshot (69).png 

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

NewStep=Table.Combine(Table.ToList(PreviousStepName,each Table.FromColumns(Table.ToColumns(_{0})&Table.ToColumns(_{1}),Table.ColumnNames(_{0})&Table.ColumnNames(_{1}))))

View solution in original post

2 REPLIES 2
Yaseen_Muhammad
Frequent Visitor

Hi, the Solution work perfectly. if i get the code in piece wise I will learn a bit more. Thank you soo much.

wdx223_Daniel
Super User
Super User

NewStep=Table.Combine(Table.ToList(PreviousStepName,each Table.FromColumns(Table.ToColumns(_{0})&Table.ToColumns(_{1}),Table.ColumnNames(_{0})&Table.ColumnNames(_{1}))))

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.