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

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to Pro-rate hours that overlap two months in a given week?

sheidari
8 - Asteroid

Anyone have any ideas on how to solve this? Attached is the sample workflow I created but it doesn’t work as soon once you add another employee with the same week ending period so I’m open to new suggestions. 

the problem I’m trying to solve: I need to pro-rate hours that overlap two months in any given week. 

example: if you have 35 estimated hours for week ending 4/3/2021, then 20 of the hours should move to the prior period, 3/27/2021, since 4 of the days falls into March. the remaining 15 hours should stay in the current period. 

1 REPLY 1
Luke_C
17 - Castor
17 - Castor

I think this is the same as https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-join-two-many-to-many-tables-th...

 

The solution attached there should work for multiple employees. 

Labels
Top Solution Authors