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

Moving counter of content present in two columns

andreassh
5 - Atom

I have a challenge that i would like to calculate a moving counter where i count in the content of two columns. (see attached picture)

In excel, it is pretty easy as i can just use the countif function to see how many instances a given value has been present in all rows above in both column column BID1 and BID2.

I have tried using the tile block but it does not seem to work with two columns.

 

 

 

3 REPLIES 3
Raj
16 - Nebula

@andreassh 
find the workflow attached
mark done if solved.

andreassh
5 - Atom

Thanks so much for the effort @Raj ! The code does not work at all times however.. If just it was as easy as in excel.. See the excel sheet and/or picture attached:

Raj
16 - Nebula

@andreassh 
this is updated and now this work perfectly
the reason of 8 F records is row A539 null and as per logic the workflow works fine now

mark solutions done if solved

Labels
Top Solution Authors