Alteryx Designer Desktop Discussions

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

dynamically add new column when having identical values in column and conditioned on date

Kk_larsen
8 - Asteroid

Hi all

 

I have this dataset where i would like to dynamically add a column that specifies the number of repeated values in a specific column depending on the timestamp. 

 

For instance if we have a timestamp user name and ID, if two ID's are identical the we should add a new column saying execution 1 for the one that has the earliest timestmap and 2 for the second earliest etc. 

 

Do anyone know if that is possible?

 

Example

input

Katinka_S_Klepsch_0-1598814283704.png

 

 

Output

Katinka_S_Klepsch_1-1598814316558.png

 

3 REPLIES 3
ImadZidan
12 - Quasar

Hello @Kk_larsen ,

 

This is an idea.

 

vizAlter
12 - Quasar

Hi @Kk_larsen  — Hope the attached solution will be helpful, if not let me know.

.

 

vizAlter_0-1598823738893.png

 


If this post assists in resolving the question, please mark it "Like", or "Solved" with a Like if it resolves the question. This will help other users find the same answer/resolution.  Thank you.

Kk_larsen
8 - Asteroid

Thank you worked perfectly!

Labels