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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
cinsbox
Frequent Visitor

How to split one column into multiple columns based upon values?

Hi I would like to see if anyone can help with splitting one column into multiple columns using Power Query.  

 

I am pulling a list of customers using from SQL database, the list looks like the following: 

 

Customer IDNameType
123Name1Addressee
123Name1Salutation

234

Name2Addressee
234Name2Salutation

 

Is there any way to restructure the data using Power Query so the data looks like this? 

Customer IDNameType1Type2
123Name1AddresseeSalutation
234Name2AddresseeSalutation

 

I would like how to rid of two rows per customers and also split the text value under Type into separate columns.  Any help is appreciated!  Thank you. 

 

1 ACCEPTED SOLUTION
wdx223_Daniel
Community Champion
Community Champion

1 REPLY 1
wdx223_Daniel
Community Champion
Community Champion

wdx223_Daniel_0-1637213959147.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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