Alteryx Designer Desktop Discussions

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

Need guidance on how to merge row wise cells into one cell.

anonymous008_G
8 - Asteroid

Hi All,

 

I have input data where the top 3 rows are headings of the table. I want to merge them into one cell so I can put them as headers. Can someone please help determine the best way to transform this data?

 

Below is my input data and expected output format for reference.

 

Input Data                   
                    
[Null][Null][Null]Security1 Yr2 Yrs*3 Yrs*4 Yrs*5 Yrs*10 Yrs*1 Yr1 Yr1 Yr1 Yr1 Yr1 Yr1 Yr1 Yr1 Yr1 Yr
[Null][Null][Null]CategoryTo To To To To To To To To To To To To To To To 
[Null][Null]CurrencyDescription12/31/202312/31/202312/31/202312/31/202312/31/202312/31/202312/31/201412/31/201512/31/201612/31/201712/31/201812/31/201912/31/202012/31/202112/31/202212/31/2023
                    
Expected Output                   
                    
[Null][Null]CurrencySecurity Category Description1 Yr to 12/31/20232 Yrs* to 12/31/20233 Yrs* to 12/31/20234 Yrs* to 12/31/20235 Yrs* to 12/31/202310 Yrs* to 12/31/20231 Yr to 12/31/20141 Yr to 12/31/20151 Yr to 12/31/20161 Yr to 12/31/20171 Yr to 12/31/201881 Yr to 12/31/20191 Yr to 12/31/20201 Yr to 12/31/20211 Yr to 12/31/20221 Yr to 12/31/2023
5 REPLIES 5
aatalai
13 - Pulsar

I would start by transposing the data so the data you want to join is in a row. Use the record ID tool, then the summarise tool, grouping by record ID just generating and the concatenating the other fields, then crosstab tool for names form the newly concatenated field and values from record ID and then go from there let me know how you get on 

anonymous008_G
8 - Asteroid

Thanks for your response. I tried this but couldn't proceed after summaries tool. can you please share sample workflow so that i will follow the steps in real data.

anonymous008_G
8 - Asteroid

I have done this but different way. thanks for your response. 

CoffeeBean1
5 - Atom

I'm curious how you did this, if you could share your solution, I have exact same question, can't figure out simplest way to do it that will also be dynamic enough for any future input. 

CoffeeBean1
5 - Atom

Hi, can you please share your solution, I have same exact problem but can't quite come up with the best dynamic approach.

Labels