Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Calculating date based on the week of the year

Kyleled
5 - Atom

Hello everyone,

 

I'm trying to calculate date based on two fields: week of the year and year. My plan is to just set the date to the first day of that month

 


Example data:

 

Week: 1

Year: 2020

 

Calculated date: '2020-01-01'

 

 

Let me know if this makes sense. I've seen ways to figure out the week of the year based on a date but I'm trying to go the other way around

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Kyleled ,

 

This is a fun scenario.

 

Here is workflow for it.

atcodedog05_0-1600797490126.png

Output

 

atcodedog05_1-1600797505024.png

 

Check and let me know if it works for the task.

Kyleled
5 - Atom

@atcodedog05 wrote:

Hi @Kyleled ,

 

This is a fun scenario.

 

Here is workflow for it.

atcodedog05_0-1600797490126.png

Output

 

atcodedog05_1-1600797505024.png

 

Check and let me know if it works for the task.

 

 

Brilliant, thanks!


 

atcodedog05
22 - Nova
22 - Nova

Happy to help : )

Labels