Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
KirstenKa
Creator II
Creator II

Merge 2 columns and create new column

See also attachment. My data looks like this

 

Season

Year

SS

2024

SS

2024

 

And I would like to merge the 2 columns and add a column like this. I would like to do this by adding a code in the load script. How to do this?

SeasonYr

SS2024

SS2024

 

Labels (1)
2 Replies
sidhiq91
Specialist II
Specialist II

@KirstenKa  Please follow the below script to get the desired ouput.

NoConcatenate
Temp:
Load
Season&Year as SeasonYr
Inline [
Season, Year
SS,2024
SS,2024

];

Exit Script;

If this resolves the issue, please like and accept it as a solution.

sidhiq91_0-1689010341190.png

 

KirstenKa
Creator II
Creator II
Author

See also attachment. I think it almost works, I implemented the script like this:

KirstenKa_0-1689184993790.png

 

 

 

It gives an error in the yellow marked because when I remove yellow marked, the script at the bottom is correct again.

Should exit script be above IF?

KirstenKa_1-1689184993798.png