Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Macro, iterative selection and forecast

Georgiy
7 - Meteor

Hello everyone,


Need advice on how to extract a sample from a dataset by criteria in an iterative way.
I'm struggling with set up macro for further implementation forecast tools (TS Forecast Factory, TS Model Factory).
There is a dataset with a number of distributors, their products, and sales for each period (sample in the attachment).
In one iteration I would extract data for one particular distributor, use forecast tools and then save the output. Make that for each distributor and union results.
Could anyone support? Not sure what kind of macro type should I use

 

Thanks

 

2 REPLIES 2
afv2688
16 - Nebula
16 - Nebula

Hello @Georgiy ,

 

What I would recommend you to use in this case is a batch macro. You can filter by the parameters (in this case the distributor) and then have the data merged together automatically (like on an union).

 

Be careful to select on the interface designer (cntrl + shift + d) on the last tab to have the outputs selected to join by either position or name, up to you.

 

Check the example I sent you and let me know if you need anything else.

 

Regards

Georgiy
7 - Meteor

Thanks so much for prompt response your approach works-well in my case 😀

Labels