In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Help with Multi-Row Formula

Tristan
5 - Atom

Hello,

 

Currently having an issue with a multi-row formula, I'm looking at the regional changes of the trucks and I would like the regional count to increase every time the region changes for each truck, as per the example in the excel document highlighted in yellow.

 

Many thanks for your help in advance,

 

Regards,

 

Tristan & Iain

3 REPLIES 3
JohnJPS
15 - Aurora

Group by NAME, and try a formula like this:

IIF([REGION] == [Row-1:REGION],[Row-1:SomeNewField],[Row-1:SomeNewField]+1)

... where I'm creating [someNewField] in my formula.

 

Grouping on Name will get you the re-numbering by name; and the above formula increments each time the region changes.

Hope that helps!

John

rarmstrong
8 - Asteroid

You can try this

Tristan
5 - Atom

Many thanks for your responses - you've solved our problem!

 

Thanks,

Tristan

Labels
Top Solution Authors