Alteryx Designer Desktop Discussions

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

Creating a count that restarts every blank cell

mattpwc
6 - Meteoroid

Hi All,

 

I have attached an example of what I am trying to do below. I want to create a count in the Ref ID field that starts the count when the Duplicate ID field is populated and Duplicate FileName is null, then I want it to assign that same number until the next instance where Duplicate ID is populated and Duplicate FileName is blank.

 

Maybe it is easier to have the count start when Duplicate FileName is null and only move to the next number the next time Duplicate FileName is blank?

 

Let me know your thoughts/solutions and thank you so much for the help!

 

Best,

 

M

 

mattpwc_0-1583859070609.png

 

4 REPLIES 4
fmvizcaino
17 - Castor
17 - Castor

Hi @mattpwc ,

 

You can achieve that by using a multi-row formula tool

fmvizcaino_0-1583860241311.png

 

 

Best,

Fernando Vizcaino

Simha
9 - Comet

Here you go...

 

Simha_1-1583860461967.png

 

 

kylemhabe
8 - Asteroid

You can use the formula tool along with the running total to accomplish this as well. 

 

kylemhabe_0-1583860506308.png

 

kylemhabe_1-1583860540686.png

 

kylemhabe_2-1583860567755.pngkylemhabe_3-1583860595119.png

 

 

mattpwc
6 - Meteoroid

Thank you @kylemhabe this is perfect!

Labels