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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Refresh schedule last refresh issue

Hello guys,

I have scheduled refresh for my report dail 6:00 AM EST (US and Canada) time zone and in my script , I used below json format in my blank query
= Json.Document(Web.Contents("http://worldtimeapi.org/api/timezone/America/New_York")) 

after this I converted to table and close and apply 
It's 2:05PM in India local time and it' showing 3:35 am in my desktop report, which is correct
But when I publish it and scheduling refresh. it's showing just same indian local time zone for last refreshed at

If I refresh at 2:05PM IST timezone, according to my script inside PBI report last refreshed at it must show 3:35AM as per EST

how to achieve it?

Please reply back, Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

 

To show the date and time of the refresh we need to store the date and time of the time refresh runs in the model itself so we can show it in a visual.

One of the easiest options is to use Power Query to store the current date\time as a table. 
And you can use the DateTimeZone function to convert it to a particular timezone.

This link can help:

Show the refresh date\time in a Power BI report and dashboard - Kasper On BI

 

If the above one can't help you, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous 

 

To show the date and time of the refresh we need to store the date and time of the time refresh runs in the model itself so we can show it in a visual.

One of the easiest options is to use Power Query to store the current date\time as a table. 
And you can use the DateTimeZone function to convert it to a particular timezone.

This link can help:

Show the refresh date\time in a Power BI report and dashboard - Kasper On BI

 

If the above one can't help you, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors