Hi @Akash2093,
I generated logical expressions based on the cases you mentioned and then used a batch macro to evaluate which data records made those expressions true. When the expressions are true, the macro only appends the range number to the expression, but you can join it back to the original case data to find any additional information. It only outputs the equivalent of an inner join (I say equivalent because it's evaluating and filtering true/false rather than doing an actual join).
Note that I adapted your logical cases to be in Alteryx-friendly syntax ("<>5" became "!=5" and "10 or 15" became "IN(10,15)") so any other logical cases added will have to be written in Alteryx syntax as well.
I'm pretty sure I understood your description, but please let me know if I missed something. I hope this helps!
Batch macro
Workflow
Hi @Akash2093, just wanted to follow up-- did this solution work for you? Thanks.
Hi
thanks for your response however client is skeptical about using Alteryx Macros.
Also, to adapt the logical ranges in Alteryx syntax, i.e. <>80 to !=80, will again be manual intervention.
As a workaround, i am adding a Match flag column which indicates if the values in question is to be matched or to be excluded.
And then i do append between source & target data after which i specify my condition using a filter tool that has logical expression based on the Match flag column.
User | Count |
---|---|
106 | |
82 | |
70 | |
54 | |
40 |