Alteryx Designer Desktop Discussions

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

Calculate Age of DoB for specific year

PamG
7 - Meteor

 

I would like to know how to handle DoB of individuals for a particular year e.g. in the image below are DOBs for Users in the 2020 and how old there were in that year.

 

PamG_0-1669642309740.png

 

However, some of the DoB is recorded as 1Jan1901 so they're 120yrs old or even 0 or 1 yrs old!

 

I need to be able to compose a workflow/formula to exclude all those Users who are under the age of e.g 16yrs old and over 99yrs older.

 

I hope you can help us out, and very big thanks in advance

2 REPLIES 2
DataNath
17 - Castor

Hey @PamG you should just be able to use a Filter tool with the following expression:

 

[2020:Age of User] > 15
AND
[2020:Age of User] < 100
gautiergodard
13 - Pulsar

Hey @PamG 

Here is one way you could do this:

gautiergodard_0-1669643888784.png

 

Hope this helps!

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels