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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mjohannesson
Advocate I
Advocate I

Incremental refresh partitions in Power BI Premium

I have a Desktop (pbix) file which is connected to some Databricks Spark Delta tables using the Spark connector. One of the tables contain 600 million rows, so I access it via a view which limits it to the most recent 9 million rows while working with the Desktop file. I'm using Import mode and I've set up incremental refresh for this table. After I've published to the Power BI Premium workspace, I connect to the XMLA and there is only one partition in this table. How can I split it into multiple partitions so I don't have to refresh the full dataset all at once?

4 REPLIES 4
ChrisRenlund
Advocate I
Advocate I

I know this is an old thread - but for others that might come here looking for an answer, this is the best way we have come up with:

Like you state - once you've set up your query/table for incremental refresh and published the dataset to Power BI service you will only see one partition before you have run an initial refresh on the dataset in PBI service. This initial refresh might fail from connection timeouts or memory issues depending on the amount of data you're trying to fetch and the datasource you connect to. But without partitions it's hard to come around that initial refresh pain.

To create all the partitions - just

  1. connect to your dataset using Tabular Editor,
  2. right click your table and choose "Apply Refresh Policy". It will run for a second or so and then all partitions for your table will be created (but empty of data).
  3. Then you can connect to the dataset using Microsoft SQL Server Management Studio and process the partitions one by one or a few at a time until you have your full data in place.

After that your incremental refresh policy will run as intended.

v-yingjl
Community Support
Community Support

Hi @mjohannesson ,

You can try to use folding query, please refer this article: Notes on Power BI Incremental Refresh 

 

You can also refer the following articles about incremental refresh in details:

  1. Keep The Existing Data In Your Power BI Dataset And Add New Data To It Using Incremental Refresh 
  2. First Impression on Power BI 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.

 

 

 

GilbertQ
Super User
Super User

Hi there

The first thing is have you enabled the "Enhanced Meta data format" in the PBIX?

Once that is done and you have uploaded the PBIX (With incremental refresh policy designed), can you do a refresh on the dataset (which will then create the partitions)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi,

 

Thanks for the advice. I enabled "Enhanced Meta data format", uploaded the PBIX with incremental refresh and refreshed the dataset.

 

As I mentioned, the source table is a Databricks Spark Delta table with 600 million rows accessed via a view. When I did the first dataset refresh, I tried importing the full table, but then the refresh failed with an out of memory error. I then limited the view to data from 2019 and 2020, which is approx. 200 million rows, and the refresh succeeded. I now have a partitioned dataset, but the partitions for the years before 2019 are empty. How can I process them? When I tried, using SQL Server Management Studio, I got an error:

An error occurred while parsing EntityName. Line 4, position 29. (System.Xml)

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors