Hello,
I am trying to do some data prep in Alteryx designer for a product hierarchy.
This is what the current data set looks like:

This is what I need the final data set to look like:

I need it completely automated and dynamic so it could handle as many levels as needed.
Thanks!
a