Having to update data model twice before complete update

cr731

Well-known Member
Joined
Sep 17, 2010
Messages
611
I'm using PowerPivot and the data model. Some of the calculations in my calculated measures rely on inputs of other tables (for instance, I have an exchange rate table, as a linked table inside the data model, and then those exchange rates are used in some calculated measures of the PowerPivots). I'm finding that I have to refresh the file twice in order for the fully updated values to be displayed. It seems that update # 1 is needed to update the exchange rate table within the data model, and then update # 2 is needed so that the calculated measures use the updated exchange rates.

This gets kind of confusing to me when writing macros to update the file... is this normal behavior or is there a way I can update everything in a single line and ensure all calculations are updated properly?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Are you using the Data -> Refresh All button on the ribbon in Excel 2013? And you have to click it a second time after the first refresh is finished?
 
Upvote 0
I have had the same issue before, but it doesn't seem to happen all the time. I haven't been able to determine when it happens and when it doesn't.
 
Upvote 0

Forum statistics

Threads
1,224,085
Messages
6,176,276
Members
452,718
Latest member
Nyxs_Inquisitor

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top