Forum Discussion

Koritala's avatar
Koritala
Post Patron
8 months ago
Solved

Redshift views incremental refresh possibility in power bi

Hi All, I just want to check is this possible to implement the Incremental refresh on Redshift Views in power bi?   If anyone has worked can you please share the sample M code for anyone of the ta...
  • v-sshirivolu's avatar
    v-sshirivolu
    8 months ago

    Hi Koritala ,

    The reason View Native Query is still greyed out is because your Redshift view is a bit complex, and Power BI is not able to fold the query automatically, this is very common with views. To get incremental refresh working, you can follow a simple approach that is switch your table to Import mode (or Hybrid if you have Premium), then create a materialized view in Redshift with the same logic. After that, connect to this materialized view directly from the navigator without using any custom SQL. Once you apply the RangeStart/RangeEnd filter step in Power Query, the 'View Native Query' option will become active and incremental refresh will start working properly.

    Materialized views behave just like normal tables in Power BI and almost always fix this issue.