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!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sort Dates For Each employee

Kavya132017
8 - Asteroid

Hey everyone,

 

I need to sort dates for each employee ID, and it should remain same after using it in any join condition also.

 

How can I acheive that? attached sample data.

 

Thanks in advance

 

5 REPLIES 5
Raj
16 - Nebula

Raj_0-1684500005760.png


hope this help

please check your input i think you messed up with dates.

gautiergodard
13 - Pulsar

hey @Kavya132017 

here is one way to do it:

gautiergodard_0-1684500093616.png

 

cjaneczko
13 - Pulsar

Using a sort tool and sort by ID, Date, Role. Joins will sometimes resort so you may have to add the sort back in after the join. 

cjaneczko_0-1684500150832.png

cjaneczko_2-1684500193890.png

 

cjaneczko_1-1684500166923.png

 

 

cjaneczko
13 - Pulsar

In looking at your output, what are you sorting on? It looks like its Seniority? If thats the case you may need to add a reference key to rank the Senior manager down to Intern and use that as your sort method.

cjaneczko
13 - Pulsar

Try This.

 

cjaneczko_0-1684500692011.pngcjaneczko_1-1684500708207.png

 

Labels
Top Solution Authors