Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Filter Help

PeterMF95
5 - Atom

Hi - I have a bunch of monthly data for different people from 1.1-12.31. I want to create a filter that takes the First and Last Month for each person however, some people have different starting months i.e. 1.1, 3.1, 6.1 etc.. Is there a way to create a filter that takes the first and last month?

5 REPLIES 5
danilang
19 - Altair
19 - Altair

Hi @PeterMF95 

 

Your question is open to a few interpretations.  Could you share some sample data and the results of what you're looking for?

 

Thanks

 

Dan

PeterMF95
5 - Atom

Here is an example of the data.

MarqueeCrew
20 - Arcturus
20 - Arcturus

@PeterMF95 ,

 

Filter help is solved using No FILTER tools.  It uses the SAMPLE tool to find first and last and then unions and sorts the data back together.  A CReW macro is used to prove that the solution works.

 

capture.png

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
danilang
19 - Altair
19 - Altair

Hi @PeterMF95 

 

A different solution from @MarqueeCrew's.  Same result...still no filter tools

 

WF.png

The Summarize tool gets the min and max for each client and then joins the data back to originals to give the final list

 

Results.png

 

 

Dan 

PeterMF95
5 - Atom

Great! Thank you for your help

Labels