Hello Alteryx Community,
I need assistance with figuring out how to fix the following problem below.
This is the sample input data.

Need to get the data grouped with both Home and Host columns and return multiple output files based on the country names.
For example, there were 9 countries involved in this data, So I need 9 output files. And for Canada country output file, rows having Canada in both Home and Host columns must be there. So ideally, the output for canada file includes rows 2,3&8.

Likewise output for United states file must include rows 2,3,7,8,9&10 as all rows were having United States in either Home or Host columns.

I am attaching the sample data and the desired output in excel file.
Appreciate if you can let me know how this can be done in designer. Thanks for your time and help in advance.