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
Hector78
Helper II
Helper II

can I know at what time the data has been refreshed?

I would like to know the time at the data has been refreshed.

Is it possible?

thank you in advance.

1 ACCEPTED SOLUTION

Hi @Hector78,

 

I have added a refresh time to my reports.  There are probably other ways to do it but here is mine.  It is a simple two step process.

 

First I create a custom column in my calendar query using the following code:

 

=DateTime.Time(DateTime.LocalNow()) & DateTime.Date(DateTime.LocalNow())

query.PNG

Now, whenever you refresh that query you will get a column with the current time.  Then, in my report I create a DAX calculated measure that uses this column.

 

Last Refresh Date = "Last Refreshed On: " & FIRSTDATE('Calendar'[RefreshDate]) & " (EST)"

And in the report it looks like this:

report.PNG

View solution in original post

3 REPLIES 3
comish4lif
Helper II
Helper II

Do you have a date time stamp in any of the tables?

 

I have a card in one of my visuals showing the MAX of Job Completion Time from one of my tables.

 

Or, are you asking to know when the user hit the "refresh" command in Power BI?

No I have not.

I am loading an excel file

Hi @Hector78,

 

I have added a refresh time to my reports.  There are probably other ways to do it but here is mine.  It is a simple two step process.

 

First I create a custom column in my calendar query using the following code:

 

=DateTime.Time(DateTime.LocalNow()) & DateTime.Date(DateTime.LocalNow())

query.PNG

Now, whenever you refresh that query you will get a column with the current time.  Then, in my report I create a DAX calculated measure that uses this column.

 

Last Refresh Date = "Last Refreshed On: " & FIRSTDATE('Calendar'[RefreshDate]) & " (EST)"

And in the report it looks like this:

report.PNG

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.