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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ksnnidhi
Regular Visitor

Automate Append Data in A table

I have requirement to weekly append dataset in a table and keep data to shown weekly basis report. My data set not have any date column to identify if data is week 1 or week 2 . Right now I am doing manually append and updating week .

 

Is this possible to schdule automate append with new data set and date get added for records of current week.

5 REPLIES 5
v-yalanwu-msft
Community Support
Community Support

Hi, @ksnnidhi ;

Is your problem solved?  If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @ksnnidhi ;

If you manually update every week, you only refresh in power bi .

AilsaTao_12-1660810038660.png

Or 

AilsaTao_13-1660810077738.png

Refresh a dataset created from a Power BI Desktop file - local - Power BI | Microsoft Docs
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

jbwtp
Memorable Member
Memorable Member

Hi @ksnnidhi,

 

In which format/source your data is stored? In this SQL tables, or csv/excel?

For anything stored in files (either locally or on OneDrive/Sharepoint) you should be able to retrieve a creation or modification date of the file and use it to resolve the week to which the data belong. Let me know if you need more detail/example for this soluiton.

 

Kind regards,

John

yes please provide me solution , My data is in excel . I want every week data get appended in BI table from excel file.

Hi @ksnnidhi,

 

for Excel files it would be something like this (conceptually, as I removed folder and file names):

let
    Source = Folder.Files("PathtoMyFolder"),
    #"Filtered Rows" = Table.SelectRows(Source, each ([Name] = "MyFileName.xlsx")),
    #"ImportBinary" = #"Filtered Rows"{[#"Folder Path"="PathtoMyFolder",Name="MyFileName.xlsx"]}[Content],
    #"Imported Excel Workbook" = Excel.Workbook(#"ImportBinary"),
    #"DataFromTable" = #"Imported Excel Workbook"{[Item="Data",Kind="Table"]}[Data],
    #"Added Custom" = Table.AddColumn(#"DataFromTable", "Custom", each #"Filtered Rows"{[#"Folder Path"="PathtoMyFolder",Name="MyFileName.xlsx"]}[Date created])
in
    #"Added Custom"

If you import multiple files (using Combine button), just change the query to not removing "Created Date" column (it ususlly does it before expanding the results leaving only "Name" column).

 

Kind regrads,

John 

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.

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.

Top Solution Authors