Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to get first date of the month from the selection

Divyaverma2906
7 - Meteor

How to get first date of the month from the selection

4 REPLIES 4
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @Divyaverma2906,

 

You could use the DateTimeTrim() function to solve this:

 

 

 

DateTimeTrim([Date],'firstofmonth')

 

 

 

JonathanSherman_0-1637071873134.png

I've attached my workflow for you to download if needed!

 

Kind regards,

Jonathan

Christina_H
14 - Magnetar

Alternatively, if you're trying to find the earliest date in the month from the given list, try this:

Christina_H_0-1637072046083.png

 

Divyaverma2906
7 - Meteor

It worked. Thank you so much.

Jonathan-Sherman
15 - Aurora
15 - Aurora

No problem at all!

Labels
Top Solution Authors