Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi All,
I'm hoping to get some help around replacing an excel workbook in Power BI online via PowerShell. Right now I can go into Power BI online and replace a current Excel workbook data source by going through these steps: Create -> Dataset -> Files -> Local File -> (select file) -> replace. I want to be able to do all this via PowerShell so the process can be automated.
I already have code to refresh data sources, so I have code to establish the connection to my workspace, just not to do this replace step.
For some context we already have a process in place that refreshes this excel file and creates a user friendly copy in our network drive. The way the graphs are all laid out is the way everyone prefers it and the data is in a very complex state so they're not looking to transition this report to Power BI, just display it there as an excel graph so it can live with all the other reports.
Please let me know if I can clarify anything, and thank you in advance for all your help!
hi, @Anonymous
According to my knowledge, I'm afraid it may difficult achieve in power bi for now.
For your case, I would suggest you create a support ticket in Power BI Support to get further help.
Best Regards,
Lin
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.
| User | Count |
|---|---|
| 20 | |
| 18 | |
| 11 | |
| 11 | |
| 7 |
| User | Count |
|---|---|
| 42 | |
| 38 | |
| 21 | |
| 21 | |
| 17 |