We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Help with arranging data

EricaMN
5 - Atom

Hi there ,

I have a dataset that looks like the below 

ProgrammeLevelYearOutcomeTotal Attrition %Headcount
SportLevel 42020/1Fail97%65
SportLevel 42020/1Transfer 7
sportLevel 42020/1Withdrawn3%2
SportLevel 42020/1Total Attrition13%67
SportLevel 42021/2Fail80%25
SportLevel 42021/2Transfer 3
SportLevel 42021/2Withdrawn20%8
SportLevel 42021/2Total Attrition12%33

 

 

 

I have hundreds of rows of data for various programmes and I tried filtering on the year and creating the table separately then appending the two columns (labelling them attrition % 2020/1, Headcount 2020/1 as below). This worked where I had three different programmes, but now that I am attempting it with several hundred, it is not showing the correct figures for the appended year. Any advice is appreciated.

 

This is the end table I'm aiming for. 

ProgrammeLevelOutcomeTotal Attrition % 2020/1

Headcount

2020/1

Total Attrition % 2021/2

Headcount

2021/2

SportLevel 4Fail97%6580%25
SportLevel 4Transfer 7 3
sportLevel 4Withdrawn3%220%8
SportLevel 4Total Attrition13%6712%33
5 REPLIES 5
pdave87
11 - Bolide

@EricaMN can I take a look at source / input files with your workflow?

Qiu
21 - Polaris
21 - Polaris

Hope this is what you need.

0925-EricaMN.PNG

EricaMN
5 - Atom

Thank you very much @Qiu! it has worked. I hadn't thought to change my fields to strings so I could concatenate!  much appreciated! 

 

EricaMN
5 - Atom

Thanks for replying, I was given the solution. 

Thanks!

Qiu
21 - Polaris
21 - Polaris

@EricaMN 
Glad to help and thank you for the accept mark!

Labels
Top Solution Authors