Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a column with text like this:
Kristof, I., Apud, G.R., Aredes-Fernández, P.
or
Wacker, M., Keiser, J., Hirt, B., Stahl, M., Scharfenberger-Schmeer, M., Durner, D.
or
Yem, O., Petrie, P.R.
and I'd like to change this text to
I. Kristof, G. R. Apud, P. Aredes-Fernández
M. Wacker, J. Keiser, B. Hirt, M. Stahl, M. Scharfenberger-Schmeer, D. Durner
O. Yem, P. R. Petrie
i.e. the first names appear first, followed by the surname. The authors' names are separated by ",".
Thank you.
Solved! Go to Solution.
Hi, @sara11
Text.Combine(
List.Transform(
List.Split(Text.Split([Your_Column],", "),2),
each Text.Combine(List.Reverse(_)," ")),
", ")
Stéphane
Hi, @sara11
Text.Combine(
List.Transform(
List.Split(Text.Split([Your_Column],", "),2),
each Text.Combine(List.Reverse(_)," ")),
", ")
Stéphane
Thank you! It worked!
User | Count |
---|---|
11 | |
8 | |
5 | |
5 | |
4 |
User | Count |
---|---|
16 | |
14 | |
8 | |
6 | |
6 |