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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors