We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Create Group ID Based on Null Row

andrewplaice
8 - Asteroid

Hi all,

 

Likely easy for you, not so much for me.  I am trying to create a sequential group ID for rows of data.  My data can look something like this (number of rows and data values will vary, but are numeric):

 

Data

1

1

1

[Null]

4

4

[Null]

1

1

[Null]

 

And I would like to create a group value that groups data above the null:

 

Group    Data

1            1

1            1

1            1

              [Null]

2            4

2            4

              [Null]

3            1

3            1

 

Appreciate your help as always!

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @andrewplaice 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1605111305118.png

 

Workflow:

atcodedog05_1-1605111322142.png

 

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

andrewplaice
8 - Asteroid

Thanks much!

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @andrewplaice 

 

Cheers and Happy Analyzing 😀

Labels
Top Solution Authors