Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I'd like to join a date column (mm/dd/yyy) with a time (hour) column. The time column "Delivery Hour", as seen below, is a whole number 1 through 24.
I've read that I can simply add these columns after converting "Delivery Hour" to a "time" type, but when I convert this, each number, 1 through 24 turns into 12:00 am.
Here is the sample data,
Thanks in advance!
Delivery Date | Delivery Hour |
01/03/2019 | 1 |
01/03/2019 | 2 |
01/03/2019 | 3 |
01/03/2019 | 4 |
01/03/2019 | 6 |
01/03/2019 | 7 |
01/03/2019 | 8 |
01/03/2019 | 9 |
01/03/2019 | 10 |
01/03/2019 | 11 |
01/03/2019 | 12 |
01/03/2019 | 13 |
01/03/2019 | 14 |
Solved! Go to Solution.
Hi,
Try this calculated column formula and format it as dd/mm/yyyy hh:mm
=Data[Delivery Date]+TIME(Data[Delivery Hour],0,0)
Hope this helps.
Hi,
Try this calculated column formula and format it as dd/mm/yyyy hh:mm
=Data[Delivery Date]+TIME(Data[Delivery Hour],0,0)
Hope this helps.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |