PowerPivot update on demand

RichardRayJH

New Member
Joined
Jan 18, 2013
Messages
24
I have a PowerPivot project that would be greatly improved if there were a way to update the PowerPivot data from the Excel workbook. Yes, I can train the users to use PowerPivot at least enough to do the update, but it's an extra step and takes them through a environment they otherwise don't need to see.

I've done a lot of googling and reading and haven't found a way to do this that seems to have been widely accepted. Is there a good way? Or is it just something that's best not to mess around with?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You mean just by selecting any cell in a pivot table, going to Analyze on the PIVOTTABLE TOOLS tab and going Refresh All? I believe that triggers a refresh of the data on demand. I would imagine you could also quite easily make a VBA macro to do that and tie it to a button.
 
Upvote 0
No, that's not the scenario. I have two cells on one tab of the workbook that get updated with start and end dates. When the workbook is refreshed those dates are used to recalculate the data in two info mart tables. Those info mart tables are the source for the three PowerPivot datasets. Once those are updated the pivot tables in the workbook are refreshed. I'd like to be able to trigger the PowerPivot data refresh after the info mart ables are updated, without trusting the users to remember to open the PowerPivot window and do the refresh.

Refreshing the PowerPivot data is the missing piece.
 
Upvote 0
2013? There is ActiveWorkbook.Model.Refresh ... or something like that... in vba. In 2010, you are totally hosed.
 
Upvote 0

Forum statistics

Threads
1,224,065
Messages
6,176,169
Members
452,710
Latest member
mrmatt36

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