Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
saumyashah90
Specialist
Specialist

Concatenate a string to variable and use it as a field

Suppose i have 1 ,2,3,4,5 values comming out of variable "$(vPrevWeek)" and i want in field as Wk1,Wk2,Wk3,etc

I that means I want to concatenate string 'Wk' with $(VPrevWeek) and output of this iwant as Wk1,Wk2 which i want to use as field.How to do it?

Labels (1)
1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi Saumya,

Not sure you try this yet:

'Wk' & $(vPrevWeek) As [Weeks]

Regards,

Sokkorn

View solution in original post

2 Replies
Sokkorn
Master
Master

Hi Saumya,

Not sure you try this yet:

'Wk' & $(vPrevWeek) As [Weeks]

Regards,

Sokkorn

Not applicable

table1:

load * inline [

value

1

2

3

4

5

];

load

'wk' & value as  value_new

resident table1;