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
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
Super User
Super User

1 REPLY 1
wdx223_Daniel
Super User
Super User

wdx223_Daniel_0-1637213959147.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.