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,
How do I adjust below measure if UTC is in datetime year to fraction (3) format? Need this as a measure as using directquery and unable to do any transformations to dataset
i.e UTC format: 2021-01-02T00:03:05.1330000
@UTC to Local as measure
Solved! Go to Solution.
Your "UTC" timestamp isn't UTC. It's missing the Z at the end. Sloppy.
There is no need to do this as a measure. Use a calculated column
let
Source = Table.FromRows({{"2021-01-02T00:03:05.1330000"}},{"UTC"}),
#"Added Custom" = Table.AddColumn(Source, "timestamp", each DateTime.FromText([UTC]))
in
#"Added Custom"
Your "UTC" timestamp isn't UTC. It's missing the Z at the end. Sloppy.
There is no need to do this as a measure. Use a calculated column
let
Source = Table.FromRows({{"2021-01-02T00:03:05.1330000"}},{"UTC"}),
#"Added Custom" = Table.AddColumn(Source, "timestamp", each DateTime.FromText([UTC]))
in
#"Added Custom"
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 |
---|---|
114 | |
100 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |