Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I need to concatenate these three columns, separated by delimiter. Sometimes there will only be one ID, sometimes two, and sometimes three. If there is no ID, it's a null value.
Here is what I'm doing to attempt this:
= Table.AddColumn(#"Renamed Columns", "Text.Combine", each Text.Combine({[Employee ID],[Employee ID2],[Employee ID3]},"; "))
but as you can see, I'm getting errors in the newly created column. Here's the error:
Once the combined column is created, I'll need to create duplicate row for each line with a ID2 and ID3.
Please help. This seemed like it should be straight-foward but, apparently not.
Thanks!!!
Solved! Go to Solution.
Hi @pbrainard
The IDs are Number, not Text, try
= Table.AddColumn(#"Renamed Columns", "Text.Combine", each Text.Combine((List.Transform({[Employee ID],[Employee ID2],[Employee ID3]}, Text.From), "; "))
Needed another ) after Text.From, but works like a charm. Thank you!!!
Hi @pbrainard
The IDs are Number, not Text, try
= Table.AddColumn(#"Renamed Columns", "Text.Combine", each Text.Combine((List.Transform({[Employee ID],[Employee ID2],[Employee ID3]}, Text.From), "; "))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 70 | |
| 45 | |
| 43 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 196 | |
| 125 | |
| 105 | |
| 77 | |
| 56 |