The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #494: Pay Period End Dates

Kenda
16 - Nebula
16 - Nebula

Not sure how many work hours @mkeiffer is logging this week from HI 😉

mkeiffer
11 - Bolide
11 - Bolide

@Kenda Still have two more days in Hawaii, but you are quite correct. Not doing too much work this week. 

mmontgomery
11 - Bolide
11 - Bolide

C494.

Spoiler
Found a way to use TS Filler!c494.jpg
abacon
13 - Pulsar

Another fun one!

 

Spoiler
image.png
JAKupchik
8 - Asteroid

Here is my solution.  Thanks!  JAK

 

Challenge 494 JAK picture.png

olga_strubbe
11 - Bolide

Thank you, Michael, @mkeiffer

This was a fun challenge that could be solved in multiple of ways.  Here is one of  my solutions attached. 

The other solution would be to append the Period End Date to the original input and fillte records where OUT DATE <= Period End Date.  Then sort by Period End Date acsending for each of the records and output the first record for each of the 26 input rows. 

Spoiler
2025-10-15_14-05-03.png
Pilsner
13 - Pulsar

Fun challenge, always nice to get a quick win! 

Spoiler
If larger data were involved, I may have tried to do some different logic with a generate rows and join, instead of append, but for this sample size, I didn't feel the need. 
494.png
TurboToad
11 - Bolide

Started building an iterative macro but then went with a simpler solution. 😀

image.png

aiahwieder
9 - Comet

Sneaky . . .

Spoiler
Don't let the pay periods overlap!
SteveY02
8 - Asteroid

Solved. To my knowlage, there are two method.

Method 1: Using Cross join, following above steps:

1. Adding a constant join key to both table(Check Log and Pay Period). This allow a cross join to combine everything records in each table.

2. Using Filtter and with certain condition(out_date <= period_end_date) to keep only the valid data.

3. Using Summarize Tool to find the earliest  period end date for each record.

 

Method 2: Using Append Fields Tool.
Similar solution as Method 1, Only diference is using append fields tool to attach all periods end date to each records in check log table. The following steps are the same.