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 Ideas

Share your Designer Desktop product ideas - we're listening!
Submitting an Idea?

Be sure to review our Idea Submission Guidelines for more information!

Submission Guidelines

DateTimeFirstOfWeek() Formula Function

As there is a DateTimeFirstOfMonth() Formula function is there any reason why there is not or could not be a DateTimeFirstOfWeek() equivilant.

Thanks,
Joe
3 Comments
Ned
Alteryx Alumni (Retired)
Like many things in Alteryx, it is possible already with combining other features:
DateTimeAdd([Field1],-ToNumber(DateTimeFormat([Field1],"%w")), "Days")

You might need to adjust the second parameter to whatever your definition of the start of the week is.
 
Joe_Lipski
13 - Pulsar
13 - Pulsar
Thanks for the response Ned,

A new client was looking for an easy to use formula function and wondering why there wasn't such a thing.

I had suggested a very similar formula to what you recommend.

Thanks,
Joe
RachelW
Alteryx Alumni (Retired)
Status changed to: Not Planned