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 moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
If I have a report saved in the PowerBI Service, is there a way to use PowerBI's REST API to fetch that report and change that report's data source to use a local dataset (CSV File) instead without having to open PowerBI Desktop application?
I know I can fetch Reports from the service to render it in my own application. However I don't want it to always display the same data it has, but display the data of my choosing from a local dataset in the computer.
@JohnTheDoe did you achieve this ? I'm trying to figure out the same thing to be able to upload a report with a Test datasource and once tested&verified change its datasource to a production one.
Hi @JohnTheDoe,
Since the data source is the CSV files, datasets/updatedatasources can't help here. Maybe you can try datasets/updateparameters. Please also refer to the #restrictions.
BTW, if you use the On-premises gateway, you should add all the data source first.
Best Regards,
Dale
@v-jiascu-msft Thanks for the reply!
I'll give datasets/updateparameters a try then. I'm also considering trying out reports/Rebind as well.
Will update if anything comes up.
Thanks!
Hi @JohnTheDoe,
Did you achieve it?
Best Regards,
Dale
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |