Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
In Power BI Service I am seeing the wrong time. It is currently 17:43 not 16:43, any ideas how I can get the correct time.
What can I change my code to, to get local time which is BST time not UTC time. And ideally this code would work all year round even when clocks go back or forward. #ukproblems
Thanks in advance.
Solved! Go to Solution.
Hi @JubJubBud ,
First of all, many thanks to for your very quick and effective replies.
Based on my learning, power bi service only support UTC datetime. It not contain any features can auto transform datetime based on location.
Please try the following methods as workaround:
1.Open the Power query editor and select add custom column.
2.Enter the M code.
Time.From(DateTimeZone.FixedUtcNow() - #duration(0,1,0,0))
3.The Local Time is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @JubJubBud ,
First of all, many thanks to for your very quick and effective replies.
Based on my learning, power bi service only support UTC datetime. It not contain any features can auto transform datetime based on location.
Please try the following methods as workaround:
1.Open the Power query editor and select add custom column.
2.Enter the M code.
Time.From(DateTimeZone.FixedUtcNow() - #duration(0,1,0,0))
3.The Local Time is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @JubJubBud
You could use this instead which should always start off with the time in UTC
Time.From(DateTimeZone.FixedUtcNow() - #duration(0,0,4,0)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
40 | |
27 | |
25 | |
23 | |
21 |
User | Count |
---|---|
56 | |
32 | |
23 | |
22 | |
20 |