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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Syndicate_Admin
Administrator
Administrator

Change Table

 

Hello, everyone!!

How can i change table A to table B with Power Query???

1 REPLY 1
AlienSx
Super User
Super User

Hello, PQ21

let
    Source = TableA,
    group = Table.Group(Source, {"Column1"}, {{"columns", each _[Column2]}}),
    z = Table.FromColumns(group[columns], group[Column1])
in
    z

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.