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

Select rows within a group that match a condition

yatish1164
7 - Meteor

Data:

yatish1164_0-1640852373817.png

I have this problem where I only want to pick rows from a "group" where the "% of total" for those rows is greater than 75%.

 

For example: (the data is sorted by group first and then % of Total in Descending order so that I can pick the highest % first)

 

In group one, Alteryx should only consider Apple and Google since together they are more than 75% and ignore Meta for group 1.

 

For group 2, it should take apple, google, Meta and Amazon.

 

Any help is highly appreciated

2 REPLIES 2
r_manju02
8 - Asteroid

Hi,

 

You can make use of Running Total and Multi-row formula (refer attached workflow).

yatish1164
7 - Meteor

Thank you @r_manju02 🙂 Very smart trick! 

Labels
Top Solution Authors