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
Hi,
Is there any way I can programatically delete / reset the data within a streaming dataset which currently has historic data anlysis enabled?
I can push data just fine to the streaming dataset using a url similar to:
But there's nothing documented on deleting all rows from a streaming dataset. Via the ui, the only solution that I have found to reset a streaming dataset's data is to turn "historical data analysis" off and then on again (see here Solved: Delete or reset a real-time dataset - Microsoft Power BI Community).
I've found the following but doesn't seem applicable to streaming datasets:
Push Datasets - Datasets DeleteRows - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Any help would be appreciated - it doesn't seem right that the only Api endpoint for streaming datasets is to push data. Some mechanis to purge / delete all data from a streaming dataset would make streaming datasets infinitely more useful.
Thanks
Hi, @Anonymous
Please checking out the below post about deleting data from the Push dataset programmatically using Power BI Rest API’s and PowerShell.
How to delete data from push streaming dataset
Best Regards,
Community Support Team _ Eason
This is very useful, thank you! Unfortunately powershell isn't an option due to org constraints (privileges, architecture). Would you be able to provide an example of a restful API call which can achieve the same results (still specifically for push streaming data sets with historic analysis toggled on)? My thoughts are that if it's possible via powershell, then it should be possible via curl or python requests.
This seems to be a popular request amongs other users, in youtube video comments on the matter, and other threads. I would appreciate any help - it seems that users have been after this functionality for at least a few years. Thanks again.
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.