How to overcome limitations on n° row fields in a pivottable

Joel Horowitz

New Member
Joined
Aug 23, 2002
Messages
34
Hye,

I am trying to do the following: I have data, which are arranged in something that would perfectly fit in a pivottable, however I am aware that there are memory limitations that make it impossible to see the table as I would like to see it.

My data is made of +-2.000 rows with a hierarchy of 6 levels (a little bit like 'Country','State','City', but with 6 dimensions in total). Due to memory limits, I cannot put all the fields as row fields, so I have to put 'Level1' and 'Level2' as a page field. The annoying thing is that when I set 'Level1' at a specific value, then the admissible values for 'Level2' are not automatically updated.

I thought of writing VBA code that would hide all values for 'Level2' that do not match the current 'Level1' value, but that would require querying the source data, which is quite heavy (unless I could do it in SQL even though the data is in the same workbook). Any suggestions or alternative?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,221,544
Messages
6,160,432
Members
451,646
Latest member
mmix803

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