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.
6/17/21: We have completed maintenance for the Search functionality on the Community. If you are seeing any issues, please try to clear your cache first. If the issue persists please email Community@alteryx.com
The Dynamic Replace Tool allows the user to quickly replace data values on a series of fields, based on a condition or expression. The data replacement can be based on formulas or static values. This means that if you have values across multiple fields that need to be replaced or updated, you can use the Dynamic Replace Tool to create a series of formulas for each value, then update those values. You may be asking why you would use this over something like the Multi-Field Formula tool. The answer is simple...flexibility. If you were to create a module using the Dynamic Replace Tool, and had an update to your data that provided more values than you previously had, you can simply update your Replacement Values file to account for the new values rather than going in and updating your module.
In the attached example, you will see we have a basic incoming data file. This needs to be updated, but we would like our update to be more dynamic than using a Multi-Field Formula. We create an Input File with each of our expressions, then compare those to our data. Once the comparison finishes, the tool will output your updated data, as well as a Summary table that informs you of the changes that took place within your data.
Check out the attached example, and don't hesitate to ask any questions. Thanks, and until next time!