Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Phil_Seamark
Microsoft Employee
Microsoft Employee

Clear data from Streaming API dataset

I have a streaming dataset creating via the web service that I would like to clear from time to time via an API call.

 

This would be the equivalent to this on the normal API.

 

I know I can manually switch the dataset to historic and back (or vice versa) but was hoping for an API POST solution.


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

2 REPLIES 2
Robinator
Frequent Visitor

Eric_Zhang
Microsoft Employee
Microsoft Employee

@Phil_Seamark

I was doing the some test on this, and the result was just as the Power BI staff Sun states in this thread.

 If you've created a real-time dataset and you didn't check the "Enable historic data analysis" option, then there is no need to manually clear its entries, since Power BI is not storing anything.

 

If you've created a real-time dataset either by checking the "historic data analysis" option, or via an Azure Stream Analytics output, you can delete its rows using our REST API. You can start with our documentation here, let us know if you have any questions!

Also, as per the online documentation,

There is currently no way to clear data from a streaming dataset, though the data will clear itself after an hour.

 

I think you can submit an idea at Power BI Ideas and vote it up.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.