Alteryx Designer Ideas

Share your Designer product ideas - we're listening!

Generate Rows Tool Improvement

My friend @jdunkerley79 posted a terse idea:  https://community.alteryx.com/t5/Alteryx-Designer-Ideas/FieldName-constant-in-Generate-Rows-Tools-an...  it is inactive, but I want to extend his thoughts.

 

Rephrasing his idea as mine:  The tool defaults the expressions to use [RowCount].  If you should either "Update Existing Field" or change the "Create New Field" the default expressions MUST be updated manually.  Please update the expressions to make use of the new field.

 

Well, that doesn't always work!  Often it will.  But if you change the TYPE to date, it certainly won't.  In fact, I see many questions about joining from within a DATE  RANGE and the technique to build date rows from the range requires the use of DateTimeAdd().  Wouldn't it be nice (like your sample workflows) to modify the default expression based on the change of data type?  I think so.

 

If we were thinking easy.  Suppose you could have a RANGE function (dates or numerics) where you simply selected the from, to fields and gave the user the option to select the units.  Now the tool auto-configures itself to create all of the "days" between the from and to dates or "1.0" and it creates all unit values between the two numeric amounts.

 

These would be "Alteryx" worthy enhancements in my opinion.

 

Cheers,

 

Mark

2 Comments
Alteryx Certified Partner
Alteryx Certified Partner

I've posted a GENERATE DATE ROWS macro to the public gallery that provides assistance for dates.  If you'd like to see or use it, please do.

 

https://gallery.alteryx.com/#!app/Generate-Date-Rows/5e31f42a826fd30ffcbf2c14 

 

Cheers,


Mark

8 - Asteroid

Thanks @MarqueeCrew  for this macro