March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
i have some problems with UTC time.
Data in my reports is 2 hours less than real.
I tryed to convert hour to my timezone and it works but by this way i have hour +offest.
Example:
27/05/2019 07.00 to 27/05/2019 07.00 +02:00
Is it possibile to convert 27/05/2019 07.00 to 27/05/2019 09.00?
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
Enter into Query Editor, Transform -> Date/Time/TimeZone. For example like picture below:
Best Regards,
Amy
Hi @Anonymous ,
Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi @Anonymous ,
You can use DateTimeZone.SwitchZone function to get your offset date time in Query Editor.
DateTimeZone.SwitchZone(DateTime.AddZone([DateKey], 0),+2 ,0)
For example following steps in the picture below.
You can learn more: https://community.powerbi.com/t5/Desktop/Convert-UTC-to-client-time-zones/td-p/56337
https://community.powerbi.com/t5/Desktop/Convert-UTC-to-local-time-zone-in-DAX/td-p/43328
https://radacad.com/solving-dax-time-zone-issue-in-power-bi
Please understand that this link is provided “AS IS” with no warranties or guarantees of content changes, and confers no rights.
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi,
it returns "Error"
Hi @Anonymous ,
Maybe you have missed the comma before "+2".
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes it works but it returns time +offset (01/05/2019 04.00.00 +2.00).
I don't want this. I want 01/05/2019 06.00.00 .
@v-xicai wrote:Hi @Anonymous ,
Maybe you have missed the comma before "+2".
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Yes, we have successfully added the time Zone information into the time. Then you can select NewTime column, navigate to Transform tab, choose data type and select Date/Time/TimeZone. For example like picture below:
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Doesn't work
It doesn't add offset to hour.
I choose "Date/Hour"
Hi @Anonymous ,
Enter into Query Editor, Transform -> Date/Time/TimeZone. For example like picture below:
Best Regards,
Amy
Yes but this only format column.
I dont want hour +offset. i only want hour.
Not 06/10/2019 11.20.00 +2.00 but i want 06/10/2019 13.20.00 .
Do you understand?
Hi @Anonymous ,
Don't forget to click "Close &Apply".
Best Regards,
Amy
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
90 | |
90 | |
66 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |