How to set the date filter in an excel pivot table to “Before =TODAY()”

I have a pivot table that needs to be filtered to show all the records before the current date.  Here is the way that I do it right now.  Date Filters>Before> (Today’s date).  It will not accept “=TODAY()” as the value, so I have to manually set this every day.  Is there another way to accomplish this?
kbay808Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kbay808Author Commented:
I could not get it to work.  I attached the workbook so you can see what I’m working with along with the key data for the macro.
Open-Tickets-Report-v2.2.xlsx
Table-and-field-names.txt
0
Rob HensonFinance AnalystCommented:
Add a column to the source data with the following formula, assuming date is in column A:

=A1<TODAY()

This will return TRUE or FALSE.

If you then add the column into the Pivot Table you can filter on TRUE.

Thanks
Rob H
1
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

kbay808Author Commented:
Using "=A1<TODAY()" won't work, because the field also contain blanks.
1
Rob HensonFinance AnalystCommented:
I can't see from the file which date you are trying to compare with TODAY() but if the field in question has blanks within it then include the comparison in an IF statement:

=IF(A1="","",A1<TODAY())

This will return "" or TRUE or FALSE.

Thanks
Rob H
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kbay808Author Commented:
That worked perfectly.  Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.