Alteryx Designer Desktop Discussions

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

How to rearrange the data

manishab
6 - Meteoroid

Hi Alteryx Community,

 

I have data in this format. 

manishab_2-1578004730330.png

 

And I want it to transform to be in this format.

 

manishab_3-1578004756087.png

 

I would really appreciate any help, I have tried using a transform tool but it's only doing part of the job and I don't know how to get the Geography, Description, Source and put them in columns as I have it in my 2nd picture.  

 

I have attached the excel's. 

 

Thank you 

 

 

 

7 REPLIES 7
bpatel
Alteryx
Alteryx

Hi @manishab ,

 

i don't think the excel files were attached to the post. would you please try again?

manishab
6 - Meteoroid

Hi bpatel,

 

I have attached the excel's now.

ponraj
13 - Pulsar

Here is the sample workflow.  Hope this is helpful. 

 

workflow.PNG

Nezrin
11 - Bolide
11 - Bolide

Not sure how the date and values are related. but try this :

1) sample (first 5 records) -> transpose -> cross tab

2) sample (skip first 5 records) -> transpose

 

join 1 and 2

Thanks,
Nez
Alteryx ACE | Sydney Alteryx User Group Lead | Sydney SparkED Contributor
manishab
6 - Meteoroid

Hey Punraj, 

 

Thank you so much for taking your time and creating the workflow. 

 

I am using the Input Data tool and bringing the data but it's not working. I do see that in the workflow that you have provided you're using input text where the Field1,2,3 is being generated and it's easier to transpose and cross tab the data. But it's not working when I use Input data tool. I am sure there is a way to include the rows and follow along with your solution but I am not able to figure it out. 

 

Would you be able to help me, please?  

 

manishab_0-1578347101982.png

 

 

ponraj
13 - Pulsar

have option "first row contains data" checked while reading the data using input data tool. 

 

Input tool.PNG

manishab
6 - Meteoroid

Thank you Ponraj that helps.

Labels