Alteryx Designer Desktop Discussions

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

Identify value based on date range

dsevilimedu
7 - Meteor

Hi all,

 

I have two inputs.

Input 1 has headers - Account, Period, From, To. 

dsevilimedu_4-1674848164448.png

 

Input 2 has headers - Account, Date. Period is what I want the workflow to identify. Input 2 looks like it has duplicates but its not because $ posted will be different for each date, so I cannot delete duplicates

dsevilimedu_2-1674848012736.png

 

Output:

Input 2 has entries posted for each account by date. I want to find from input 1, in which period a particular entry in input 2 belongs to. For example: 789101, entry posted on 07/31/2016 falls into period 1  based on the date range in input 1. 08/01/2016 falls into the period 2 based on the date range in input 1., so on and so forth. If data falls outside the range, it should be labelled as "Outside the period".

 

Below is my desired output

 

dsevilimedu_3-1674848049389.png

Attaching the files, and the workflow I tried. I missing something in my workflow. Not sure what it is.

 

Thanks for looking into this.



3 REPLIES 3
binuacs
20 - Arcturus

@dsevilimedu Can you check if this is what you are looking for?

 

binuacs_0-1674851266676.png

 

dsevilimedu
7 - Meteor

@binuacs I am unable to open the workflow. 

binuacs
20 - Arcturus

@dsevilimedu attaching the workflow again. Let me know if you face any issues 

 

Labels