Forum Discussion

po's avatar
po
Post Prodigy
6 years ago
Solved

Incremental Refresh not working?

Hi,

 

Have set up incemental refresh on a table and first refresh completed and had sql similar to below.

 

Expecting subsequent incremental refreshes to be much quicker

 

When look at database (oracle) looks to have similar sql to initial load ....<1000

 

Is this expected?

 

Had been expecting to see somewhere in the sql the RangeStart and RangeEnd parameters as set to store last 2 years worth of data but update data in last 2 days hence would have expected to see >= '11-MAY-2020' AND < '13-MAY-2020' or similar

 


from <view> "$Table") "$Paged"
where rownum <= 1000
 
Thanks

Details

  • Hi there

    If you can have a look in Power Query where you configured the RangeStart and RangeEnd and see if you can view the Native Query when right clicking on the last step.

    If you can it should query fold (which will allow for incremental refreshing).

    If no query folding then it cannot complete the incremental refresh.

3 Replies

  • Hi there

    If you can have a look in Power Query where you configured the RangeStart and RangeEnd and see if you can view the Native Query when right clicking on the last step.

    If you can it should query fold (which will allow for incremental refreshing).

    If no query folding then it cannot complete the incremental refresh.
  • v-deddai1-msft's avatar
    v-deddai1-msft
    Community Support

    Hi po ,

     

    Incremental refresh is based on transferring the partition filter to the data source system to reduce the amount of refreshed data. Once the source data don't support query fold, the entire data is refreshed into power bi memory.

     

    SQL-based data sources (such as SQL, Oracle, and Teradata) can determine whether the incremental refresh can be performed normally by viewing the warning when configuring incremental refresh.

    Best Regards,

    Dedmon Dai

    • po's avatar
      po
      Post Prodigy

      Hi,

       

      Thanks for reply.

       

      Guess since neevr got query folding error when set it up oracle supports query folding.

       

      Thanks