This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |