Alteryx Designer Desktop Discussions

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

Sum amount by grouping consecutive dates with 1 day of interval

Vignesh_Raja
6 - Meteoroid

The column amount needs to be summarized based on consecutive dates with 1 day of interval with group by of Name.

 

Sample Input

Vignesh_Raja_2-1580731990846.png

 

Sample Output

Vignesh_Raja_1-1580731681985.png

 

Expecting your response at the earliest.

 

2 REPLIES 2
danilang
19 - Altair
19 - Altair

Hi @Vignesh_Raja 

 

w.png

The tricky part in this one is determining which rows to group together.  This is done in the multirow tool which starts a new group if the elapsed time is greater than one day for the current Name.  Summarize and clean up leaves you with

 

r.png 

 

Dan

MarqueeCrew
20 - Arcturus
20 - Arcturus

@Vignesh_Raja ,

 

Your incoming data example seems to be in error.  The first and second groups are consecutive.  Here's a solution for you however:

 

capture.png

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels