Start Free Trial

Alteryx Designer Desktop Discussions

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

Rearrangement of Data

Vyx
7 - Meteor

 Hi All,

 

So I have attached an excel sheet with 2 tabs - the input and the desired output using Alteryx!

 

I am new to Alteryx so I know the basics but wasn't sure how to fix the above - please note it can go on for over 100 countries

 

Kind Regards,

Viral Patel 

3 REPLIES 3
JosephSerpis
17 - Castor
17 - Castor

Hi @Vyx you just need to use a transpose tool for that challenge.

 

Transpose_06042022.PNG

atcodedog05
22 - Nova
22 - Nova

Hi @Vyx 

 

1. Use transpose tool to convert columns to rows. Here is an interactive lesson which should teach you how to do it

https://community.alteryx.com/t5/Interactive-Lessons/Changing-Data-Layouts/ta-p/82876

 

2. Filter the nulls values from the country values column. Here is an interactive lesson which should teach you how to do it

https://community.alteryx.com/t5/Interactive-Lessons/Filtering-Data/ta-p/76301

 

3. Deslect column and rename as required as the last step

 

Let me know if you are facing any issues in understanding or tackling the use case I will be happy to help :)

 

Hope this helps : )

MarqueeCrew
20 - Arcturus
20 - Arcturus

@Vyx ,

 

As @JosephSerpis said, I'd use the TRANSPOSE tool too.  When you configure it, you'll want to:

  • KEY COLUMNS {Name, Date}
  • DATA COLUMNS {All of your country columns}

Then you would FILTER to keep where:

!IsEmpty([Value])

and finally, you'll use a SELECT tool to rename "Value" to "Country".

 

Cheers and Happy Alteryxing,

 

Mark

 

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels
Top Solution Authors