Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Adding consecutive rows based on consecutive dates

DanielCarro
8 - Asteroid

Hi guys,

 

I have a small situation and any advice will be appreciated.

 

In the output, I need to add the days as per the consecutive dates. In DATE2 DAY WEEKDATE, this column has taken care of any weekend dates.

I couldn't try the summarize too as I can't group  these due to having different dates.

As well, I tried the multi-row formula and not working either.

 

input:

IDTYPEDATEDATE2 DAY WEEKDATEDAYS 
3865Holidays 02/07/202403/07/20240.5 
3865Holidays 03/07/202404/07/20241 
3865Holidays 04/07/202405/07/20241 
3865Holidays 05/07/202408/07/20241 
3865Holidays 08/07/202409/07/20241 
3865Holidays 09/07/202410/07/20241 
3865Holidays 10/07/202411/07/20241 
3865Holidays 30/07/202431/07/20241 
3929Holidays 04/07/202405/07/20241 
3929Holidays 05/07/202408/07/20241 
3929Holidays 12/07/202415/07/20241 
3929Holidays 19/07/202422/07/20241 

 

Output:

IDTYPEDATEDATE2 DAY WEEKDATEDAYS 
3865Holidays 02/07/202403/07/20246.5 
3865Holidays 30/07/202431/07/20241 
3929Holidays 04/07/202405/07/20242 
3929Holidays 19/07/202422/07/20241 
      
      
      

 

Kind Regards,

Dan

3 REPLIES 3
Raj
16 - Nebula

@DanielCarro 
find the workflow attached
mark done if solved.

ChrisTX
16 - Nebula
16 - Nebula

I didn't get the same result as your expected output.  Not sure I understood the assignment.

 

Hopefully this will point you in the right direction.  The primary tool is the Multi-Row Formula tool.

 

Screenshot 2024-09-19 061928.png

Chris

DanielCarro
8 - Asteroid

Hi @Raj ,

 

Your solution worked. Thank you so much.

Labels
Top Solution Authors