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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
cgkas
Helper V
Helper V

Help splitting values with commas

Hello to all,

 

I have a table like this in Excel

H1H2H3
CARD2
AIRPLANED46
TRAINE3,57,1
TRUCKH7
BIKER923,11

 

How can use power query in order to split down the values in Header3 (H3) that have commas to get an output like this:

 

HH2H3
CarD2
AirplaneD46
TrainE3
TrainE57
TrainE1
TruckH7
BikeR923
BikeR11

 

Thanks for any help.

1 ACCEPTED SOLUTION
KNP
Super User
Super User

See below gif.

Take note of the 'Advanced Options', choose Rows.

 

KNP_0-1645468873368.gif

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

View solution in original post

2 REPLIES 2
cgkas
Helper V
Helper V

@KNP Thanks so much for your help. in Power Query within excel is quite different but it works perfect.

KNP
Super User
Super User

See below gif.

Take note of the 'Advanced Options', choose Rows.

 

KNP_0-1645468873368.gif

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors