Hi there,
I am having a hard time building this in the Alteryx workflow. I tried to use the multi-row formula tool, but it seems like the logic is too complicated to just use the multi-row formula tool.
Please see the scenario logic below and examples (I'll have random data coming in and need to figure out the scenarios (Under Tag column) for those data. Group Number is more like a unique ID and should group the ID number before comparison). You cannot compare ID 1 to 555.
Final goal is that whenever there's new data, the tools should figure out what the scenario numbers are for those data.
I really appreciate your help. Let me know if you have any questions.
I need that Tag column:
| Senario 1 | | | Senario 2 | | | Senario 3 | | | Senario 4 | |
| Out | In | | Out | In | | Out | In | | Out | In |
| A | B | | A | B | | A | B | | A | B |
| A | C | | B | A | | B | C | | B | B |
| A | D | | | | | | | | | |
| | | | | | | | | | | |
| more clarification from above senario | | | | | | | | | | |
| Senario 1 | | | Senario 2 | | | Senario 3 | | | Senario 4 | |
| Out | In | | Out | In | | Out | In | | Out | In |
| test | apple | | test | apple | | test | apple | | test | apple |
| test | banana | | apple | test | | apple | banana | | apple | apple |
| test | orange | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| Examples: (data will be like below) and need to figure out the tag for those data | | | | | | | | | | |
| | | | | | | | | | | |
| Group Number | Out | In | Tag | | | | | | | |
| 1 | test | apple | Senario 1 and Senario 2 | | | | | | |
| 1 | test | apple | Senario 1 and Senario 2 | | | | | | |
| 1 | apple | test | Senario 1 and Senario 2 | | | | | | |
| | | | | | | | | | | |
| 1 (if just single one row) | apple | test | Senario 1 | | | | | | | |
| 2 | test | apple | Senario 1 | | | | | | | |
| | | | | | | | | | | |
| 555 | test | apple | Senario 2 and Senario 3 | | | | | | |
| 555 | apple | test | Senario 2 and Senario 3 | | | | | | |
| 555 | test | banana | Senario 2 and Senario 3 | | | | | | |
| | | | | | | | | | | |
| 777 | test | apple | Senario 3 | | | | | | | |
| 777 | apple | banana | Senario 3 | | | | | | | |
| | | | | | | | | | | |