Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
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

View solution in original post

Not applicable

table1:

load * inline [

value

1

2

3

4

5

];

load

'wk' & value as  value_new

resident table1;