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
Hi, I am trying to convert timestamp that is wholenumber in to date and time or at least date.
I tried to createa measure using FORMAT but it failed.
I can't use calculated column because I am using company data model.
anyone would be able to help with this measure?
Thanks.
Solved! Go to Solution.
Hi @Justas4478
try
Measure =
var _d = MIN(Table[LatestTimestamp])
RETURN
DATE(LEFT(_d, 4), MID(_d, 5, 2), MID(_d, 7, 2)) & " " & TIME(MID(_d, 9, 2), MID(_d, 11, 2), RIGHT(_d, 2))
Hi @Justas4478
try
Measure =
var _d = MIN(Table[LatestTimestamp])
RETURN
DATE(LEFT(_d, 4), MID(_d, 5, 2), MID(_d, 7, 2)) & " " & TIME(MID(_d, 9, 2), MID(_d, 11, 2), RIGHT(_d, 2))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 60 | |
| 44 | |
| 40 | |
| 37 | |
| 21 |
| User | Count |
|---|---|
| 178 | |
| 127 | |
| 116 | |
| 77 | |
| 54 |