Alteryx Designer Desktop Discussions

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

Multi-Row Formula according to Tile grouping

sahartz
8 - Asteroid

Hi All,

 

I have data per customer (1st column) and I want to check if there is a change in the Country per customer (check changes in column 'Newcountry_ChangeLog')

 

sahartz_0-1681397902813.png

 

I used the 'Multi-Row Formula' tool, but the formula is checking also the next customer and I want to check per customer.

the formula I used -

sahartz_1-1681398119273.png

 

and the results I got -

sahartz_2-1681398174550.png

 

 

In actual the last line per customer should not show any change in the address, so the marked lines should be 'NoChange'

sahartz_3-1681398250133.png

 

what I am doing wrong?

 

Thanks

Sahar

5 REPLIES 5
PhilipMannering
16 - Nebula
16 - Nebula

Try referencing the row above ([Row-1:Newcountry_ChangeLog]), rather than the row ahead. This should solve your issue.

sahartz
8 - Asteroid

@PhilipMannering 

So I got the first row incorrect...

PhilipMannering
16 - Nebula
16 - Nebula

Sorry, I mean you should use Row-1 where you have used Row+1, so:

If [Newcountry_ChangeLog] != [Row-1:Newcountry_ChangeLog]
then 'Change'
else 'No Change'
endif
sahartz
8 - Asteroid

PhilipMannering

thanks for all your help :) 

but same problem. Marked lines should show 'NoChange'

sahartz_0-1681399153447.png

 

PhilipMannering
16 - Nebula
16 - Nebula

Try changing Values for Rows that don't Exist to Closest Valid Row,

PhilipMannering_0-1681399385536.png

 

Labels