Alteryx Designer Cloud Discussions

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

Any alternate way to read previous row data

Sashikumar
Asteroide

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 RESPOSTAS 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
Asteroide

Thanks for your suggestion. 👏