Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Filtering with Dates

kayla_o
7 - Meteor

Hi all, I'm trying to come up with a solution where I can filter on any dates that are within 90 days or less than other date.  Ideally, I want to have an output similar to the 3rd column. 

 

Example:

 

Date 1 Date 2 Within 90 days
2022-04-012023-01-010
2022-05-012022-07-011
2022-05-012023-04-010
2023-01-012023-07-010
2023-06-012023-07-011
2 REPLIES 2
ShankerV
17 - Castor

Hi @kayla_o 

 

Please use the below formula in the Formula too.

 

IF DateTimeDiff([Date 2 ],[Date 1 ],"days")>90
THEN 0
ELSE 1
ENDIF

 

Many thanks

Shanker V

kayla_o
7 - Meteor

thanks!

Labels
Top Solution Authors