Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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
10 - Fireball
10 - Fireball

@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
pilsworth-bulien-com
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.