Hello team. Given that ODBC is returning datetime ...
# suiteanalytics
s
Hello team. Given that ODBC is returning datetime in UTC timezone, has anyone solved this on aligning to current local time (such as Sydney +10) through Power BI ? What's your best approach?
m
NewDate = DateTimeZone.SwitchZone(Table[Date],10)
m
I don't think this will handle DST?
s
@Marc thanks much! However I am using DirectQuery which I believe this is not applicable?
@michoel yeah that one as well, i saw multiple formulas over the internet but all of them requires 'Standard Import' instead of DirectQuery to manipulate the table columns. i do wonder what's the best approach