Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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?

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;