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

Get week number but week starts with Saturday

Monica_
6 - Meteoroid

Hello,

 

We are currently building a workflow which gets the week number. But a week must be from Saturday to Friday. Any possible solution for this? Thanks.

3 REPLIES 3
PanPP
Alteryx Alumni (Retired)

Hi @Monica_ 

 

I would recommend using this community post to calculate the week number with your specific days that make up the week. 

 

Download the workflow posted by JohnJPS - In his workflow, you can modify the IsoWeekDay column/expression.

 

 

Hope this helps, if it does please like this post/mark it as a solution.

Felipe_Ribeir0
16 - Nebula

Hi @Monica_ 

 

See if this works for you.

 

Felipe_Ribeir0_0-1670888585798.png

 

Monica_
6 - Meteoroid

I also had these formula:

IF [Day] In ("Sat", "Sun")
THEN ToNumber([Week_Number_Default]) +1
ELSE [Week_Number_Default]
ENDIF

 

Thanks for all the help everyone! 😀

Labels
Top Solution Authors