Forum Discussion

MyPowerbi2020's avatar
MyPowerbi2020
Icon for Helper IV rankHelper IV
5 years ago

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