Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Filter based on output value

akasubi
8 - Asteroid

One part of my workflow calculates a "max date" based on some conditions and outputs this value. I would then like to apply a filter to the other part of the workflow so that date is less than or equal to this max date. What is the best way to do this?

 

date <= max(date)

 

Note: all done via in-db

 

Thanks!

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

If you use a formula and create a new field with the value of "1" 

 

using the summarize, group by that constant field and find your maxdate(). 

now you can join back on the constant and it will apply the maxdate to everything. 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
akasubi
8 - Asteroid

Thank you!

 

This has done the job 🙂😃

Labels