In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Date now -7

Plewis1
8 - Asteroid

I have a workflow that runs once a week. The data appends to a excel sheet and stacks itself. I am trying get the filter tool to run that day the data is pulled plus 7 days back every week. Any help would be appreciated. Also I don't have any time in the column, so do I also need to build the formula in a way that excludes time? 

 

Thank you

11 REPLIES 11
Phill
8 - Asteroid

@RolandSchubert your comments here where really useful. I'm doing the same thing but I notice the filter is including today, do you know how I can exclude it?

 

Thanks

RolandSchubert
16 - Nebula
16 - Nebula

Hi @Phill ,

 

I think, you could add a second condition to the filter statement to exclude today, it would look like this:

[Date] >= DateTimeAdd(DateTimeToday(), -7, "days")
AND
[Date] < DateTimeToday()

 

The first part selects all days starting last week, the second part limits it to all days before today.

 

Does that help?

 

Best,

 

Roland

 

 

Labels
Top Solution Authors