Forum Discussion

khaledhikmat's avatar
khaledhikmat
Regular Visitor
9 years ago
Solved

Delete or reset a real-time dataset

Hello, given a real-time dataset created by a real-time stream (API or Stream Analytic), how do I reset it or clear its entries? I want to pump test data, build the visuals, reset the data and make it available for the real stuff. Thanks.

 

Regards

  • Hello!

     

    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!

7 Replies

  • alexsroussi's avatar
    alexsroussi
    Regular Visitor

    I think I found a trick for this one (if you're talking about streaming dataset). You can disable Historic data analysis and re-enable it.

    It looks like disabling clears the stored data.

    • Anonymous's avatar
      Anonymous
      Not applicable

      This worked for me. Turn off history, save, turn on history, save. Then refresh the displays.

      Thank you!

  • alexsroussi's avatar
    alexsroussi
    Regular Visitor

    I think I found a trick for this one (if you're talking about streaming dataset). You can disable Historic data analysis and re-enable it.

    It looks like disabling clears the stored data.

  • sirui_sun's avatar
    sirui_sun
    Icon for Microsoft Employee rankMicrosoft Employee

    Hello!

     

    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!

    • iDS's avatar
      iDS
      Regular Visitor

      Hi sirui_sun 

       

      I am not clear on the proposed solution.

      I have Stream analytics job that push streaming data into Power BI .

      I want to be able to reset \ clear the dashboard that feeds off the streaming dataset.

       

      Fyi The Dashboard report Event attendance and Sale info ... I want to be able to reset the dashboard the following day automatically .Appreciate your assistance 

       

       

      • AbrilE's avatar
        AbrilE
        New Member

        Hello, one question. Could you solve it? I need to do the same and I can't find a solution. Thank you