Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Multi Row Count Nulls Grouped by ID

alpro-23
7 - Meteor

Hi folks!

 

Easy question on multirow formula. I am not acquainted with this tool as it may seem a little daunting for me.


I need to count the number of null rows above a certain number. See column on "ItemsCompletedOnDay". On '2021-06-21", I should have '4' in my newly created column. On '2021-06-18', it should be 3. So technically the newly created feature will have a rolling count starting from 0 , 1, 2 , 3, 4, 0 (because on 2021-06-21, we have '2' items completed. 

 

alpro23_0-1656572890002.png

 

Dragged a dataset for your convenience. Would love if someone could quickly help me! Thank you. 

 

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@alpro-23 
You will like the Multi-Row formula tool once you get acquianted with it. 😂

Basically we assign 0 for the new column if the Colum "ItemsCompletedOnDay" is not Null, then add 1 if it is.

0630-alpro-23.PNG

binuacs
20 - Arcturus

@alpro-23 One way of doing this with the Multi-Row formula tool

binuacs_0-1656573996432.png

 

Labels