cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MyPowerbi2020
Helper IV
Helper IV

Showing the last report refresh time in PST using TIME function

Dear Team,

I am deveoping reports based on IST zone & used the below code while populting the last refresh time.

 

let

Source = #table(type table[Date Last Refreshed=datetime], {{DateTime.LocalNow()}})

in

Source

 

Since this was returning the time in IST , I used this in DAX .

 

Query1[Date Last Refreshed] - TIME(12,30,0)
 
Please let me know if you see any issues in this method.
 
Thanks.
3 REPLIES 3
Ailsa-msft
Community Support
Community Support

Hi @MyPowerbi2020 

Try a measure like this :

Last Refreshed Date = UTCNOW() + TIME(8,0,0)

 

Best Regards

Community Support Team _ Ailsa Tao

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

negi007
Super User
Super User

@MyPowerbi2020 you can use a formula like below. You can increase/decrease time from UTC time

 

Current_Time_PST = UTCNOW()-TIME(00,30,00)



Did I answer your question? Mark my post as a solution!
Appreciate your Kudos


Proud to be a Super User!

Follow me here


amitchandak
Super User
Super User

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!