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.
SOLVED

Change dates from biweekly to monthly

cspr2023
5 - Atom

I have some payroll data (all dummy) that has a start date (PPSD) and an end date (PPED) that ranges from 2022-2023. For the 2022 dates, I want to condense the payroll data down to monthly dates. 2023 will stay as the current biweekly payroll dates. The payroll dates are not consistent across employees so I want to base the monthly total off of what month PPED falls into. In the end, I want to have one line for each month in 2022. How do I condense the lines? I tried a multi-row tool but some months may have 3 lines(weeks) of payroll data instead of two. I've attached a before and after file of what I'm looking for. Any help appreciated. Thanks!

1 REPLY 1
CoG
14 - Magnetar

Is the monthly total from the input already in your data? You could just use Summarize Tool to Group By [Monthly Hours]. Otherwise, here is another way to solve the problem:

Screenshot.png

Labels
Top Solution Authors