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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Phil_Seamark
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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