473,396 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Pivot chart filter control

This is a bit of a two-part question.

1. Is there a way to control what filters are placed on a pivot chart
via vba.

I can easily change the underlying query and refresh pivot chart but
it's a big dataset and takes some time to load - my users are
impatient!

2. If this is not possible to code filters on the chart are the any
controls or properties that hold information about what filters are in
place.

e.g. A user opens the pivot chart and then using the field button drop-
downs selects a number of filters. Can I then find out what filters/
selection they have made, since I want to keep this information to use
later.

Cheers

Tom

May 15 '07 #1
1 6781
th***************@gmail.com wrote:
This is a bit of a two-part question.

1. Is there a way to control what filters are placed on a pivot chart
via vba.

I can easily change the underlying query and refresh pivot chart but
it's a big dataset and takes some time to load - my users are
impatient!

2. If this is not possible to code filters on the chart are the any
controls or properties that hold information about what filters are in
place.

e.g. A user opens the pivot chart and then using the field button drop-
downs selects a number of filters. Can I then find out what filters/
selection they have made, since I want to keep this information to use
later.

Cheers

Tom
You might try looking for a book like the Excel Recipe Book. It has a
lot of Pivot Table Information. I think it might be possible to develop
a control to do the filtering that would interact with the Pivot Table.
Another method would be to develop multiple pivot tables with preset
filter controls that you can select with a button control to select a
specific Worksheet in a workbook. I think you can get this in an E-Book.

http://www.contextures.com/

I think this site has some files and some code you might look at also.
May 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: GoalieGW | last post by:
Does anyone know how to create a Pivot Chart at run-time? I have a database of meter readings that currently requires me to have 200 forms created so the user can enter date criteria and have a...
2
by: PC Datasheet | last post by:
From: "Martin" <Martin@discussions.microsoft.com> Subject: Pivot Chart Date: Monday, February 13, 2006 3:59 PM I am trying to learn how to use pivot charts. In 1995, if John took vacation 10/15...
1
by: keliie | last post by:
Hello, I've created a form that contains a single unbound combo box and two subforms. The two subforms display the results of a query (driven by the combo box selection) in both tabular and...
1
by: mike11d11 | last post by:
I was wondering if it was possible to export information from a pivot chart when double clicking on the item I want. For example I have a pivot chart with Four items in the legend and they are...
9
by: PeteCresswell | last post by:
I've got something called "Reference Rates". The idea is that on a given day, we have various rates of return for various entities. e.g. Libor 3-month return, Libor 6-month return, US Treasury...
1
by: devagupt | last post by:
i have a form called get downtime data. WHen information is entered into it and the button "get downtime data" pressed , it displays the results of a query. WHen i view the query in pivot chart view...
5
by: fd1 | last post by:
Hi All, I created a pivot chart using Auto Form Pivot Chart. I'm trying to get to the RowSource query behind my chart but can't seem to locate it. I need to change the legend text. Any ideas? ...
0
by: inepu | last post by:
Is there any way to show a field in a pivot table/chart that is calculated based on other fields of the pivot? I have the following table: Date; DescriptionField_1; Slots; EmptySlots I want...
1
by: CoreyReynolds | last post by:
I can't find any information on this. If I have an existing query and I want to dump it into a page on a spread sheet and modify it as a pivot table all in VBA, can I do that? I only have the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.