Alteryx Designer Desktop Discussions

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

Determine first monday of each month

BYoung
6 - Meteoroid

Hello, 

I am looking for a way to determine the date of the first Monday of each month based on the date provided.

 

For example...

Date FieldFirst Monday of the Month
2021-06-112021-06-07
2021-05-212021-05-03
2021-05-05

2021-05-03

2021-03-13

2021-03-01

2021-01-09

2021-01-04

 

The fact that monday comes on different days, and months can have 4 or 5 weeks is throwing me off.

 

Any ideas?

 

Thank you all in advance!

10 REPLIES 10
apathetichell
19 - Altair

@BYoungThere are lots of amazing things you can do in datetime with various format options! I'm a big fan of "%u"...

Labels