Forum Discussion
h0ttamale
9 years agoFrequent Visitor
How do I duplicate rows based on cell contents (cell contains semi-colon seperated data)?
How do I duplicate rows based on the content of Column B. I'd like a separate row for each "Person" in the cell? This is my starting table (I can't extract the data in any other way): ...
- 9 years ago
HI h0ttamale,
This could be done by Query Editor (M Language) as below steps:
- Click Edit Queries
- In Query Editor, Choose Add Column tab -> Choose Custom Column
- Name for new column: NewContact with formula: Text.Split([Contact],";")
- In the top right of NewContact column, choose Expand to new rows
If this works for you please accept it as solution and also like to give KUDOS.
Best regards
Tri Nguyen
tringuyenminh92
9 years agoMemorable Member
HI h0ttamale,
This could be done by Query Editor (M Language) as below steps:
- Click Edit Queries
- In Query Editor, Choose Add Column tab -> Choose Custom Column
- Name for new column: NewContact with formula: Text.Split([Contact],";")
- In the top right of NewContact column, choose Expand to new rows
If this works for you please accept it as solution and also like to give KUDOS.
Best regards
Tri Nguyen
h0ttamale
9 years agoFrequent Visitor
Awesome! Thanks! Works perfectly.