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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Peekay_Num
Helper I
Helper I

Date of Data - Last Refresh

I use DATE OF LAST REFRESH displayed on my App.  The app is set to Auto Refresh every day.  However the data is refreshed weekly.  So the date of the last data may be Feb 25th, the date of the last refresh is going to show March 1st.  That's not what my users want.  They want to know the last ETL date.  What would be the way to capture that?

7 REPLIES 7
Peekay_Num
Helper I
Helper I

It's Excel and I'm thinking that's the only way to go.  Also seems that value will be manually maintained?

cbschley
Helper III
Helper III

I suggest adding a new column of data to your source data that displays the last time your dataset was refresh (not when the report was refreshed). So if your data has data up through 2/25, then add a column that references that date. Make it a separate column so that the entire column says 2/25.

This was the thought I initially had.  How does that date populate?  Using a TODAY() function?

No I wouldn't recommend using a TODAY() function. Since that would update to today's date everytime you refresh your report, which you mentioned happens daily. 

Instead, find an existing date column in your dataset that you think represents how fresh your dataset is, and use a MAXA() function based on that column. That will give you the largest date based on that column. Let's say today is 3/1/2023, but you have a sales_date column where the most recent date is 2/25/2023. You could do something like this:

max_sales_date = MAXA(sales_date)


documentation on this function: https://learn.microsoft.com/en-us/dax/maxa-function-dax

Unfortunately there are no other date fields.  Only categories and currency

If your source provides no way to guess it's timestamp, then your only option is to use timestamp of the ETL operation. However, this is not what you want.

 

Therefore you need to add a timestamp field to your data source and use it in your report.

What is your data source? Is it coming from a Database, or is it a local Excel/CSV file?

If its a Database, you'll want to work with your developers to have some sort of date field that you can work with. Having some sort of date field in a proper fact table is fairly standard practice. 

If it is an Excel/CSV doc, you can that column of data yourself in the file, and then refresh your datasource in Power BI. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors