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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
evienguyen
Frequent Visitor

Refresh/delete hybrid streaming dataset

Hi,

 

I am building a report on Power BI service using the historical streaming dataset (hybrid), which uses PowerShell to retrieve the data from SQL server and upload to Power BI using the endpoint link provided. However, after each refresh, I only want to capture a certain amount of data and delete the old one (I don't want the dataset to be accumulated). Is there any way (specifically using PowerShell, but other tools should be fine) that I can refresh the hybrid streaming dataset programmatically, or delete the whole dataset and refresh with a new one? Thanks in advance!

1 REPLY 1
nickyvv
Most Valuable Professional
Most Valuable Professional

Hi @evienguyen

when you have a streaming dataset set to Hybrid this means the switch at Historic data analysis is set to On.

 image.png

If I want to clear my dataset I usually switch it to off, save it and edit it again and switch it back on. This way the data in the streaming dataset get's cleared and you start with a fresh (empty) dataset.

I don't know how to set this in PowerShell, but I assume you can do this also programattically.

 



Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.