Hello community!
I am a beginner in Alteryx Designer and I can't figure out how to do something, so I thought the community might have an answer for that.
I am trying to extract a sequence for producing products out of a matrix created with the results from the optimization tool. It's a matrix N*N of different products and there are the same products in columns and rows as you can see in the following picture.

The sequence always start with the product which has all zeros in the column (in this case D), then we would go to the row D and the next product would be the one which has a 1 in the row (in this case F) and it continues like this successively. It always finishes with the product which has all zeros in the row (in this case
. Therefore, in this case the whole sequence of the 6 products is D-F-C-E-A-B.
I have thought about creating a workflow which finds the sequence with an iterative macro but I can' figure out how to create it.
Happy to hear any ideas you have 🙂
Thank you.
Best,
Fran