Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Check how many days are missing

Sshasnk
8 - Asteroid

I have a dataset where some of the date is missing I have to fill those rows 

 

Example:

datevalue
2020-12-2112
2020-12-2313
2020-12-2424
2020-12-2847
2020-12-2996
2020-12-3056

 

output:

 

datevaluemissing number of days
2020-12-21121
2020-12-22121
2020-12-2313 
2020-12-24243
2020-12-25243
2020-12-26243
2020-12-27243
2020-12-2847 
2020-12-2996 
2020-12-3056 

 

So, the Number of days missing after the 22nd was 1 day and after 24th was 3 so I have put 3 next to it

2 REPLIES 2
JosephSerpis
17 - Castor
17 - Castor

Hi @Sshasnk an approach would be to use a generate row tools and then also use the Multi-Row tool to produce the output you describe. I've mocked up a workflow that showcases that approach.

 

Misssing_Dates_21012020.JPG

AkimasaKajitani
17 - Castor
17 - Castor

Hi @Sshasnk 

 

The procedure of solution is the below.

1. Calculate diff days by Multi row formula.

2. Generate lack rows by Generate row.

 

 

clip1.png

 

clip3.png

 

 

clip2.png

 

Labels