We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Adding information to data

suds144
8 - Asteroid

Hi All,

 

A quick question. I have the following input:

suds144_0-1645440482527.png


And want the following output (so to have a formula that translates the "start date" into the week:

suds144_1-1645440524977.png


Thank you!

 

2 REPLIES 2
suds144
8 - Asteroid

I attach the dummy data

AngelosPachis
16 - Nebula

Hi @suds144 ,

 

Have a look at the following page https://help.alteryx.com/20214/designer/datetime-functions

 

I think what you're looking for is a Datetimeformat function : Datetimeformat([Date_Field],"%W") 

with %W giving you the week number assuming the first date being Monday.

 

Another very helpful post can be found below, in case you're after the ISO-week number:

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Convert-date-to-week-number-of-that-ye...

Labels
Top Solution Authors