community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
#SANTALYTICS

The highly anticipated Alteryx Community tradition is back! We hope you'll join us!

Learn More
SOLVED

Filter Help

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?

Nebula
Nebula

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

Here is an example of the data.

Alteryx Certified Partner
Alteryx Certified Partner

@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 reboot. Order shall return.
Nebula
Nebula

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 

Great! Thank you for your help

Labels