Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How to refresh drop-down list of pivot table

We find that after a pivot table is created, the the drop-down list values of
filter in the table will not be refreshed as soon as the change of data.

E.g, orginally in the pivot table there is a value A in the column,
afterward in the data source value A is replaced by value B. But we can find
that value A is still in the list of drop-down values.

Is this a bug of Excel or there is some configuration of this? Is there any
fix?
  #2   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 94
Default How to refresh drop-down list of pivot table

It is not a bug, I think it was made a manual effort for a purpose, imagine
if you had many pivottables and referencing large data range, and every time
you change and data in pivotable range all the related pivottables would have
to recalculate (not a good idea, waste of resources).

1) You can right click on the pivotable and click €˜refresh data

2) One of the best ways could be to refresh the pivottable when you select
the worksheet which contains the pivotable. Right click on worksheet tab and
click select code.
Use the below code

Option Explicit
Private Sub Worksheet_Activate()

Dim ptTemp As PivotTable

For Each ptTemp In Me.PivotTables
ptTemp.RefreshTable
Next ptTemp

End Sub


Regards,
-kc
*Click YES if this helps

"Michael Pan" wrote:

We find that after a pivot table is created, the the drop-down list values of
filter in the table will not be refreshed as soon as the change of data.

E.g, orginally in the pivot table there is a value A in the column,
afterward in the data source value A is replaced by value B. But we can find
that value A is still in the list of drop-down values.

Is this a bug of Excel or there is some configuration of this? Is there any
fix?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How to refresh drop-down list of pivot table

KC, thanks for your reply. I had already tried to refresh the pivot table
manually. But the obsolete values are still there after refresh.

Another concern of mine is whether the in-time value refresh really costs
many system resources. If you filter on a column of a table, not pivot, the
values of the list can be most updated. I donn't see any difference.

Regards,

Michael

"KC" wrote:

It is not a bug, I think it was made a manual effort for a purpose, imagine
if you had many pivottables and referencing large data range, and every time
you change and data in pivotable range all the related pivottables would have
to recalculate (not a good idea, waste of resources).

1) You can right click on the pivotable and click €˜refresh data

2) One of the best ways could be to refresh the pivottable when you select
the worksheet which contains the pivotable. Right click on worksheet tab and
click select code.
Use the below code

Option Explicit
Private Sub Worksheet_Activate()

Dim ptTemp As PivotTable

For Each ptTemp In Me.PivotTables
ptTemp.RefreshTable
Next ptTemp

End Sub


Regards,
-kc
*Click YES if this helps

"Michael Pan" wrote:

We find that after a pivot table is created, the the drop-down list values of
filter in the table will not be refreshed as soon as the change of data.

E.g, orginally in the pivot table there is a value A in the column,
afterward in the data source value A is replaced by value B. But we can find
that value A is still in the list of drop-down values.

Is this a bug of Excel or there is some configuration of this? Is there any
fix?

  #4   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 94
Default How to refresh drop-down list of pivot table

I got what your saying :)

try this link http://contextures.com/xlPivot04.html
and let me know if this helps

-kc
*Click YES if this works

"Michael Pan" wrote:

KC, thanks for your reply. I had already tried to refresh the pivot table
manually. But the obsolete values are still there after refresh.

Another concern of mine is whether the in-time value refresh really costs
many system resources. If you filter on a column of a table, not pivot, the
values of the list can be most updated. I donn't see any difference.

Regards,

Michael

"KC" wrote:

It is not a bug, I think it was made a manual effort for a purpose, imagine
if you had many pivottables and referencing large data range, and every time
you change and data in pivotable range all the related pivottables would have
to recalculate (not a good idea, waste of resources).

1) You can right click on the pivotable and click €˜refresh data

2) One of the best ways could be to refresh the pivottable when you select
the worksheet which contains the pivotable. Right click on worksheet tab and
click select code.
Use the below code

Option Explicit
Private Sub Worksheet_Activate()

Dim ptTemp As PivotTable

For Each ptTemp In Me.PivotTables
ptTemp.RefreshTable
Next ptTemp

End Sub


Regards,
-kc
*Click YES if this helps

"Michael Pan" wrote:

We find that after a pivot table is created, the the drop-down list values of
filter in the table will not be refreshed as soon as the change of data.

E.g, orginally in the pivot table there is a value A in the column,
afterward in the data source value A is replaced by value B. But we can find
that value A is still in the list of drop-down values.

Is this a bug of Excel or there is some configuration of this? Is there any
fix?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Refresh Not Updating Drop Down List Caroline M Excel Worksheet Functions 1 December 11th 07 10:51 AM
Create refresh button in worksheet to refresh Pivot Table Data Ron Excel Worksheet Functions 1 October 13th 07 01:20 AM
Pivot Table - Duplicate values drop-down when I refresh data Vicky Excel Discussion (Misc queries) 3 July 22nd 07 12:20 AM
IS THERE ANY PIVOT TABLE DROP LIST FUNCTION? william Excel Worksheet Functions 1 January 4th 06 02:25 PM
Need help with Drop-Down list and Pivot Table Jared_Hmr Excel Worksheet Functions 1 January 29th 05 12:45 AM


All times are GMT +1. The time now is 09:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"