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

Monthrange in Alteryx

In python, there is this monthrange function which is very useful to find out the days in particular month and also particular year (leap year)

 

In python we will only have to do this to get monthrange

 

 x[i] = calendar.monthrange(Year_S, Month_S)[1]

 

whereas in Alteryx, we will have to do this

 

datetimeday(DateTimeTrim(DateTimeParse([START_DATE],'%Y-%m-%d'),'lastofmonth'))

 

The different are enormous and I can see that Alteryx team was able to add in this in a jiffy.

 

I was hoping we can simplify the code so that users wont have to go and dig around to find a way to get thru.

 

This will be helpful in doing calculations like insurance/interest premium, where we need to find the remaining days of in the month.

1 Comment
AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team
Status changed to: Accepting Votes