
In a earlier put up, I shared a complete information on implementing Incremental Information Refresh in Energy BI Desktop. We lined important ideas reminiscent of truncation and cargo versus incremental load, understanding historic and incremental ranges, and the numerous advantages of adopting incremental refresh for giant tables. If you happen to missed that put up, I extremely suggest giving it a learn to get a stable basis on the subject.
Now, let’s dive into Half 2 of this sequence the place we’ll discover ideas and tips for implementing Incremental Information Refresh in additional advanced eventualities. This weblog follows up on the insights supplied within the first half, providing a deeper understanding of how Incremental Information Refresh works in Energy BI. Whether or not you’re a seasoned Energy BI consumer or simply getting began, this put up will present useful data on optimising your information refresh methods. So, let’s start.
Once we publish a Energy BI answer from Energy BI Desktop to Cloth Service, we add the information mannequin, queries, stories, and the loaded information into the information mannequin to the cloud. In essence, the Energy Question queries, the information mannequin and the loaded information will flip to the Semantic Mannequin and the report will probably be a brand new report linked to the semantic mannequin with Join Stay storage mode to the semantic mannequin. In case you are unsure what Join Stay means, then try this put up the place I clarify the variations between Join Stay and Direct Question storage modes.
The Publish course of in Energy BI Desktop makes absolute sense within the majority of Energy BI developments. Whereas Energy BI Desktop is the predominant growth instrument to implement Energy BI options, the publishing course of remains to be not fairly as much as the duty, particularly on extra advanced eventualities reminiscent of having Incremental Information Refresh configured on a number of tables. Right here is why.
As defined in this put up, publishing the answer into the service for the primary time doesn’t create the partitions required for the incremental refresh. The partitions will probably be created after the primary time we refresh the semantic mannequin from the Cloth Service. Think about the case the place we efficiently refreshed the semantic mannequin, however we have to modify the answer in Energy BI Desktop and republish the adjustments to the service. That’s the place issues get extra advanced than anticipated. At any time when we republish the brand new model from Energy BI Desktop to Cloth Service, we get a warning that the semantic mannequin exists within the goal workspace and that we wish to Overwrite it with the brand new one. In different phrases, Energy BI Desktop at present doesn’t supply to use the semantic mannequin adjustments with out overwriting all the mannequin. Which means that if we transfer ahead, because the warning message suggests, we substitute the prevailing semantic mannequin and the created partitions with the brand new one with out any partitions. So the brand new semantic mannequin is now in its very first stage and the partitions of the desk(s) with incremental refresh are gone. In fact, the partitions will probably be created in the course of the subsequent refresh, however this isn’t environment friendly and realistically completely unacceptable in manufacturing environments. That’s why we MUST NOT use Energy BI Desktop for republishing an already revealed semantic mannequin to keep away from overriding the already created tables’ partitions. Now that Energy BI Desktop doesn’t help extra superior publishing eventualities reminiscent of detecting the prevailing partitions created by the incremental refresh course of, let’s talk about our different choices.
Whereas we should always not publish the adjustments from Energy BI Desktop to the Service, we are able to nonetheless use it as our growth instrument and publish the adjustments utilizing third-party instruments, due to the Exterior Instruments help function. The next subsections clarify utilizing two instruments that I consider are one of the best.
Publishing (Deployment) Information Mannequin Modifications with ALM Toolkit
The ALM Toolkit is a free neighborhood instrument constructed by the wonderful Christian Wade. After downloading and putting in ALM Toolkit, the instrument registers itself as an exterior instrument accessible throughout the Energy BI Desktop. The next steps clarify how you can publish the adjustments.
The “ALM” a part of the instrument’s title refers to Software Lifecycle Administration. This instrument primarily focuses on easing the challenges related to managing Energy BI initiatives throughout completely different levels of their lifecycle. ALM Toolkit merely compares a supply information mannequin with the chosen vacation spot. It’s able to detecting the created partitions on the Service and preserving them intact whereas making use of the adjustments made within the Energy BI Desktop to the vacation spot Semantic Mannequin within the Service.
The left aspect of the next picture reveals a modified information mannequin the place we added the Date desk and on the fitting, we see the already revealed semantic mannequin in Cloth with out the Date desk.

We now wish to examine the 2 in ALM Toolkit and apply the adjustments to the semantic mannequin on Cloth. To take action, we have to copy the Workspace connection from the Workspace settings. The next steps clarify how you can get the Workspace connection:
- After you log in to Cloth, navigate to the specified Premium Workspace
- Click on the Workspace settings
- Click on the Premium tab
- Scroll down to search out the Workspace connection on the backside of the pane and duplicate the hyperlink

Preserve this hyperlink as we’ll use it within the subsequent part.
The next steps clarify how you can use the ALM Toolkit to match the adjustments made in a neighborhood mannequin from the Energy BI Desktop with the prevailing Semantic Mannequin within the Cloth Service:
- Choose the Exterior instruments tab
- Click on the ALM Toolkit to open the instrument which mechanically connects to the native Energy BI Desktop occasion because the Supply
- On the Goal part, paste the Workspace connection copied earlier on the Workspace textbox
- Cross your credentials
- Click on the dropdown to pick out the specified Dataset
- Click on OK

At this level, ALM Toolkit compares the 2 information fashions and divulges the adjustments. As the next picture reveals, it detected the brand new Date desk and three new relationships added to the native mannequin that don’t exist on the goal. We will determine which adjustments we wish to apply to the goal by altering the worth of the Motion. We depart the default motion to Create.

Let’s proceed following the required steps as follows:
- Click on the Validate Choice button
- Evaluate the adjustments and click on the OK button

- Click on the Replace button
- Click on Sure on the warning message
The ALM Toolkit now publishes the adjustments and reveals the progress on the Deployment window.
- Click on the Shut button

At this stage, all the chosen adjustments have been revealed to the Semantic Mannequin on Cloth. ALM Toolkit offers us the choice to refresh the comparability afterward.
Word
This course of solely revealed the brand new adjustments to the Service. These adjustments embody publishing the metadata, subsequently, on the Semantic Mannequin on the Service the brand new Date desk and the three relationships have to be added, however at this stage, the Date desk remains to be empty. Therefore we have to refresh the Semantic Mannequin to seize the Date information from the supply.
Publishing (Deployment) Information Mannequin Modifications with Tabular Editor
For sure, Tabular Editor is likely one of the most helpful third-party instruments out there to Energy BI builders created by the wonderful Daniel Otykier. This instrument is available in two completely different license classes, Tabular Editor v2.x and v3.x which have substantial variations. Tabular Editor v2.x is a free and open-source instrument that allows you to manipulate and handle measures, calculated columns, show folders, views, and translations in both SQL Server Evaluation Providers (SSAS) Tabular and Energy BI Sematic Fashions. Tabular Editor 3.x however, is a industrial instrument that provides a premium expertise with many handy options to mix all of your information modelling and growth wants in a single single instrument. Whereas Tabular Editor v2.x is freed from cost, it doesn’t have the superior options of Tabular Editor v3.x. Due to this fact, the selection between the 2 variations relies on the wants and preferences of the consumer. For the aim of this put up, we solely use Tabular Editor v2.x to publish the adjustments made to our native information mannequin in Energy BI Desktop to the Semantic Mannequin revealed to Cloth. You could obtain and set up the specified model of Tabular Editor which is able to register it as an Exterior Instrument within the Energy BI Desktop.
Think about we add a brand new Product desk to the information mannequin within the Energy BI Desktop.

The next steps clarify how you can deploy the adjustments to Cloth Service:
- On the Energy BI Desktop, click on the Exterior Instruments tab from the ribbon
- Click on Tabular Editor to open it (the instrument mechanically connects to the native occasion of the Energy BI Desktop’s information mannequin)
- Click on the Mannequin menu
- Choose the Deploy choice

- Paste the Workspace connection copied earlier on the Server
- Choose Home windows Authentication or Azure AD login
- Click on Subsequent then cross your credentials

- Choose the specified Semantic Mannequin
- Click on the Subsequent button

- Choose the Deploy Desk Partitions choice
- Click on the Subsequent button

- Evaluate your choice then click on the Deploy button

At this level, the adjustments are revealed to the Cloth Service. The next picture reveals the Semantic Mannequin on the Service with the utilized adjustments.

As you see, whereas publishing the adjustments from Energy BI Desktop to the Service utilizing Tabular Editor is an easy course of, we have to be cautious that, in contrast to ALM Toolkit, Tabular Editor publishes the present information mannequin and all adjustments to the Service. Which means that we should not have the choice to pick out the adjustments to be utilized to the Service.
Up to now we’ve got realized two strategies to publish the adjustments from Energy BI Desktop to the Semantic Mannequin on Cloth with out affecting the tables with incremental refresh. Nevertheless, these strategies solely work for eventualities that don’t require a full refresh of a desk with incremental refresh partitions.
A full refresh is required whatever the publishing technique, when there are adjustments within the Energy BI Desktop that have an effect on the question or the partition settings, reminiscent of altering the filter vary, the incremental coverage, or the desk construction reminiscent of including new columns, eradicating columns, renaming columns, and many others. A full refresh can be required when there are structural adjustments within the supply desk. Throughout a full refresh, the prevailing partitions will probably be eliminated, new partitions will probably be generated and reloaded from the information supply.
On this put up, we’ve got realized how you can cope with some intricacies of publishing Energy BI options with Incremental Information Refresh. We’ve realized to watch out once we publish adjustments from Energy BI Desktop to the Cloth Service. In any other case, we lose the information partitions created earlier than which is fairly essential for manufacturing environments the place we have to hold all the information intact in addition to safely deploy the adjustments to the mannequin. To keep away from this downside, we mentioned utilizing various instruments such because the ALM Toolkit and Tabular Editor. This fashion, we are able to hold our information partitions intact and replace solely what we’d like. We’ve got proven you how you can use these instruments on this weblog sequence.
I hope you discover this put up useful for enhancing your Energy BI publishing expertise. As all the time, please share your ideas with us within the feedback part beneath.
Associated
Uncover extra from BI Perception
Subscribe to get the most recent posts despatched to your e mail.