+ Reply to Thread
Results 1 to 7 of 7

Filtering which 'value' is reported on

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    Leeds, UK
    MS-Off Ver
    365
    Posts
    4

    Filtering which 'value' is reported on

    Hi, I'm hoping theres a simple fix for this which I'm missing. I had a search and scroll through the board and couldn't seem to find this specific issue.

    I have a pivot table reporting on several values and date ranges. The issue I have is that the table can become quite cumbersome and hard to read. I only really need to view one of these variables at any given point, I know I could make 3 seperate tables, but I already have tens of tables and would rather simplify it.

    For clarity I've attached a screen shot of the Field List showing the values I want to be able to filter/splice on. I want my pivot to show me either Contracts, Volume or Revenue rather than all at oce.

    I haven't attached a workbook as Im guessing its either an available function or not, rather than a technical fix. Hope this is okay.

    If this is possible it would actually streamline a lot of my reporting so thought I'd drop a post.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by GreekyGreek; 01-08-2020 at 08:25 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Filtering which 'value' is reported on

    Hi and welcome
    wouldn't slicers be what you need?

  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    Leeds, UK
    MS-Off Ver
    365
    Posts
    4

    Re: Filtering which 'value' is reported on

    Thanks for coming back.

    I've looked at that option, but unless I'm missing it a slicer only really works if you have a common variable within a range, such as 'salesperson' etc.

    I essentially want to be able to dynamically amend my pivot to only have one of Contracts, Volume of Revenue in my Values.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Filtering which 'value' is reported on

    Instructions about how to attach your workbook can be found at the top of the page.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    01-08-2020
    Location
    Leeds, UK
    MS-Off Ver
    365
    Posts
    4

    Re: Filtering which 'value' is reported on

    Example attached now.

  6. #6
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Filtering which 'value' is reported on

    Hi GreekyGreek,

    See the attached modified copy of your file that has the following options:
    a. Contracts
    b. Revenue
    c. Volume
    d. Contracts and Revenue
    e. Contracts and Volume
    f. Revenue and Volume
    g. Contracts and Revenue and Volume

    Code follows in Ordinary Code Module ModPivotTableSumValues. Change the Items in Red Below as required:
    Please Login or Register  to view this content.
    To enable Macros and to Run Macros see the following:
    http://office.microsoft.com/en-us/ex...010031071.aspx
    http://office.microsoft.com/en-us/ex...010014113.aspx
    If help is still needed do a google search for 'youtube excel enable macro' and/or 'youtube excel run macro'.

    To access Visual Basic (VBA) see:
    http://www.ablebits.com/office-addin...a-macro-excel/
    a. Click on any cell in the Excel Spreadsheet (may not be needed).
    b. ALT-F11 to get to VBA.
    c. CTRL-R to get project explorer (if it isn't already showing).
    d. Double Click on a 'Module Name' in 'Project Explorer' to see code for that module.

    Lewis

  7. #7
    Registered User
    Join Date
    01-08-2020
    Location
    Leeds, UK
    MS-Off Ver
    365
    Posts
    4

    Re: Filtering which 'value' is reported on

    Thats perfect, exactly what I needed.

    Thanks for your help Lewis!
    Last edited by GreekyGreek; 02-27-2020 at 10:27 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. (edited title) BUG filtering for blanks (or filtering out all empty rows)
    By zextrot in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-22-2017, 01:51 PM
  2. [SOLVED] Need help filtering data by filtering based on the last digit of a column/true statement
    By Stephen R in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2014, 07:43 AM
  3. [SOLVED] Easy filtering method via vba/formula/advanced filtering?
    By jedemeyer1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2014, 12:35 AM
  4. [SOLVED] trouble filtering a list. Why isn't column filtering?-number of criteria
    By Pat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-18-2005, 11:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1