Update Pivot Table from disconnect slicers

ertuoc

New Member
Joined
Jul 7, 2014
Messages
7
I have created a report that uses a pivot table and multiple slicers.
I would like the users to be able to select their choices in the slicers WITHOUT having pivot table 1 auto update and then click a "Submit" button that will update the pivot table 1 all at once with the each slicer settings. Much like a web base query tool.

I have created a duplicate pivot table that uses the same source data as pivot table 1. Lets call this pivot table 2.
Pivot table 2 which is hidden and is connected to all the slicers but has no columns or rows added which allows the slicers to auto update very quicker and MUCH quicker than if the slicers were connected to pivot table 1. Thus the slicer are NOT connected to pivot table 1 and I connect the slicers to pivot table 2 because I need the cascading filtered updates of the other slicers but done quickly.

I want to take the results of the slicers after a "Submit" button is clicked and apply these to pivot table 1.
The problem I run into is slowness.

Looping through all the pivot table 1 items and deselecting and then selecting takes too long even when .ManualUpdate = true and application.calculation = xlCalculationManual is set.
Is there a way to pass all the slicer settings to pivot table 1 at once much like a variables are sent to a sql query?

Any help would be appreciated. Thanks
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I can't think of any easy/supported way to do this. You can disable pivot table refreshes via ActiveSheet.PivotTables(1).PivotCache.EnableRefresh = False... but you get this crappy dialog that pops up when you slice... telling you that refresh is disabled. Not sure if there is some way to nuke that dialog.

We could probably help make your model faster?
 
Upvote 0
Thank You Scott but I am going to port this model to a mySql database with a web based front end which will solve my problem.
I have it in excel for now but for my users but I would just like to make it more responsive.
 
Upvote 0

Forum statistics

Threads
1,224,019
Messages
6,175,963
Members
452,688
Latest member
spookralls

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