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
kh0050
Frequent Visitor

Updating Main Dataset

I have Dataset A downloaded on 30th January 2022 but I have received further updates for that dataset (differential data). How can I combine all my differential data to my main Dataset A to get up to dated data? Also what if I have additional new rows in differential data how that will be added to Dataset A?

Dataset A

IDUser Name   Course Enrolled
211abd00Computing
214xyz00 
675ijk00Bioscience 

 

Differential Data

IDUser Name    Course Enrolled
214xyz00Physics
710lmn00Chemistry
1 ACCEPTED SOLUTION

@kh0050 ok, so you can put all your file Excel in the same folder and then do this:

 

let
Source = Folder.Files("PATH FILES EXCEL"),
#"Filtered Hidden Files1" = Table.SelectRows(Source, each [Attributes]?[Hidden]? <> true),
#"Invoke Custom Function1" = Table.AddColumn(#"Filtered Hidden Files1", "Transform File", each #"Transform File"([Content])),
#"Renamed Columns1" = Table.RenameColumns(#"Invoke Custom Function1", {"Name", "Source.Name"}),
#"Removed Other Columns1" = Table.SelectColumns(#"Renamed Columns1",{"Transform File"}),
#"Expanded Table Column1" = Table.ExpandTableColumn(#"Removed Other Columns1", "Transform File", Table.ColumnNames(#"Transform File"(#"Sample File")))

in

#"Expanded Table Column1"

 

What does this do? It takes all the Excel files in the folder and sends them to append creating a single table.

 

Try it!

B.

View solution in original post

4 REPLIES 4
JirkaZ
Solution Specialist
Solution Specialist

Your options and approach really depend on how the data is stored and if you have access to both the base dataset and the deltas. 

BeaBF
Super User
Super User

@kh0050 Hi!

 

Where do your datasets come from? Database or Excel? If Database you can send the two tables to append, then in case I'll show you how, if Excel there is a method to take all the Excel files inside the same folder.

 

Let me know,

B.

kh0050
Frequent Visitor

Thanks, All the data I have are in Excel downloaded from the database.

@kh0050 ok, so you can put all your file Excel in the same folder and then do this:

 

let
Source = Folder.Files("PATH FILES EXCEL"),
#"Filtered Hidden Files1" = Table.SelectRows(Source, each [Attributes]?[Hidden]? <> true),
#"Invoke Custom Function1" = Table.AddColumn(#"Filtered Hidden Files1", "Transform File", each #"Transform File"([Content])),
#"Renamed Columns1" = Table.RenameColumns(#"Invoke Custom Function1", {"Name", "Source.Name"}),
#"Removed Other Columns1" = Table.SelectColumns(#"Renamed Columns1",{"Transform File"}),
#"Expanded Table Column1" = Table.ExpandTableColumn(#"Removed Other Columns1", "Transform File", Table.ColumnNames(#"Transform File"(#"Sample File")))

in

#"Expanded Table Column1"

 

What does this do? It takes all the Excel files in the folder and sends them to append creating a single table.

 

Try it!

B.

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.