Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Designer|Transpose|Cross-Tab| Data Transformation

Mj9715
8 - Asteroid

Hi All, 

 

I have a input data set similar to below - where each ISIN code has two rows (fund and benchmark) and associated returns for 3m, 1Y,3Y and 5Y. 

 

For the output I would like to use the ISIN code in output table as the join field and transpose each field's first two rows into columns. For example, for the first ISIN code the first two rows in 3m needs to be transposed to columns with fund and benchmark as the headers. I have pasted the output format below with an example. 

 

Both input and desired output is in file attached.. Please can someone guide on the best way to achieve this using cross-tab and join tools?

 

Input 

IdentifierFund3m1Y3Y5YISIN
FundHSBC FTSE 100 UCITS ETF0.940.520.330.85IE00B42TW061
BenchmarkFTSE 1000.580.800.370.72IE00B42TW061
FundHSBC Euro Stoxx 50 UCITS ETF0.130.370.480.60IE00B4K6B022
BenchmarkDJ Euro Stoxx 500.390.460.190.88IE00B4K6B022
FundHSBC CAC 40 UCITS ETF0.070.460.650.23IE00B4L49M32
BenchmarkCAC 400.240.670.180.40IE00B4L49M32

 

Output 

ISINFund Return 3M Benchmark Return (3M)Fund Return 1Y Benchmark Return (1Y)Fund Return 3YBenchmark Return (3Y)Fund Return 5Y Benchmark Return (5Y)
IE00B42TW0610.940.580.520.800.330.370.850.72
5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @Mj9715 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1642056764780.png

 

Hope this helps : )

 

Kamran1991
11 - Bolide

Hi @Mj9715 ,

 

I hope this workflow can solve you problem

Mj9715
8 - Asteroid

Thank you @atcodedog05 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Mj9715 

Cheers and have a nice day!

Mj9715
8 - Asteroid

Thanks @Kamran1991 - this also works as a solution. 🙂

Labels