Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
JustinDoh1
Post Prodigy
Post Prodigy

Trying to modify "Date.AddDays(Date.From(DateTime.FixedLocalNow()),0)" to fixed time zone

I am having an issue with this particular Power Query line:

 

= Date.AddDays(Date.From(DateTime.FixedLocalNow()),0)

 

The issue happens when my PowerBI report gets refreshed after UTC time zone.

 

I am located in PST time zone, and whenever I publish my PBI report to PBI Service after UTC's time is 12 AM (next day),

date becomes UTC's today's date.

 

Is there way to modify this line to fix to PST time zone minus 1 day in date format like 11/15/2022?

 

Thank you

1 REPLY 1
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @JustinDoh1 - it sounds like you tenant settings are conflicting with local requirements, so can I suggest that you use the DateTimeZone.FixedUtcNow - PowerQuery M | Microsoft Learn and DateTimeZone.SwitchZone - PowerQuery M | Microsoft Learn functions in the query.  Base the time on UTC datetime regardless of tenant settings and then convert to PST. 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors