Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
My Power BI dashboard retrieves data from a Excel file stored in a SharePoint document library. It is the only file stored there and it is updated weekly with a different file name. How can I set up Power Query so it will retrieve that file? I want to set up a Power Automate to run the data refresh when the file is replaced with a new file.
Solved! Go to Solution.
Hello - you could use a workflow like the one below with Power Automate. Note, with a set-up like the one you have described, there are a lot of things that can go wrong, for example, what if there is ever more than one file in the folder? If a file is added with a different name, what process is removing the previous file, etc. That being said, here is a suggested flow, which includes some error preventing steps.
Hello - you could use a workflow like the one below with Power Automate. Note, with a set-up like the one you have described, there are a lot of things that can go wrong, for example, what if there is ever more than one file in the folder? If a file is added with a different name, what process is removing the previous file, etc. That being said, here is a suggested flow, which includes some error preventing steps.
You're welcome! If my response answered your question please click "Accept as Solution". Thanks!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.