Free Trial

Alteryx Designer Desktop Discussions

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

Dynamically column names

Zaid
8 - Asteroid

Hi All,

 

I have got two data sets, one having the score of students of current year and the other having the score of previous year. I have joined the two datasets and the data looks like this:

NameScore_Current YearYearRight_NameScore_Previous YearYear
John762018John682019
Mike772018Mike752019
Anthony852018Anthony892019

 

I was wondering if there is any way, we can change the name of the column "Score_Current Year" and "Score_Previous Year" with the respective values in the Year column. For example, Score_Current Year should be Score 2018 and Score_Previous Year should be Score 2019. And this should be dynamic.

 

Thanks

Zaid 

1 REPLY 1
jamielaird
14 - Magnetar

Hi @Zaid ,

 

There are a few ways you could approach this. Here's one way:

 

Screenshot 2019-04-11 at 08.42.45.png

 

Workflow attached.

 

-----

If I've answered your question please consider marking this solution as accepted. Thank you!

 

Labels
Top Solution Authors