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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

How to display date time with time zone in power bi report

I need to show date time with time zone in report  as 12/09/2022 15:31:44 UTC

Please help me to achieve it.

1 ACCEPTED SOLUTION

Power BI does that for you automatically, based on the users'  browser settings.

 

https://radacad.com/solving-dax-time-zone-issue-in-power-bi

View solution in original post

5 REPLIES 5

I have solved this problem through SQL query as we using  Power BI Desktop Advanced options's SQL statement and Power BI parameter to change time zone dynamically based on customer time zone.

We maintaining default UTC time zone in our back-end APP.

executionDate field from DB is only Datetime, not included timezone but have to show zone on report So implemented this flow.

 

select  executionDate  at time zone 'UTC' at time zone '"&setTimeZone&"' from TABLE

Through parameter we replacing setTimeZone and selected parameter zone displayin on report using measure as below

balajiratnala6_0-1671424198719.png

 

balajiratnala6_1-1671424519843.png

 

Thank you all for your replies.

 

We have to show different timezones based on customer timezone on report.

Power BI does that for you automatically, based on the users'  browser settings.

 

https://radacad.com/solving-dax-time-zone-issue-in-power-bi

THat's not a solution. And your answer is false . power bi doest not automatically (not natively) handles timezone based on browser settings. The link that you point to has 3 different static alternatives to convert timestamps more or less dynamically, but it has to be coded in dax or power query, so "automatically" is not the right word.

lbendlin
Super User
Super User

Power BI service works on UTC, so you get that for free.  You can also take a UTC datetimezone vaule, remove the timezone in Power Query, and then display the DateTime value with a label that states that the data is showing in UTC.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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