Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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))
User | Count |
---|---|
98 | |
89 | |
82 | |
71 | |
67 |
User | Count |
---|---|
114 | |
103 | |
100 | |
72 | |
64 |