Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
95 | |
86 | |
78 | |
66 |
User | Count |
---|---|
157 | |
125 | |
116 | |
111 | |
95 |