Forum Discussion

JanV's avatar
JanV
Resolver I
9 years ago
Solved

Data Refresh API vs. Scheduled refresh

Was wondering what the limits are of the Data Refresh API's. Can it make your non-directquery datasets more real-time by initiating a refresh avery 15 minutes (maybe even 5 minutes) whilst the best you can get out of scheduled refreshes is hourly? 


  • JanV wrote:

    Was wondering what the limits are of the Data Refresh API's. Can it make your non-directquery datasets more real-time by initiating a refresh avery 15 minutes (maybe even 5 minutes) whilst the best you can get out of scheduled refreshes is hourly? 


    JanV

    Based on my test, the Data Refresh API shares the same limitation(8 times per day) with "Schedule Refresh" with a Pro license. After exceeding the limitation, the API call would get the response saying "Number of refresh requests in last 24 hours exceeded limit". If you'd like to lift this limitation, you may have to buy a premium license(48 times per day), see this link).  

     

    For real time purpose, check Real-time streaming in Power BI

     

    By the way, see a C# demo for the API.

5 Replies

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    JanV wrote:

    Was wondering what the limits are of the Data Refresh API's. Can it make your non-directquery datasets more real-time by initiating a refresh avery 15 minutes (maybe even 5 minutes) whilst the best you can get out of scheduled refreshes is hourly? 


    JanV

    Based on my test, the Data Refresh API shares the same limitation(8 times per day) with "Schedule Refresh" with a Pro license. After exceeding the limitation, the API call would get the response saying "Number of refresh requests in last 24 hours exceeded limit". If you'd like to lift this limitation, you may have to buy a premium license(48 times per day), see this link).  

     

    For real time purpose, check Real-time streaming in Power BI

     

    By the way, see a C# demo for the API.

    • JanV's avatar
      JanV
      Resolver I

      Thx Eric, exactly what I was looking for!

    • iAm3G's avatar
      iAm3G
      Frequent Visitor

      Hi Eric,

       

      I have created a scheduled task to mimic a refresh of a report based on a streaming dataset. I post around 200 rows every minute which is about 12,000 rows per hour.

       

      I'm on a PRO License free trial at the moment but I'm still getting this error: 

       

      You are over your rows per hour limit for this dataset. To push more rows per hour, upgrade your account to Power BI Pro or retry your push later

       Any insight would be greatly appreciated.

       

      Thanks in advance,

      iAm3G

    • guru08's avatar
      guru08
      Regular Visitor

      Hi I was using the power shell script that you suggested to refresh. But when I schedule it in Windows Scheduler the script is not refreshing any data. Could you please help me in understanding how scheduling the script works