+ Reply to Thread
Results 1 to 3 of 3

Is there a way to write a code to custom date filter on report filter of a Pivot Table ?

  1. #1
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Is there a way to write a code to custom date filter on report filter of a Pivot Table ?

    If the Date data as Row Label, I see that I can do the custom filter such as "is before".
    But there is no option to do like that if the Date data as Report Filter (Page Field).

    Any kind of help would be greatly appreciated.
    Thank you in advanced.

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Is there a way to write a code to custom date filter on report filter of a Pivot Table

    I would make one column extra in your data and make a condition whether or not your date is in the range that you want to have, and add this colomn to your pivot (as Filter).

    Cheers
    Erwin
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: Is there a way to write a code to custom date filter on report filter of a Pivot Table

    Thank you for the suggestion, Eastwood.
    I will try that.

+ 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. Replies: 0
    Last Post: 07-14-2016, 03:51 PM
  2. How to create date RANGES in pivot table report filter?
    By TylerB2 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-28-2015, 03:34 PM
  3. [SOLVED] How to set a 'Date Filter' on a field in the 'Report Filter' section of a Pivot Table?
    By Rhino_dance in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-28-2013, 11:01 AM
  4. Pivot Table - Date Report Filter
    By nathanB in forum Excel General
    Replies: 2
    Last Post: 11-28-2012, 08:40 AM
  5. Creating a Custom Pivot Table Report Filter
    By csivell in forum Excel General
    Replies: 0
    Last Post: 08-08-2012, 02:21 PM
  6. Custom order in Report Filter for Pivot table
    By papvan33 in forum Excel General
    Replies: 0
    Last Post: 04-20-2011, 04:50 AM
  7. Place a number filter on a report filter in a pivot table
    By reuben.doetsch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-01-2010, 12:41 PM

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