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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Kanwals
New Member

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]

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors