Start Free Trial

Alteryx Designer Desktop Discussions

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

Pivot data in Alteryx

barkat
6 - Meteoroid

 

Having some issues with  pivoting my data 

what my data currently looks like : 

 

idAccountscore1score2date
1A898901/09/2020
2A797701/09/2020
3A455601/09/2020
4A345601/09/2020
5A562301/08/2020
6A454501/08/2020
7A894501/08/2020
8A895601/08/2020

 

 

what I want it to look like: 

ScoreTypeScoreIdAccountDate
Score 1891A01/09/2020
Score 2 891A01/09/2020
Score 1792A01/09/2020
Score 2 772A01/09/2020
Score 1453A01/09/2020
Score 2 563A01/09/2020
Score 1344A01/09/2020
Score 2 564A01/09/2020
Score 1565A01/08/2020
Score 2 235A01/08/2020
Score 1456A01/08/2020
Score 2 456A01/08/2020
Score 1897A01/08/2020
Score 2 457A01/08/2020
Score 1898A01/08/2020
Score 2 568A01/08/2020

 

 

Could anyone suggest an easy way in alteryx? 

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @barkat 

 

Here is a workflow for the task.

Input:

atcodedog05_0-1603648523622.png

Output:

atcodedog05_1-1603648549358.png

Workflow:

atcodedog05_2-1603648562027.png

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

 

barkat
6 - Meteoroid

Thank you very ,much 

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @barkat 

 

Cheers and Happy Analyzing 😀

Labels
Top Solution Authors