This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
The highly anticipated Alteryx Community tradition is back! We hope you'll join us!
I have reviewed a number of batch macros that work well for mirroring the "NetworkingDays" excel calculation but it would be great to add an interval type for "weekdays" to the DateTimeDiff formula ie
DateTimeDiff ( [Date01],[Date02], "WorkDays") where any Saturday or Sunday between the dates would be discounted.
Thanks for the request. This would be a good addition to the DateTimeDiff formula. We will consider it for a future release.
The dateTimeDiff function is another that uses different codes for parameters than other date functions or capabilities.
I've created a suggestion to refactor the way that DateTime handling works, to make this consistent, more capable and user-friendly. https://community.alteryx.com/t5/Alteryx-Product-Ideas/Refactor-Date-time-treatment/idi-p/46420
If we add the DateTimeFormat; DateTimeDiff and other date-time functions to this - and create a formula builder that allows you to build formulas quickly without having to know the magic codes - it takes yet another barrier out of peoples's lives and makes the tool much more approachable.
It would also be good to have "weeks" as an interval type, as well as an option for fractional results, e.g. 1.5 years, 0.3 months, etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.