Alteryx Designer Desktop Discussions

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

Creating a new Group Column based on a condition

madhurinani
8 - Asteroid

Hello,

I am stuck in 2 conditions that I need to create as part of my workflow.

Below is my input file screenshot.

madhurinani_0-1658742786666.png

 

Now I need to create a Tag/Group column that would group the rows based on number of rows above _total value in colunm Name

Eg.

madhurinani_1-1658742921421.png

The rows that are above the _total value should be grouped as A then the next set of rows should be grouped together until they reach the previous _total value.

 

I tried using the Multi-row formula but it didnt work out.

 

NameNumbercount
test51
rain61
ESOP72
_total184
rain15
zoom26
ESOP37
_total68

 

Any help would be appreciated

 

Thanks!

4 REPLIES 4
messi007
15 - Aurora
15 - Aurora

@madhurinani,

 

Please see below :

 

messi007_0-1658744518576.png

 

Attached the workflow,

Regards,

madhurinani
8 - Asteroid

@messi007 : That worked like a charm. Thank you so much for your prompt response of my problem.

ArtApa
Alteryx
Alteryx

Hi @madhurinani - Hope this will help:

ArtApa_0-1658746064225.png

 

messi007
15 - Aurora
15 - Aurora

@madhurinani,

 

Happy to help :)

 

Regards,

Labels