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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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