Free Trial

Cloud Quests

Elevate your workflow skills by solving real-world challenges using the Alteryx Analytics Cloud Platform.

Cloud Quest 35: Pay Period Calculator

AYXAcademy
Alteryx
Alteryx

 

 

Hi Community,

 

We posted the solution JSON file to Cloud Quest #34. Check it out and let us know what you think! Send suggestions to academy@alteryx.com or leave a comment below!

 

 

Let’s dive into this week's quest!

 

  1. Download the provided JSON file containing your starting data and workflow files.
  2. Upload Start Cloud Quest 35.json file to your Analytics Cloud library.
  3. All necessary datasets are contained within Text Input tools in the workflow.

For more detailed instructions on how to import and export Designer Cloud workflow files, check out the pinned article Cloud Quest Submission Process.

 

 

 

 

Scenario:

You work for a company that pays employees twice a month, so the number of days in each pay period can vary. Your task is to:

 

• Calculate the number of weekdays (excluding weekends) in each pay period for every month.

• Sort the output in ascending order by date.

Hint: Use the Generate Rows tool to fill in the days between P1/P2 Start and End values.

Image and dataset generated by ChatGPT, May 27, 2025, OpenAI, https://chat.openai.com.

 

 

Earn Cloud Quest badges:

 

After completing your quest, head back to your Analytics Cloud library:

  • Download your workflow solution file.
  • In your reply, attach both your JSON solution file and a screenshot of your workflow.
  • Keep submitting—every solution gets you closer to earning more Cloud Quest badges!

 

Here’s to a successful quest!

- The Academy Team

 

 

Download Start File

JeffF
Alteryx
Alteryx

Solved two ways.

Spoiler
CloudQuest35_JeffF.png
Qiu
21 - Polaris
21 - Polaris

@JeffF Nicely done with the function of DateTimeWorkDays.

I will just go with the conventional way. 😊

Spoiler
Quest_35.png

 

patrick_digan
17 - Castor
17 - Castor
Spoiler
image.png
Carolyn
12 - Quasar
12 - Quasar

Solved!

 

I forgot about the DateTimeWorkdays formula. I even thought about how I thought it was a thing, but then was lazy and just did it the long way :D 

 

Spoiler
2025-05-29_16-23-25.png
Qiu
21 - Polaris
21 - Polaris

@patrick_digan 
Very simple and elegant 👍

RWvanLeeuwen
11 - Bolide

Here's my take (just 3 tools, including a Select tool)

Spoiler
Cloud Quest 35 RWvL.png
alexnajm
18 - Pollux
18 - Pollux

Done!

Spoiler
quest 35 screenshot.png
jkv0019
8 - Asteroid

Submission attached

AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Spoiler
image.png

I'm surprised at being able to use the DateTimeWorkDays formula in cloud because it is the new feature in the Designer Desktop version 2025.