Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Why cant I exclude items with no data from the Page Field?

In a pivot table lets say I have one page field "Country" and another page
field "City".
If I select England from "Country" I still get all the cities in the page
field "City" regardless if the city is in England or not. I just want the
English cities to select from.
I don't want to put either page fields into the row or column fields as it
would mess up my pivot chart.
Is there anyway this issue could be solved or is there a VBA workaround.
They have the option to exclude items with no data in the other fields, why
not the page fields?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Why cant I exclude items with no data from the Page Field?

Hi,
in the country column beside the city column , you need to repeat the
country i.e.

london England
london England
london England

"Ethoros" wrote:

In a pivot table lets say I have one page field "Country" and another page
field "City".
If I select England from "Country" I still get all the cities in the page
field "City" regardless if the city is in England or not. I just want the
English cities to select from.
I don't want to put either page fields into the row or column fields as it
would mess up my pivot chart.
Is there anyway this issue could be solved or is there a VBA workaround.
They have the option to exclude items with no data in the other fields, why
not the page fields?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Why cant I exclude items with no data from the Page Field?

Still get the same problem
For example the if the table is like so:

City Country people year
london England 1000000 2007
london England 1000001 2008
london England 1000002 2009
Madrid Spain 20000 2007
Madrid Spain 20001 2008
Madrid Spain 20002 2009


and the pivot table is like

Country (All)
City (All)

Sum of people
year Total
2007 1020000
2008 1020002
2009 1020004
Grand Total 8160056


When I select England I still get Madrid in the City Page Field even though
Madrid is not in England.
I also dont want to put the city in the column or row field because it would
mess the chart up, but I want users to be able to select the from relevant
cities.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Why cant I exclude items with no data from the Page Field?

Hi,
I copy your information and is working for me , just a question when you go
to country did you check where it says select Multiple items, and then
uncheck Spain

"Ethoros" wrote:

Still get the same problem
For example the if the table is like so:

City Country people year
london England 1000000 2007
london England 1000001 2008
london England 1000002 2009
Madrid Spain 20000 2007
Madrid Spain 20001 2008
Madrid Spain 20002 2009


and the pivot table is like

Country (All)
City (All)

Sum of people
year Total
2007 1020000
2008 1020002
2009 1020004
Grand Total 8160056


When I select England I still get Madrid in the City Page Field even though
Madrid is not in England.
I also dont want to put the city in the column or row field because it would
mess the chart up, but I want users to be able to select the from relevant
cities.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Why cant I exclude items with no data from the Page Field?

I have only England selected in the Country page field but Madrid keeps
showing in the City Page Field. Have you done the same layout as below? I'm
also using Excel 2003 if that makes any difference.

"Eduardo" wrote:

Hi,
I copy your information and is working for me , just a question when you go
to country did you check where it says select Multiple items, and then
uncheck Spain

"Ethoros" wrote:

Still get the same problem
For example the if the table is like so:

City Country people year
london England 1000000 2007
london England 1000001 2008
london England 1000002 2009
Madrid Spain 20000 2007
Madrid Spain 20001 2008
Madrid Spain 20002 2009


and the pivot table is like

Country (All)
City (All)

Sum of people
year Total
2007 1020000
2008 1020002
2009 1020004
Grand Total 8160056


When I select England I still get Madrid in the City Page Field even though
Madrid is not in England.
I also dont want to put the city in the column or row field because it would
mess the chart up, but I want users to be able to select the from relevant
cities.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Why cant I exclude items with no data from the Page Field?

Hi,
Sorry I have 2007 , it shouldn't but I cannot test it,

"Ethoros" wrote:

I have only England selected in the Country page field but Madrid keeps
showing in the City Page Field. Have you done the same layout as below? I'm
also using Excel 2003 if that makes any difference.

"Eduardo" wrote:

Hi,
I copy your information and is working for me , just a question when you go
to country did you check where it says select Multiple items, and then
uncheck Spain

"Ethoros" wrote:

Still get the same problem
For example the if the table is like so:

City Country people year
london England 1000000 2007
london England 1000001 2008
london England 1000002 2009
Madrid Spain 20000 2007
Madrid Spain 20001 2008
Madrid Spain 20002 2009


and the pivot table is like

Country (All)
City (All)

Sum of people
year Total
2007 1020000
2008 1020002
2009 1020004
Grand Total 8160056


When I select England I still get Madrid in the City Page Field even though
Madrid is not in England.
I also dont want to put the city in the column or row field because it would
mess the chart up, but I want users to be able to select the from relevant
cities.

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
Data Field Items deleted when unchecked in Pivot table Anant Excel Discussion (Misc queries) 1 October 23rd 07 01:15 PM
Pivot Table - Dragging multiple items into data field J@Y Excel Discussion (Misc queries) 1 January 12th 07 12:52 AM
PivotTable - How to unhide page field items? Epinn New Users to Excel 3 October 16th 06 01:10 PM
How do I count unique items in a pivottable data field. Jaywestern Excel Discussion (Misc queries) 2 December 29th 05 01:15 AM
Excel Pivot Table Appends a '2' to the field data items SunshineX Excel Discussion (Misc queries) 1 October 4th 05 08:06 PM


All times are GMT +1. The time now is 05:46 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"