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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Ayushi_10
Regular Visitor

Power Bi service

I want  the latest updated time of my data in powerbi desktop . To achieve this I have written down "date.localnow()" . when i published my report to power-bi service it is showing different tiings . After research I got to know that power-bi service shows UTC timings But I am unable to find the solution . I have checked that power bi service data is in Ireland timezone .How can I achieve the same Indian  timings in power bi service as it is showing in Power bi desktop.

2 REPLIES 2
aj1973
Community Champion
Community Champion

Hi @Ayushi_10 

Use DateTime.FixedLocalNow() instead.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

ibarrau
Super User
Super User

Hi. If it's just one date, I have learn that is way easier to convert it to a different timezone adding or substracting hours than trying to change the default way of showing hours of power bi. You can easily change the date with a simple measure at the table running "date.localnow()". For example for UTC+1

DateTime Ireland UTC+1 = MAX(TableTypes[DateTime]) + 1/24

ibarrau_0-1703096593779.png

You can add or substract days for datetime, but if it's a decimal, then you can play with days. So 1/24 would be one hour.

I hope that helps to keep it simple.


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.