In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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 #41: Analytics PayPeriodCalc

gawa
16 - Nebula
16 - Nebula

I wanna get paid twice

Spoiler
image.png
gawa
16 - Nebula
16 - Nebula

Solution attached

Rana_Kareem
9 - Comet
Spoiler
Challenge 41.png

Dani_Lin
8 - Asteroid

solved

MDestra
8 - Asteroid

Challenge #41:

 

 

Spoiler
flow
challenge_41_start_file - MD.PNG

Formulas:

Spoiler

Give everyday a number:

Switch(DateTimeFormat([Start],"%a"),

       0,

       "Sun",0,

       "Mon",1,

       "Tue",2,

       "Wed",3,

       "Thu",4,

       "Fri",5,

       "Sat",6)

 

Formula for days diff:

IIF([Start]>[End],

    Null(),

    1 +

    ((DateTimeDiff([End],[Start],"days")*5 - ([StartWeekday]-[EndWeekday])*2) / 7) +

    IIF([EndWeekday]==6,-1,0) +

    IIF([StartWeekday]==0,-1,0)

)

 

 

 

lwolfie
11 - Bolide

Solved

Stacies
7 - Meteor

Solved

MattPett
6 - Meteoroid

Very helpful, would love to go back and solve with RegEx tool!

Tgigs
8 - Asteroid

My solution attached

dwstada
11 - Bolide

my solution :)

 

Spoiler
c41.PNG