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
How do you combine two columns to produce a composite key:
I have a Date column and an Employee ID column and i'd like to format the date into YYYYMMDD
and the final result would then be YYYYMMDDXXXXXX where XXXXXX is the Employee ID.
Solved! Go to Solution.
Usually you can merge columns but I don't think that will give the right format.
So I would suggest to add a custom column with formula:
Date.ToText([Date],"yyyyMMdd")&Text.From([Employee ID])
Text.From is not required if Employee ID is text already, but you forgot to mention.
Usually you can merge columns but I don't think that will give the right format.
So I would suggest to add a custom column with formula:
Date.ToText([Date],"yyyyMMdd")&Text.From([Employee ID])
Text.From is not required if Employee ID is text already, but you forgot to mention.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |