Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

Any alternate way to read previous row data

Sashikumar
8 - Asteroid

Mulit row formula is not available in ALTERYX CLOUD. 
To read previous ROW-1 or ROW+1 records , is there any alternate solution available to achieve this function by using FORMULA TOOL?

2 REPLIES 2
AkimasaKajitani
17 - Castor
17 - Castor

Hi @Sashikumar ,

 

If you only want to read previous/after row, there is a solution.

 

1. Add the row ID by RowID tool

2. Add minus/plus 1 to RowID into new field (e.g. RowID2)

3. Join 1 and 2

 

Workflow

 

スクリーンショット 2023-12-27 091907.png

 

Input

スクリーンショット 2023-12-27 091614.png

Output

スクリーンショット 2023-12-27 091602.png

Please copy and paste the sampewf.txt(Ctrl + v) on Designer Cloud.

Sashikumar
8 - Asteroid

Thanks for your suggestion. 👏