Alteryx Designer Desktop Discussions

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

Matching date between two columns having start and end date

I2ufu5
6 - Meteoroid

Hi,
I want to create a macro that matches a date to a specific period of time, based on two dates (start and end date of specific period).
As an input it gets a column containing dates and outputs two columns, first with that date and the second with value describing a period.

It also needs to load a file containing 3 columns, a start date, end date and description of periods and use it to match the dates with period description.

Are there any suggestions? I can also change the file containing periods if you have some other ideas.

Thanks

3 REPLIES 3
afv2688
16 - Nebula
16 - Nebula

Hello @I2ufu5 ,

 

Could you share an example of the expected inputs and outputs. Might help to clarify what you expect.

 

Regards

pedrodrfaria
13 - Pulsar

Hi @I2ufu5 

 

If I understood it correctly, you are looking for something similar to this:

 

pedrodrfaria_0-1613481081366.png

Pedro.

afv2688
16 - Nebula
16 - Nebula

As per your description, this is what I think you want:

 

Untitled.png

 

Regards

Labels