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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Power BI Object Model Turning off the Calculation

I am using VBA in Excel and the PowerPivot Object Model to Automate the creation of my DAX Meaures within the PowerBI Model.

 

https://msdn.microsoft.com/en-us/vba/excel-vba/articles/about-the-powerpivot-model-object-in-excel

 

The Problem I am Experiencing is that, Every Call to the measure create Method Recalculates the Model , So as the Model Grows the Execution Takes longer and Longer as it Recalculates the Model after every Addition and each time the Recalculate is incrementally longer

 

Is there a way to Disable the Recalculation, so ht all measures can be added with out recalculating the model and then Recalculate the Model Once at the end?

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Anonymous wrote:

I am using VBA in Excel and the PoerBi Object Model to Automate the creation of my DAX Meaures within the PowerBI Model.

 

The Problem I am Experiencing is that, Every Call to the measure create Method Recalculate the Model , So as the Model Grows the Execution Takes longer and Longer as it Recalculates the Model after every Addition and each time ithe Recalculate is incrementally longer

 

Is there a way to Disable the Recalculation, so taht all measures can be added with out recalculating the model and then Recalculate the Model Once at the end?


@Anonymous

What does "PoerBi Object Model" refer to, would you mind sharing any background or link?

Anonymous
Not applicable

its a typo for PowerBi Object Model but actually I should hav  said  the power Pivot Object Model

 

https://msdn.microsoft.com/en-us/vba/excel-vba/articles/about-the-powerpivot-model-object-in-excel

 

Anonymous
Not applicable

Any one? 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.