Forum Discussion

amitabhk1971's avatar
amitabhk1971
Helper I
9 years ago

historical data analysis in streaming API

Hi,

 

My power bi report is a snapshot of a moment. The dataset (queried from Azure SQL database) does not keep historical data. In that case is it possible to apply historical data analysis in streaming api in direct query mode? Will I be able to keep a datetime field in the api which is not there in the dataset and then use that to get historical data? Does Power BI Service keep historical data when the dataset itself is a snapshot of a moment

 

Thanks,

Amitabh

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    amitabhk1971 The historical data toggle on a streaming dataset only lives for a certain amount of time, so depending on how far back you need the data, this probably isn't what you want. Is there some reason why you don't just snapshot the data in your database?

      • v-huizhn-msft's avatar
        v-huizhn-msft
        Microsoft Employee

        Hi amitabhk1971,

        With a streaming dataset, data is also pushed into the Power BI service, with an important difference: Power BI only stores the data into a temporary cache, which quickly expires. And Data is temporarily stored for an hour to render visuals. Please see the capabilities and limitations of streaming dataset here.



        Best Regards,
        Angelia