The Product Idea boards have gotten an update to better integrate them within our Product team's idea cycle! However this update does have a few unique behaviors, if you have any questions about them check out our FAQ.

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

More forgiving evaluations of Date and DateTime data types

Ever since Alteryx 11 came out, the way dates and DateTimes are handled and computed changed from v10.  Formulas that I had working before no longer work.  The single biggest culprit I tend to see for this problem is that Alteryx 11 no longer seems to be able to intelligently compare Date and DateTime formats.  This is kind of annoying because it forces me to run a DateTime function on all my Date fields for doing comparisons.


For example, I have a formula that I use to calculate if a date is the beginning of the month.  That formula is:

 

IF DateTimeTrim([Snapshot Date],"month") = [Snapshot Date]
THEN 1
ELSE 0
ENDIF

Where in the above, Snapshot Date is a date field with data incoming in a format like "2017-01-01".

 

In Alteryx 10, this formula returned as expected, true.  However, in Alteryx 11, it returns false.  When I dove into this a bit more, I noted that DateTimeTrim will always return a DateTime format, so the formula is attempting to compare "2017-01-01 00:00:00" to "2017-01-01".  For some reason, Alteryx now doesn't think this comparison will result to true.

 

To address this, I now have to do:

IF DateTimeTrim([Snapshot Date],"month") = DateTimeTrim([Snapshot Date], "day")
THEN 1
ELSE 0
ENDIF

My suggestion: Let comparisons between Date and DateTime formats work with the assumption that any Date field is as of midnight that day.  In the example above, Alteryx would implicitly assume that "2017-01-01" is "2017-01-01 00:00:00" for any comparisons to DateTime, like it did in the past.

2 Comments
Community_Admin
Alteryx
Alteryx
Status changed to: Inactive
 
Community_Admin
Alteryx
Alteryx

The status of this idea has been changed to 'Inactive'. This status indicates that:

 

1. The idea has not had activity in the form of likes or comments in over a year.

2. The idea has not reached ten likes.

3. The idea is still in the 'New Idea' status. 

 

However, this doesn't mean your idea won't be implemented! The Community can still like and comment on this idea. With enough renewed interest, this idea can be brought back into the 'New Idea' status. 

 

Thank you for contributing to the Alteryx Community and the Alteryx Product Idea Boards!