Forum Discussion

byr10112's avatar
byr10112
Icon for Microsoft Employee rankMicrosoft Employee
4 years ago
Solved

Separating column with comma delimited values

I have a column in a table that can have multiple values merged into a single cell and the values separated by comma. I would like to convert each number in the cell into separate rows, with each row ideally repeating. Below is a sample table and my desired outcome:

Sample:

 

NameNumber
Jane1001, 1002
Jules1003
Adam1004, 1005,1006

 

Desired:

NameNumber
Jane1001
Jane1002
Jules1003
Adam1004
Adam1005
Adam1006

 

  • In Power Query you can select the column and use "split by delimiter", that will do exactly what you're looking for

1 Reply

  • In Power Query you can select the column and use "split by delimiter", that will do exactly what you're looking for