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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
hxkresl
Advocate III
Advocate III

relative time / offset conversion from UTC time zone

using this formula to return time back to UTC, as CRM query is converting CRM data to local pacific time, but I need it in original UTC time;

 

Column = UTC_issuestarttime = mc_alerts[mc_issuestarttime] + (-7/24)

 

Is this best way to take date value and subtract 7 hours so that time is back in PST time zone?  

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@hxkresl

 

To substract hours, your approach is already the easist way in DAX. You can also try Power Query approach like:

 

=DateTimeZone.SwitchZone(DateTimeZone.LocalNow(),-7,0)

Please refer to articles below:

 

Solving DAX Time Zone Issue in Power BI

Daylight Saving Time And Time Zones In M

 

Regards,

View solution in original post

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@hxkresl

 

To substract hours, your approach is already the easist way in DAX. You can also try Power Query approach like:

 

=DateTimeZone.SwitchZone(DateTimeZone.LocalNow(),-7,0)

Please refer to articles below:

 

Solving DAX Time Zone Issue in Power BI

Daylight Saving Time And Time Zones In M

 

Regards,

Anonymous
Not applicable

@v-sihou-msft/ Simon Hou

Is it planned to provide an implementation by Microsoft for

Power BI service to evaluate the browser time zone settings?

 

Best would be if your new implementation would do:

  1. Get the current time zone setting from the connected browser
  2. Allow (via dedicated datetime methods) filtering and display to use that request specific user time zone

= Users from Australia see the same reports as those from Europa as those from the USA.
But: Those from Australia with the appropriate Australian time zone, those from Europe ...

 

Example:

The very same record would show 01:40 May 1, 2018 in Australia
But: 17:40 April 30, 2108 in Switzerland

And: 11:40 April 30, 2018 in New York

 

Regards, David

@v-sihou-msft

 

Please provide links discussing showing how to convert UTC times in report to whatever timezone the user opening the report is in.

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.