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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
u4us1923
Frequent Visitor

cvs file modified date and last refreshed date

I imported almost 70 csv to the PowerQuery. After imported I modified those csv files in PowerQuery and have a big table from those csv files. Every week those csv files are change.

First of all every week I move those csv files to under the relevant folders and then update all data with the "Refresh All" button. But, I want to make sure that all the data is updated. Checking one by one is really a waste of time. I want to see the date of the relevant cvs files and the last refresh date to a column. is it possible?

 

Thank you in advanced .. 

1 ACCEPTED SOLUTION
marcosvin
Resolver II
Resolver II

Hello!

 

To search for information from the CSV file such as the modification date, you can create a query in Power Query by selecting the option "Get Data" > "From Folder" and select the desired CSV file. This will display a table with the columns of information for each file (as shown in the image below).

 

csv_import_folder.PNG

 

To create a column from the last Power BI refresh, you can create a calculated column using the DateTime.LocalNow() function.

 

References:

 

https://community.fabric.microsoft.com/t5/Desktop/Create-a-date-custom-column-by-file-date/m-p/10638... https://gorilla.bi/power-query/last-refresh-datetime/

View solution in original post

1 REPLY 1
marcosvin
Resolver II
Resolver II

Hello!

 

To search for information from the CSV file such as the modification date, you can create a query in Power Query by selecting the option "Get Data" > "From Folder" and select the desired CSV file. This will display a table with the columns of information for each file (as shown in the image below).

 

csv_import_folder.PNG

 

To create a column from the last Power BI refresh, you can create a calculated column using the DateTime.LocalNow() function.

 

References:

 

https://community.fabric.microsoft.com/t5/Desktop/Create-a-date-custom-column-by-file-date/m-p/10638... https://gorilla.bi/power-query/last-refresh-datetime/

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.