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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi guys,
I'm trying to create a unique field on my table in Power Query that concatenates a Tour Code and Departure Date, but I need the date to be displayed as a number.
I tried the Date.ToText method but cant seem to get it going.
= [Tour Code] & Date.ToText([Departure Date] , "#####") ???
Help
Solved! Go to Solution.
for your date use the value function to get the date as a number
you can then concat this with any text value from another colunm
Column = "TEST - " & VALUE('Table'[Column1])
| 01 January 2019 | TEST - 43466 |
| 01 February 2019 | TEST - 43497 |
| 01 March 2019 | TEST - 43525 |
Proud to be a Super User!
for your date use the value function to get the date as a number
you can then concat this with any text value from another colunm
Column = "TEST - " & VALUE('Table'[Column1])
| 01 January 2019 | TEST - 43466 |
| 01 February 2019 | TEST - 43497 |
| 01 March 2019 | TEST - 43525 |
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 69 | |
| 50 | |
| 46 |