Start Free Trial

Alteryx Designer Desktop Discussions

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

Problem with Calendar Week calculation

df
8 - Asteroid

Hello,

 

I have a table with Dates

2014-12-22
2014-12-29
2015-01-05

 

i use this formular to calculate calendarweek

DateTimeFormat([Date],"%W.%Y")

Then i used the formular DateTimeFormat(DateTimeAdd([Date],7,"days"),"%W.%Y")

But didnt worked the way i want to

 

My output is here

dateDateTimeFormat([Date],"%W.%Y")DateTimeFormat(DateTimeAdd([Date],7,"days"),"%W.%Y")https://www.timeanddate.com/date/weeknumber.html#
2014-12-2251.201452.201452.2014
2014-12-2952.201401.201501.2015
2015-01-0501.201502.201502.2015
............
2015-12-2852.201501.201653.2015
2016-01-0401.201602.201601.2016

 

The last column is my desired output calculated with https://www.timeanddate.com/date/weeknumber.html#

Do you know how to get the output i want?

grafik.png

It seems like alteryx calculate calendarweek wrong befor 2016?

Is there a way to calculate it like in excel?

 

(attached a textfile with some dates i use)

 

1 REPLY 1
cmcclellan
14 - Magnetar
Labels
Top Solution Authors