The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Experts,
I have created a custom column by adding the below formula to get today's date in the column.
Solved! Go to Solution.
Use Date.From(DateTimeZone.FixedLocalNow()) instead.
You can force the TZ to a specific zone using:
DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), -7) (this is UTC -7 hrs)
See this page for all of the ways you can work with timezones in PQ.
DateTimeZone functions - PowerQuery M | Microsoft Docs
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingUse Date.From(DateTimeZone.FixedLocalNow()) instead.
You can force the TZ to a specific zone using:
DateTimeZone.SwitchZone(DateTimeZone.LocalNow(), -7) (this is UTC -7 hrs)
See this page for all of the ways you can work with timezones in PQ.
DateTimeZone functions - PowerQuery M | Microsoft Docs
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingGlad I could help @Anonymous !
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting