I have a few pivot table and pivot charts in a few different sheets. However, my pivot table and charts are come from datamodel. Is there a way to perform a vba whereby the datamodel will update the range from the datasource and later update all the pivot table and charts.
Related
I am having a pivot table and there are some filter on that pivot table.
What we did is the data source of the pivot table is populated by java program and upon opening the excel file, the pivot table gets refreshed. Problem is that the filters on the Pivot table have some values that I want not to be shown as an option in the Pivot table filter. How can I exclude an option from Pivot table filter?
Here is the screen shot of my Pivot table:
I want to hide a data series in Pivot chart but not in Pivot Table.
As the Pivot table and Pivot chart are Inter related, making change in one affects the other.
I am looking for solution with out using VBA.
Is it possible to unlink a pivot chart axis selection from the pivot table rows? Whenever I remove one of the pivot chart axis fields to display the chart correctly, excel also removes the field from the pivot table rows selection which is not what I need.
The images below may help show what I mean - if I remove field "Division" from the pivot chart axis selection, the field is also removed from the pivot table rows selection. I have a sample spreadsheet which can do this - link is here.
Thanks for any suggestions.
A pivot chart is invariably linked to the underlying pivot table. Removing fields from the Rows field well will remove them in both the chart and the table. That's just how it works.
Edit after viewing sample file:
The sample file has just one pivot cache, but it has several pivot tables. The two pivot tables for the two pivot charts on the dashboard live on the "Pivots" worksheet and are not connected to the pivot table on the dashboard.
So, if you want to create a pivot chart and a pivot table with different fields, you need a separate pivot table for the chart. You may want to create the pivot chart first, on a helper sheet, then move the chart to the dashboard and leave the underlying pivot table on the helper sheet.
Then add another pivot table to the dashboard sheet and use columns that are independent from the pivot chart.
On excel 2007, in one sheet i have 2 pivot tables created by the first image table below
and i have create two pivot tables in the same worksheet as you can see in the second image below, and i have choose all stores, now i know i can use option Show Report Filtered pages with the field stores if i have one pivot table, but can i do the same with 2 pivot tables simultaneously?
For example to choose both pivot tables and create with Show Report Filtered pages new sheets like in the third image but with both tables in it?
If there is a way with formula,functions any solution not with VBA or macro.
If you upgrade to excel 2010, you'll be able to use Slicers for that purpose. In Excel 2007, you will have to use macros to achieve a similar effect.
I created a power pivot (KPI-1) with three working slicers. Instead of slicers, I'd prefer to filter KPI-1 using a selection from another power pivot (Pharmacies) within the same workbook.
I created a second power pivot (KPI-2) without slicers on a new sheet in the same workbook, and then created slicer connections to the first power pivot (KPI-1). I can successfully use the slicers from KPI-1 to filter KPI-2.
Is there any way to directly filter a power pivot based on a selection from another power pivot table, OR is there a way to pass the selection from power pivot Pharmacies to KPI-1's slicers, which will then filter my slicerless KPI-2? I could then just hide KPI-1.
Click into pivot table KPI-1 and press Insert -> Slicer
Right click the slicer and select Report Connections...
Check the KPI-2 pivot table
All filters set in pivot table KPI-1 will be transferred to the Slicer and all connected pivot tables.
This only works, if the two pivot tables have the same data source!