Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.