Forum Discussion
Concatenate Alphabetically
- Anonymous9 years ago
Firstly, after your split your column, replace the space in your data with semicolon.
Secondly, merge the two columns using “Merge Columns” feature.
Thirdly, create a custom column using the following formula.
=Text.Combine(List.Sort(Text.Split(Text.From([Merged]), ";"),Order.Ascending),";")
For more details, please review this PBIX file.
Regards,
Firstly, after your split your column, replace the space in your data with semicolon.
Secondly, merge the two columns using “Merge Columns” feature.
Thirdly, create a custom column using the following formula.
=Text.Combine(List.Sort(Text.Split(Text.From([Merged]), ";"),Order.Ascending),";")
For more details, please review this PBIX file.
Regards,
Anonymous thank you! To clarify, The result I am looking for is that both columns show as "Jane Doe; John Doe;" so the steps provided actually go a bit further than necessary for my use case. I was able to use the third formula you provided to achieve the result I desired. Thanks again!