+ Reply to Thread
Results 1 to 12 of 12

Use Multiple Filters Within a Pivot Table

  1. #1
    Registered User
    Join Date
    04-25-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    10

    Use Multiple Filters Within a Pivot Table

    Greetings all,

    I have a pivot table in this kind of format:

    ------------------
    Column Labels
    -phase1 -phase2 -phase3
    Row Labels initial copy trial test trial final test
    -Person A 26 27 14
    Item1 1 1 0
    Item2 0 1 1
    Item3 1 0 1
    Item4 1 1 1
    -Person B
    .....

    ------------------

    I want to apply a filter that fulfills multiple criteria:
    (1) phase1
    (2) value = 0

    This would transform my pivot table up above by removing item2 (removing the entire row) for Person A, but all other rows would remain visible.

    Stated differently, I want to exclude any rows when the value for phase1 = 0 (do not even plot them).

    I can do this by copying the pivot table to a new sheet and using a manual filter for that column, but how might one do this within the actual pivot table?

    Thank you!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Use Multiple Filters Within a Pivot Table

    Attach a sample workbook (not a picture or text in the post). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    04-25-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Use Multiple Filters Within a Pivot Table

    Hello,

    I have attached the file.

    BEFORE tab: standard pivot table
    AFTER tab: desired pivot table -- do not plot rows where phase1 value = 0 (ignore those trials)

    Please note that it is not as simple as excluding specific "cues" in terms of text values, as I have a very large dataset where the trials will change from user to user.

    Thanks for any assistance.
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Use Multiple Filters Within a Pivot Table

    It will be enough?
    Done with PowerQuery & PivotTable
    Last edited by sandy666; 02-28-2018 at 05:04 PM.

  5. #5
    Registered User
    Join Date
    04-25-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Use Multiple Filters Within a Pivot Table

    Can you explain more about what you changed? I see the new sheet, but to me it just looks like you manually deleted the 0s from those rows. I am looking for a way to remove them entirely from the pivot table.

    I also am unfamiliar with PowerQuery and PivotTable.

    Any further advice is appreciated. Thank you.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Use Multiple Filters Within a Pivot Table

    if you've PowerQuery installed I can explain but if not - it doesn't make sense

    you'll need get and install PowerQuery add-in for Ex2010 Pro Plus (PowerPivot also )

  7. #7
    Registered User
    Join Date
    04-25-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Use Multiple Filters Within a Pivot Table

    Quote Originally Posted by sandy666 View Post
    if you've PowerQuery installed I can explain but if not - it doesn't make sense

    you'll need get and install PowerQuery add-in for Ex2010 Pro Plus (PowerPivot also )
    Thank you for the clarification. Are those free add-ons? Where can one get them?

    Also, is there a way to just remove those rows completely with these add-ons? They are currently still being plotted but with empty cells. Thanks so much.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Use Multiple Filters Within a Pivot Table

    PowerQuery and PowerPivot are free from MS site (you need to find it)

    are you talkin' about these columns in PT to remove blanks?

    copyPicture consonantsOnly standardTest vowelsOnly FinalTest

    there is no completely blank rows

    you can move fields from Column area to Filter area
    Last edited by sandy666; 02-28-2018 at 08:49 PM.

  9. #9
    Registered User
    Join Date
    04-25-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Use Multiple Filters Within a Pivot Table

    Quote Originally Posted by sandy666 View Post
    PowerQuery and PowerPivot are free from MS site (you need to find it)

    are you talkin' about these columns in PT to remove blanks?

    copyPicture consonantsOnly standardTest vowelsOnly FinalTest
    Awesome, thanks.

    If you look at "AFTER" sheet, I have highlighted 2 rows in yellow. I highlighted them because phase1 values = 0 for those rows. Your solution has those rows in the table, but instead of 0s there are empty cells.

    I want the final product to REMOVE those rows entirely (so that the only rows plotted have values of 1 for phase1).

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Use Multiple Filters Within a Pivot Table

    like this one?

  11. #11
    Registered User
    Join Date
    04-25-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Use Multiple Filters Within a Pivot Table

    Yes, that's exactly right.

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Use Multiple Filters Within a Pivot Table

    so....

    If that takes care of your original question, & to say Thanks, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
    then select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.

+ 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. Macro to update pivot table filters from multiple pivot tables of different data sources
    By groblerdn85 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-24-2017, 05:10 AM
  2. multiple pivot table filters
    By karthikck in forum Excel General
    Replies: 1
    Last Post: 09-27-2016, 03:53 PM
  3. [SOLVED] VBA to allow multiple value filters in a pivot table
    By indub in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2015, 03:10 PM
  4. Pivot table multiple filters
    By visualuk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2012, 09:38 AM
  5. Multiple Pivot Table Filters (Example Attached)
    By elmiko in forum Excel General
    Replies: 3
    Last Post: 09-30-2010, 07:39 AM
  6. Multiple Pivot Table Filters
    By cucrose in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-22-2010, 10:33 AM
  7. Selecting multiple filters in a pivot table
    By Anne in forum Excel General
    Replies: 1
    Last Post: 10-10-2005, 07:05 PM

Tags for this Thread

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