Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
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