Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
anilthapa11
Frequent Visitor

Incremental refresh - Staging tables

I bet this is common to everyone who is doing incremental refresh in Power BI and I could not find a better solution. 

I have two tables (A, B) in my relational warehouse which I import them to the PBI desktop. Then I merge those tables to a new query (C) using LEFT OUTER JOIN removing some columns from A and B that I do not need. All my visualizations will be based on Table C now.

 

I set up the incremental refresh on all three tables (A,B,C) and pushed it to Service. The questions that I have:

  • Can I remove those two staging tables (A, B) (From my research it is NO as they are referenced by the Merged Query). I hid them from the report view but is this the best we could do ? 
  • Since Table C is now the main table, do I still need to have incremental refresh turned on in A and B ? Can I just do the incremental refresh on C ? If yes, do I have to bring in both date columns from A and B to implement Incremental refresh on C?

I just wanted to have an efficient solution and not just a thing that works. 

 

2 ACCEPTED SOLUTIONS

Hi @anilthapa11 ,

 

check out this blog post.

https://community.powerbi.com/t5/Community-Blog/Incremental-Refresh-with-Subqueries/ba-p/1003337

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


View solution in original post

v-yingjl
Community Support
Community Support

Hi @anilthapa11 ,

  1. Since Table C is referenced from Table A and Table B, both of them cannot be deleted as your previous said. If you don't want to show them in Fields pane, hide table may be a best way to do this.
  2. About set incremental refresh on Table C, I think you can just configure incremental refresh on Table C without setting Table A and Table B at the same time bacause Table C is now a single independent table and the parameters RangStart and RangEnd are public to use in the same report in power queries. You should use these two parameters and filter the date column on Table C configure incremental referesh on it and it should work fine. For more information about parameters in incremental inrefresh, please refer the microsoft document: https://docs.microsoft.com/en-us/power-bi/service-premium-incremental-refresh

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yingjl
Community Support
Community Support

Hi @anilthapa11 ,

  1. Since Table C is referenced from Table A and Table B, both of them cannot be deleted as your previous said. If you don't want to show them in Fields pane, hide table may be a best way to do this.
  2. About set incremental refresh on Table C, I think you can just configure incremental refresh on Table C without setting Table A and Table B at the same time bacause Table C is now a single independent table and the parameters RangStart and RangEnd are public to use in the same report in power queries. You should use these two parameters and filter the date column on Table C configure incremental referesh on it and it should work fine. For more information about parameters in incremental inrefresh, please refer the microsoft document: https://docs.microsoft.com/en-us/power-bi/service-premium-incremental-refresh

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Hi @anilthapa11 ,

 

check out this blog post.

https://community.powerbi.com/t5/Community-Blog/Incremental-Refresh-with-Subqueries/ba-p/1003337

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Thanks @mwegener 

That blog is exactly what I was looking for. However, I could not accurately follow each steps which I asked in the blog itself. Hope I get my answers there. 

Hi @anilthapa11 ,


If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.