Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

To tile or group rows together in a certain order

dominicmakkc
5 - Atom

Hii experts,

I have been doing some data analysis on a robot patrolling record.

For some reason, I try to connect the robot entry & exit record and group the data by " each combination of journey id & robot no." i.e. for each robot they could have different journey id for each time of travelling.

 

The data is in such way

 

joruney idrobot no.areastart timeend time
1F9303A1/12/2019 20:141/12/2019 20:33
3M1605B4/12/2019 20:084/12/2019 20:17
3G5961D3/12/2019 13:263/12/2019 13:34
3G5961H3/12/2019 14:343/12/2019 14:55
3G5961J3/12/2019 14:553/12/2019 15:05
3G5961D3/12/2019 15:053/12/2019 15:12
3G5961E3/12/2019 15:153/12/2019 15:19
3D8321G5/12/2019 12:365/12/2019 12:39
3D8321F5/12/2019 12:545/12/2019 12:55
4G1426C4/12/2019 16:444/12/2019 16:45
4G1426A4/12/2019 16:484/12/2019 16:58
4G1426J4/12/2019 16:584/12/2019 16:59
4G1426C1/12/1900 17:034/12/2019 17:07
4G1426B4/12/2019 17:074/12/2019 17:10
4G1426H4/12/2019 17:144/12/2019 17:23
6M3381A2/12/2019 09:592/12/2019 10:00
6M3381B2/12/2019 10:002/12/2019 10:02
6M3381I2/12/2019 10:022/12/2019 10:06
6M3381A2/12/2019 10:062/12/2019 10:10
6M3381F2/12/2019 10:102/12/2019 10:18

 

I tried to use tile tool with "Tile method>unique value", I chose group by columns but in my case I just don't think any of the column should be ticked as "unique column".


I was supposed my result would look it this:

 

joruney idrobot no.areastart timeend timeTile_NumTile_SequenceNum
1F9303A1/12/2019 20:141/12/2019 20:3311
3M1605B4/12/2019 20:084/12/2019 20:1721
3G5961D3/12/2019 13:263/12/2019 13:3431
3G5961H3/12/2019 14:343/12/2019 14:5532
3G5961J3/12/2019 14:553/12/2019 15:0533
3G5961D3/12/2019 15:053/12/2019 15:1234
3G5961E3/12/2019 15:153/12/2019 15:1935
3D8321G5/12/2019 12:365/12/2019 12:3941
3D8321F5/12/2019 12:545/12/2019 12:5542
4G1426C4/12/2019 16:444/12/2019 16:4551
4G1426A4/12/2019 16:484/12/2019 16:5852
4G1426J4/12/2019 16:584/12/2019 16:5953
4G1426C1/12/1900 17:034/12/2019 17:0754
4G1426B4/12/2019 17:074/12/2019 17:1055
4G1426H4/12/2019 17:144/12/2019 17:2356
6M3381A2/12/2019 9:592/12/2019 10:0061
6M3381B2/12/2019 10:002/12/2019 10:0262
6M3381I2/12/2019 10:022/12/2019 10:0663
6M3381A2/12/2019 10:062/12/2019 10:1064
6M3381F2/12/2019 10:102/12/2019 10:1865

 

 

Is Tile even the right tool to use here? Or should it be another tool like multi row formula?

 

Thanks in advance

 

1 REPLY 1
grossal
15 - Aurora
15 - Aurora

Hi @dominicmakkc.

 

this was trickier than I thought it was.

 

I wasn't able to figure out a way using the Tile tool, but it's pretty simple using the Multi-Row-Formula Tool.

 

grossal_0-1584092438352.png

 

I have attached the sample workflow.

 

If this solved you problem, please consider to accept it as a solution or drop another question if it doesn't.

 

Alex

Labels