Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Filtering multiple workflow queries with single filter

$
0
0

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:

  1. Manually code it in visual query builder
  2. 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

  1. workflow file does not look like a tangled web of joins like the one in attached file, which could be very difficult to debug
  2. 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.


Viewing all articles
Browse latest Browse all 4999

Trending Articles