Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am trying to replace the contents of a Dataset bound to a Report. Need to do it entirely via API.
For example, initially it has X tables, with some rows.
I want to change it to Y tables, all with different names, and different row data.
1) Delete the Dataset, then create a new one, and rebind it to the Report.
I do not see the option to Delete a Dataset via API....how come?
2) The workaround I was thinking of was DeleteRows and UpdateTableSchema. But if (in the above example), Y>X, I don't see an option to AddTables to a Dataset, or UpdateSchema for a Dataset.
Anyone know how a "Swap out" for a Dataset can be accomplished via API? This is quite a roadblock.
Thanks.
Solved! Go to Solution.
Yes, there is no Delete DataSet API available.
The current available method to update the DataSet Schema is:
Use the Import API to overwirte the existing one:
Import API
https://msdn.microsoft.com/en-us/library/mt243840.aspx
Regards,
Michael
Hi,
I use REST API for streaming delete rows in RealTimeData. The problem is wich token authorization is dynamic.
Exist another path for this without token dynamic? I want use Power Automate to do streaming delete rows.
Thank´s for help.
Yes, there is no Delete DataSet API available.
The current available method to update the DataSet Schema is:
Use the Import API to overwirte the existing one:
Import API
https://msdn.microsoft.com/en-us/library/mt243840.aspx
Regards,
Michael
There is delete Dataset by Dataset ID API method available.
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/deletedatasetbyidingroup
interesting - haven't tried it, but is this new? Don't think it was available earlier
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |