Forum Discussion
Justas4478
Post Prodigy
2 years agoConverting timestamp to date and time using measure
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 usin...
- 2 years ago
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))
az38
Community Champion
2 years agoHi 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))- Justas44782 years ago
Post Prodigy
az38 It worked thank you.