Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Rolling up Weekends Numbers to Friday

MD2050
8 - Asteroid

Hello-

Is there a way we can roll up Saturday and Sunday numbers to Friday ? Following is the issue I am trying to solve .Thank you .

 

Rolling_Weekends.PNG 

5 REPLIES 5
LordNeilLord
15 - Aurora
Hey @MD2050

You could update your workday column with the formula tool like so:

If workday in ('Saturday', 'Sunday') then 'Friday' else workday endif

Then use the summarize tool to sum value grouped by workday

Neil
MD2050
8 - Asteroid

Hello Neil-

Thank you for reply. Please see attached my workflow , the issue is to retain the Friday's Date meaning 3/4,3/10 should be merged into 3/9. I cannot achieve that by Summarize tool. If you do a sum by Workday then yes I will get only Mon,Tues,Wed,Thu and Fri .

Thank you.

subbarao
7 - Meteor

Write a formula,

If Day = Saturday, Date minus 1

If Sunday, Date minus 2

 

And Summarize by Date.

MD2050
8 - Asteroid

Hello @subbarao-

Thank you for your suggestion, it worked . Please find in attached the updated workflow for reference. 

 

Thank You.

LordNeilLord
15 - Aurora
Hey @MD2050,

No problem, you can join back to your original data (after the summarize) using workday as the key field... This will give you the results you need
Labels
Top Solution Authors