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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Merge 2 excel files

Hi All,

 

Just checking here if some one has video or could guide me how to merge latest created file and latest updated file dynamically in power query? 

3 REPLIES 3
Attaluri
Frequent Visitor

Yes, Power Query can pick up all files available in source folder 

Based on time stamp of the file using power query or DAX we can create flag/columns to differentiate old and new files. 

Do let me know if you have further questions.

Regards,

Srini
[email protected]

Attaluri
Frequent Visitor

Hi,


There are multiple ways to do this. 

1. If both files are available in same folder. You can import both files mentioning source as folder path. 
2. If both files are different folder. You can import both files seperately and use Append queries feature in Power BI desktop. 

Please do let me know incase of any questions.


Regards,

Srini

[email protected]

Anonymous
Not applicable

Hello Srini,

 

Would that work if we have multiple excel files and every week if I add new file and dynamically power query should pick new file as new created and file which was new a week before should be then latest updated? Please note that newly created excel file will be worked on daily basis after power query run. 

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.