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. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Combine Data

JingYih_Herbalife
8 - Asteroid

Hi,

 

I have data such as below where each country has a different quantity for different quantities. 

 

JingYih_Herbalife_0-1638757100863.png

 

I would like to transform the data into as per below. 

JingYih_Herbalife_1-1638757125824.png

Can anyone please guide on what is the best way possible to achieve this?

 

Thanks in advance. 

 

 

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@JingYih_Herbalife 
I suppose your input is three sets of data.

1206-JingYih_Herbalife.PNG

JingYih_Herbalife
8 - Asteroid

Hi @Qiu ,

 

Thanks for the solution above. Is there a solution if the input is all in one data set?

 

Qiu
21 - Polaris
21 - Polaris

@JingYih_Herbalife 
I tried to be dynamic and do hope there is better solution.

1206-JingYih_Herbalife-1.PNG

JingYih_Herbalife
8 - Asteroid

Hi @QI 

 

This worked great.

 

Thank you very much 🙂

Labels
Top Solution Authors