I'm creating a workflow that takes a dataset with transactions from all 50 states, pulls the states we need, and performs different processes to create different files for each state. Each state's file is a completely different format and requires different data, so they each will have their own separate processing line and output.
So, say I have data from all 50 states, and I need to pull the data for AL, CA, KS, and VA, and run different transformations on each state.
I know I can run a series of Filters, where I just keep filtering for a single state and splitting it off, then filtering to the next state I need, etc. But I need about 15-20 states, and I'm worried about the efficiency of having 20 consecutive filters in place.
Is there a way to do a filter-type step so that instead of only filtering into two categories ("AL" and "not-AL") and repeating the process over and over again, I can filter it into several ("AL," "CA," "KS," "VA," and "Everything else") at once?