community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Add a count number to transactions

Highlighted
Meteor

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!

Aurora

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

Meteor

Thanks @danilang ! 

Labels