Alteryx Designer Desktop Discussions

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

Looping through data set

tomnorth94
5 - Atom

Hi,

Here is my problem which I'm trying to automate using alteryx!

Using my pictures as a reference, I want to take the data set in picture 1 and transform it into picture 2. Essentially, I want the data to be able to move in time, i.e. if the reporting date flicks forward a month, then my data will move forward by one month too. 

Picture 1.JPG

 

So I want a workflow that will take the reporting date in pic 1 (i.e. May 2018), then add on a month (like in picture 2). My time series column for June 2018 will now exclude May 2018 and include August 2018. My revenue data will now shift by one cell accordingly. 

 

picture 2.JPG

 

Is this possible to do in alteryx?

If so, would really appreciate some help!

 

Cheers,
Tom.

 

4 REPLIES 4
ponraj
13 - Pulsar

Yes. This is possible in alteryx.  Attaching a sample workflow for your case...

Workflow.PNGResults.PNG

tomnorth94
5 - Atom

Thank you very much!!

tomnorth94
5 - Atom

Next question, how can I make this repeat/loop more than one time? 

i.e. repeat for the next 12 months. 

ponraj
13 - Pulsar

Possible to give sample data with desired output ?

Labels