Forum Discussion
historical data analysis in streaming API
Hi Angelia,
The article that you referred to says that if you use Push to make the report real time then the historical data is stored permanently.
And it also says that you can push data by applying three methods:
There are three primary ways you can push data into a dataset:
- Using the Power BI REST APIs
- Using the Streaming Dataset UI
- Using Azure Stream Analytics
When Historic data analysis is disabled (it is disabled by default), you create a streaming dataset as described earlier in this article. When Historic data analysis is enabled, the dataset created becomes both a streaming dataset and a push dataset. This is equivalent to using the Power BI REST APIs to create a dataset with its defaultMode set to pushStreaming, as described earlier in this article.
Doesn't this mean that if I use the Streaming API and turn the Historical data analysis on then data will be stored permanently?
Hi amitabhk1971,
Yes, when you create a dataset with its defaultMode, the prerequiite is that the defaultMode value is set to pushStreaming, the dataset is both a push and streaming dataset. The data will be updated and stored in the push dataset. However, any streaming tiles will temporarily fail.
Best Regards,
Angelia
- amitabhk19719 years agoHelper I
Hi Angelia,
Can you please let me know how to set the default mode to PushStreaming?
Thanks,
Amitabh
- v-huizhn-msft9 years agoMicrosoft Employee
Hi amitabhk1971,
I have consulted with others and post the update if there is any response. Thanks for undestanding.
Best Regards,
Angelia