Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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