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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-yetao1-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
Community Champion
Community Champion

@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 on linkedin

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.