ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Formula For Assigning Benefits Effective Date

katherinetdavita
アステロイド

Hello-

 

I'm building a workflow to generate an eligibility file and I need either a formula and/or filter to capture benefits eligibility date based on Hire Date, then only send those that are eligible on the date the file is generated.

 

Criteria for eligibility is first day of the month following one month of employment

 

I've looked at some other posts for date time add but am struggling and on a deadline.

 

Thanks!

5件の返信5
BS_THE_ANALYST
15 - Aurora
15 - Aurora

@katherinetdavita perhaps something like this could help. You may need to tweak the filtering logic at the end:

Sample input:

BS_THE_ANALYST_0-1680203394788.png

Adding one month to the hire date:

BS_THE_ANALYST_1-1680203406908.png

Some filtering logic:

BS_THE_ANALYST_2-1680203426690.png

Last step (if you want this one). You could send those eligible people an e-mail, or you can just output the file as a CSV etc:

BS_THE_ANALYST_3-1680203483721.png

 

 

 

All the best,
BS

LinkedIN

Bulien
katherinetdavita
アステロイド

Hi- Thanks for this, but the eligibility is a little more complicated than just adding a month.

 

For example, if an employee's hire date is today, 3/30/23, they are not eligible until 5/1/2023

But if their hire date is 4/1/2023, they're eligible 5/1/2023

 

I'd also rather not have to change the filter date when it runs weekly, but instead filter based on the eligibility date and run date.

RobertOdera
パルサー

Hi, @katherinetdavita 

 

Check out the below.

I hope you find it helpful - Cheers!

 

RobertOdera_0-1680229248706.png

 

katherinetdavita
アステロイド

Wow, this is so cool. I'm going to try it out later today! Thanks so much!

 

RobertOdera
パルサー

You're most welcome @katherinetdavita!

ラベル
トップのソリューション投稿者