Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have pulled data from a source that has a few columns with times in UTC. In the query editor, I created a few corresponding custom column to convert it to the Pacific time zone (-7:00 UTC).
An example of the code I used:
= Table.AddColumn(#"Added Custom", "Modified On - Date Time (PST)", each DateTimeZone.SwitchZone([#"Modified On - Date Time (UTC)"],-7))
I then see the following in the query editor -- the times are correct.
I think to myself "yeah, this looks right", and I go on my merry way. I noticed, though, that Power BI is not remembering this time shift. When I look at the Data view of this dataset, I see
The times are the same, as if they were in the same timezone! Why is this happening?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.