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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Earl40
Helper I
Helper I

possible to create a table to store dates as a log and adds new dates from dataas they come

Hi Im not sure if this is possible but I have a data set that will be downloaded from a system weekly. It has a column for "date downloaded" which shows the date the data was exported from the system to excel. I was trying to figure out a way to create a table that will only store the date shown in the download and then as the main  data is refreshed in PowerBi take the new date and add it to the seperate date table as a new row without losing the previous dates.

 

Illustrative example: I downloaded the data to use in my PowerBi dashboard on 3/1/24 and the date downloaded column shows 3/1/24. The new date table grabs that date 3/1/24 and adds it. The next week 3/8/24  i take a new download, refresh PowerBi. The new table will take the date 3/8/24 and add it as a new row undeneath the 3/1/24 date. 

 

Thank you in advance

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Earl40 ,

Regarding your question, I think it can be done by using Power query. Open power query in power bi desktop and create a blank query.

vzhouwenmsft_0-1710408503328.png


I am assuming that you are using excel to store the data using the following sample code:

let        
Source = Excel.Workbook(File.Contents("C:\Users\YourUsername\Desktop\YourFile.xlsx"), null, true),     
Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],      
SelectColumns = Table.SelectColumns(Sheet1_Sheet, {"Columnname"}) 
in    
 SelectColumns

Replace "Sheet1" with the table where you store the download date columns, replace "Columnname" with the download date column. The above code returns a new table containing only the download date column, and each refresh refreshes the data in the download date column.

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Earl40 ,

Regarding your question, I think it can be done by using Power query. Open power query in power bi desktop and create a blank query.

vzhouwenmsft_0-1710408503328.png


I am assuming that you are using excel to store the data using the following sample code:

let        
Source = Excel.Workbook(File.Contents("C:\Users\YourUsername\Desktop\YourFile.xlsx"), null, true),     
Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],      
SelectColumns = Table.SelectColumns(Sheet1_Sheet, {"Columnname"}) 
in    
 SelectColumns

Replace "Sheet1" with the table where you store the download date columns, replace "Columnname" with the download date column. The above code returns a new table containing only the download date column, and each refresh refreshes the data in the download date column.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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