Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Week to Date format

RKGV
7 - Meteor

Hi Guys

 

I want to convert week to date (Last day of the Week) format. 

 

can someone help pls>

 

regards

Rajesh

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @RKGV 

 

What's the logic? your numbers translate to these dates. Can you provide more clarity

 

atcodedog05_0-1645005562494.png

 

Hope this helps : )

 

RolandSchubert
16 - Nebula
16 - Nebula

Hi @RKGV ,

 

some DateTime functions should do the job:

 

2022-02-16_11-27-43.jpg

 

You should first split week number and year - for 1 digit weeks, add the leading "0".

 

Then calculate the first day of the year, which leads to the start of "week 1". For each week add 7 days and you should be done.

 

Let me know if it works for you.

 

Best,

 

Roland

atcodedog05
22 - Nova
22 - Nova

Oh, now it makes sense 😅 nicely done @RolandSchubert 🙂👍

RKGV
7 - Meteor

Thanks. Works perfectly fine :)

AlexAppelqvist
5 - Atom

Hello, this doesn't always seem to work. I found that starting in 2026, the results are off by a week. Thoutghs?

Labels