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.
SOLVED

Date Time Add using the row above

G_SAND
8 - Asteroid

Hi All

 

I have used the Alteryx help section on Date Time to understand how to add months to a date but am having difficulty applying it.

Here is my data set:

Tile SeqMatTileDateTotalRight_Date Right_Date

1

ABC122018-01-01

4

2018-03-01 2018-03-01
1ABC122018-02-0162018-03-01 2018-04-01
1ABC122018-03-0182018-03-01 2018-05-01
1ABC122018-04-01102018-03-01 2018-06-01
2DEF222018-01-0112018-02-01 2018-02-01
2DEF222018-02-0122018-02-01 2018-03-01
2DEF222018-03-0142018-02-01 2018-04-01
2DEF222018-04-0182018-02-01 2018-05-01

 

The first 'Right_Date' column is what I already have, and the second is what I want to achieve.

 

Based on either the change in Tile Seq N# or MAT number I want to add a month from the first date in the right date column and continue down until we reach the next Tile Seq or MAT number.

 

Another one that I am sure is easy but I just can't get to function.

 

Thanks

4 REPLIES 4
LordNeilLord
15 - Aurora

Hi,

 

Multi-Row formula is your friend here:

 

DateAdd.PNG

G_SAND
8 - Asteroid

Thanks @LordNeilLord

 

It was the 'IsNull' bit that I was missing - I'm sure I'll learn one day!

G_SAND
8 - Asteroid

Next Challenge

I thought I would at least give this one a go myself but I can seem to get it working.

 

Now I have the date  part right, I now want to bring in the corresponding total for that specific date

 

Tile SeqMatTileDateTotalNew DateNew Total
1ABC122018-01-0142018-03-018
1ABC122018-02-0162018-04-0110
1ABC122018-03-0182018-05-01 
1ABC122018-04-01102018-06-01 
2DEF222018-01-0112018-02-012
2DEF222018-02-0122018-03-014
2DEF222018-03-0142018-04-018
2DEF222018-04-0182018-05-01 

 

I can't use an If Row+X:Date as it can vary between materials.

 

Another easy one I'm sure

LordNeilLord
15 - Aurora

Hi,

 

Use the summarize tool to sum the value against each date (grouped by Tile Seq & Mat) then join the streams back together.

 

DateAdd2.PNG

Labels