cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
atul-patil
Resolver I
Resolver I

Convert UTC to Local Time Dynamically

Hi All,

I have designed a dashboard, which having the DateTime column as ReadyBy which is in UTC timezone, and I need to convert this to local timezone depend on the stores available in that timezone.

 

I have used following link for reference https://community.powerbi.com/t5/Power-Query/Convert-Date-Time-in-UTC-to-Local-Time-with-Daylight-sa...

 

It works for me(For specific timezone), but I having multiple timezones available in my database as below:

Timezone.png

It works for some stores but not works for other stores.

 

So Please help me to fix this.

1 ACCEPTED SOLUTION
ERD
Solution Supplier
Solution Supplier

Hello @atul-patil ,

If I understand your requirements correctly, there is a solution in this forum: Convert-UTC-to-client-time-zones.

You will need to use DateTimeZone.SwitchZone function.

View solution in original post

1 REPLY 1
ERD
Solution Supplier
Solution Supplier

Hello @atul-patil ,

If I understand your requirements correctly, there is a solution in this forum: Convert-UTC-to-client-time-zones.

You will need to use DateTimeZone.SwitchZone function.

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors