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 #456: Holiday Side Hustle Earnings

Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Happy holidays!

 

Spoiler
Workflow
  workflow.png

Multi-Field Formula

DateTimeParse([_CurrentField_], "%m/%d/%Y")

Generate Rows
Initialization Expression : [Start_Date]
Condition Expression :      [Date] <= [End_Date]
Loop Expression :           DateTimeAdd([Date], 1, "day")

Formula
DayOfWeek = DateTimeFormat([Date], "%a")
isWeekend = [DayOfWeek] IN ("Sat", "Sun")
hours = 
  IF [isWeekend]
  THEN 10 // weekends 10 hours
  ELSE 4  // weekdays 4 hours
  ENDIF
hours = 
  IF [DayOfWeek] = "Thu" // Thursdays off
  OR [Date] IN ("2024-12-25", "2025-01-01") // holidays off
  THEN 0
  ELSE [hours]
  ENDIF
pay = 15 * [hours]

 

 

Qiu
21 - Polaris
21 - Polaris

@ydmuley 
Thanks for the fun challenge.

Spoiler
Challenge 456.png
alacoume
9 - Comet

I had trouble to find the good result because i thought that the start date was in february... 

 

Spoiler
Challenge_456.jpg

Dhrish
8 - Asteroid
Spoiler
Capture.JPG
KMan_
8 - Asteroid
Spoiler
image.png
olga_strubbe
11 - Bolide

 Thank you,  Yughandar Muley, @ydmuley    This was a fun and  timely challenge in time for the holidays.  Happy holidays!!

Spoiler
2024-12-24_10-22-29.png
KLTerrell
8 - Asteroid
Spoiler
Alteryx Challenge 456.png

beatriz_alteryx06
8 - Asteroid

 

Spoiler
Captura de tela 2024-12-26 101203.png
Archit_11
7 - Meteor
Spoiler
456.png

ggruccio
ACE Emeritus
ACE Emeritus

Fun with the DateTime Tool

 

Screenshot 2024-12-26 141623.png