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! 😀

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels