In a single yxmd, I have 15 query workflows fired up creating a tde file. All of them use a unique column called ‘ABO_YEAR_NUM’ (string type of character in the database) which represents year (e.g. 2016), which is a common filter for all of them.
Currently I have 2 ways of putting year filter:
- Manually code it in visual query builder
- Create a small separate workflow for year and join it to each of the 15 workflows by creating a tabgled web of joins throughout the file like in attached file:
Both of the above solutions work. However I am looking for a cleaner and more efficient automatd solution (may be a macro or an app, where I can code it once and pass its' reference to all these workflows in SQL query builder or by any other way available in Alteryx) so that
- workflow file does not look like a tangled web of joins like the one in attached file, which could be very difficult to debug
- it can be updated with a single instance update instead of opening 15 query workflows.
Please let me know if this makes sense.
thank you.