In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Transpose Based on Field Name

bjschwartz3
8 - Asteroid

I have a file where the file is formatted like:

 

Category1/Source1/Category1/Value1/Category1/Source2/Category1/Value2/Category2/Source1/Category2/Value1/Category2/Source2/Category2/Value2/Category2/Source3/Category2/Value3/
Source1Value1Source2Value2Source1Value1Source2Value2Source3Value3

 

And I want to transform the data to look like:

 

CategorySourceValue
1Source1Value1
1Source2Value2
2Source1Value1
2Source2Value2
2Source3Value3

 

I'm completely lost on the logic for this. Any help would be greatly appreciated.

 

Thanks!

3 REPLIES 3
afv2688
16 - Nebula
16 - Nebula

Hello @bjschwartz3 ,

 

Try this:

 

Untitled.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

bjschwartz3
8 - Asteroid

**bleep**, that worked and you came up with it so fast. Thanks!

afv2688
16 - Nebula
16 - Nebula

Happy to help 🙂

 

Developed a second solution that may be more useful. This will work always as lon as the chain goes Source-Value etc.

 

Untitled.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

Labels
Top Solution Authors