Forum Discussion
AW31
Helper I
6 years agoConvert Date Column from UTC to Central Time
I am trying to add a date column in Power Query that takes the current date column coming in from DirectQuery (comes in on UTC time) and changes it to Central Time (-5 hours from UTC). I searched sim...
- 6 years ago
hi, AW31
For your case, I would suggest you create a new calculated column in power bi by DAX as below:
Central Time = 'Table'[Post Time]- TIME(5,0,0)
Regards,Lin
v-lili6-msft
Community Support
6 years agohi, AW31
For your case, I would suggest you create a new calculated column in power bi by DAX as below:
Central Time = 'Table'[Post Time]- TIME(5,0,0)
Regards,
Lin
AW31
Helper I
6 years agoI can do this in Power BI as a field, but can it be done in Power Query? Basically I'd like to have it as a column there so that it can be used as a slicer with less loading time. As only a created column in the fields section, it is taking longer to populate every row of data because of the calcuation.