Alteryx Designer Desktop Discussions

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

Data (time) slicer

chrissgtan
7 - Meteor

Hi Alteryx Community, looking for a way to slice the input data in "Data slicer example (input output).yxmd" into output data shown in the same yxmd.

I also attached a screen-shot from Excel to illustrate how the slice is done manually

Thanks so much, I really appreciate your suggestion(s)

😀

5 REPLIES 5
ShankerV
17 - Castor

Hi @chrissgtan 

 

One way of doing this.

 

ShankerV_0-1682977364230.png

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @chrissgtan 

 

Step 1: Input

 

ShankerV_0-1682977458807.png

 

 

Step 2: 

 

ShankerV_1-1682977481369.png

 

ShankerV_3-1682977508167.png

 

Step 3: 

 

ShankerV_4-1682977541989.png

 

datetimeadd(datetimetoday()+" "+[Temp],[Duration (mins)],"minutes")

 

ShankerV_5-1682977564617.png

 

Step 4:

 

ShankerV_6-1682977600655.png

 

datetimetoday()+" "+[RC] < datetimetoday()+" "+[Temp1]

 

datetimeadd(datetimetoday()+" "+[RC],15,"minutes")

 

 

ShankerV_7-1682977619226.png

 

Step 5: 

 

ShankerV_8-1682977664251.png

 

ShankerV_9-1682977674431.png

 

Many thanks

Shanker V

binuacs
20 - Arcturus

@chrissgtan One way of doing this

binuacs_0-1682979942837.png

 

chrissgtan
7 - Meteor

Thanks @ShankerV I learned another use of the DateTime parse and GenerateRows tools

chrissgtan
7 - Meteor

Thanks @binuacs I learned another use of the Multi-field formula and GenerateRows tools

Labels