Showing results for 
Search instead for 
Did you mean: 
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Weekly Challenge
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Unable to display your progress at this time. Please try again a little later, or contact an administrator if you continue to see this error.
Announcement | Get certified today - take the Alteryx Designer Core and Advanced exams on-demand now!

Challenge #110: Think Like a CSE...Reduce the manual inputs!


 The solution to last week's Challenge has been posted here!


We are thrilled to present another Challenge from our “Think like a CSE” series, brought to you by our fearless team of Customer Support Engineers. Each month, the Customer Support team will ask Community members to “think like a CSE” to try to resolve a case that was inspired by real-life issues encountered by Alteryx users like you! This month we present the case of the hard-coded workflow.  


Below, we’ve provided the information that was initially available to the Customer Support Engineer who resolved the case. It’s up to you to use this information to put a solution together for yourself.


The Case: A client’s co-worker has built a workflow that returns a date range between a selected Date (Date1) and the date (Date2) that is x days prior to Date1, as well as all the dates between Date1 and Date2.  The workflow (attached to this post) is great!  It returns all the information she needs for her analysis in the format she wants.  The problem?  Running the workflow requires a cumbersome amount of hard-coding values.  She needs to manually update a Filter tool to select her date range: filter_tool.pngUgh....I had to type this whole thing, and I have to change it every time I want to use a new set of dates!


and a Text Input tool to enter the number of days as a range (1 - x) prior to her selected date to find: text input.pngI had to type every one of these numbers! What if I wanted to return much more than 7 days?

 There has to be a better way to get the data she wants!  


Explanation of the Problem:  The client would like the ability to dynamically select date ranges and the number of days (e.g. 5, not as a range) preceding the selected date.  Can this be done? 


Asset Description: The client has shared the workflow she uses, which includes a calendar selection macro (ClientWorkflow.yxzp). 


Bonus Question: Is there a way for each date from the date range selected (Date1) to be processed, one at a time?


(view in My Videos)

My solution! (I might come back and tackle the Bonus Question too... who doesn't love a little Monday morning macro practice!?!)





Alteryx Certified Partner

I decided that I didn't like my colleagues original workflow (a common issue) so I rebuilt it to use a few less tools...


Weekly Challenge 110.png

I'm not sure I understand what's being asked of the bonus question...if someone can clarify it...i'll give it a whirl.



Part time Tableau, Part Time Alteryx. Full Time Awesome

Data Lover

I went with the Generate Rows tool. I was on the same page as @LordNeilLord

Like LordNeilLord, I also didn't understand the bonus question...


I kept the basic structure of the workflow intact - converted to an analytical app.


Sr. Instructional Designer
Sr. Instructional Designer

@ggruccio @LordNeilLord...I think @WayneW is getting at a batch macro....but perhaps he can give some more clarity!

Alteryx Certified Partner

Similar to others. You can select which date formatted fields come through...which is a nice touch.


challenge_110 - Macro Snip.PNGMy macrochallenge_110 - Snip.PNGMy workflow

If you're going the macro route, your macro might as well do everything for you. Took a similar approach to @patrick_digan and @LordNeilLord and just rebuilt the macro to generate dates with a simple user interface.

And, I'm finally current on the challenges again!!