Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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