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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
rayd_250592
Regular Visitor

Streaming Dataset with Historical Analysis

Hi,

 

I have a streaming dataset with historical data turned on which I understands creates a streaming dataset and push dataset.

 

How can I access this Push dataset via the REST API?

 

Thank you!

10 REPLIES 10
lbendlin
Super User
Super User

access it to do what?  Push data in, or pull data out for historical analysis?

 

https://docs.microsoft.com/en-us/power-bi/connect-data/service-real-time-streaming

Pull the most recent item out was the plan but the streaming API doesn't match the format https://api.powerbi.com/v1.0/myorg/datasets/%7bdatasetId%7d/tables/%7btableName%7d/rows mentioned in the docs.

You can't do historical analysis with pure streaming datasets - they simply have no history.  Your streaming dataset needs to be a hybrid (push) version .

 

Why would you need to pull the most recent item out?  You just pushed it in so you should know what it is?

Based on https://community.powerbi.com/t5/Service/History-Data-Analysis-option-in-Streaming-dataset/td-p/1569..., by enabling historical data analysis, does it not become a push data set?

 

I'm pushing a value from an App to the API which works fine. The idea is to pull the mist recent value down to another instance of the app.

In Power BI Desktop you can connect to your dataset (Data source Power BI Datasets).

 

But be aware that this is extremely inefficient as you are looking at a year's worth of data just to filter that down to the latest timestamp for information that you already have.

 

Push your value from the app to the other instance of the app directly.

How can I connect to the data set via the Push REST API? I've no problems connecting via the power BI App.

 

By enabling historical data analysis, it should be a push dataset accessible via https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets but its not.

The push REST API does just that - push.

For data retrieval you need to use an XMLA client.

You are correct.  I am able to see my data tables with that API call. 

 

Is your streaming dataset in your personal workspace or in a regular workspace?

amitchandak
Super User
Super User

@rayd_250592 , refer if this can help

https://community.powerbi.com/t5/Service/History-Data-Analysis-option-in-Streaming-dataset/td-p/1569...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.