Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
93 | |
85 | |
83 | |
74 | |
49 |
User | Count |
---|---|
142 | |
139 | |
110 | |
69 | |
55 |