This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I've been using Alteryx for a while, but have just started getting into the macros.
Is there a way to make a macro that can see the data before the workflow is run (or maybe run once) so it can prompt the user for a choice of how to handle the data?
For example, you have a field with the following data: 'Years 0 - 3', 'Years 4 - 10', 'Years above 10', 'NA'. In the macro, you select the field to work with, then you are given two choices: the data you want to replace ('NA') and what to replace it with ('Years 0 - 3').
I know it can be done with an IF statement, but I have multiple fields like this and I thought it would save some time instead of writing out an IF statement each time. Plus, I have a chance to get better at writing macros.