Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Add a count number to transactions

AlterCom
8 - Asteroid

Hi All,

 

I want to figure out the way to add a count number to transactions. 

 

idTransaction statusCount Number
1Start1
1in_between 1
1in_between1
1end1
1start2
1end2
1start3
1start4
1start5

 

The problem I'm facing is I can't use group by in summarize tool to achieve this. Any other way around?

 

TIA!

2 REPLIES 2
danilang
19 - Altair
19 - Altair

Hi @AlterCom 

 

You can use a Multi-row tool configured like this

 

result.png

 

Every time it comes across the word "start" it increments the count.  if the Trans status isn't "start", it uses the count from the previous row.  See Attached WF

 

Dan

AlterCom
8 - Asteroid

Thanks @danilang ! 

Labels