

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Concatenate Two string variables???
Hi All,
I am using two variables which contains string values like
vFirst = 'A','B','C'
vSecond='D','E'
Now I want to concatenate these values into one variable (as vCombine ='A','B','C','D','E' ), for this I am using below statement in script:
Let vCombine = '$(vFirst)' & ',' & '$(vSecond)'
But it is showing Script Error message. Can any one help me.
Thanks in advance.....
- Tags:
- new_to_qlikview

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use set instead.
set vOne = 'A';
set vTwo = 'B';
set vThree = $(vOne) & $(vTwo);
etc

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can try this script.
SET vFirst = 'A','B','C';
SET vSecond='D','E';
SET vCombine = $(vFirst),$(vSecond);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
check out the attached test app
set vFirst = 'A','B','C';
set vSecond='D','E';
LET vcombine=vFirst&','&vSecond;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Try
=vFirst &','& vSecond
and click ok

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
please try this expression
set vFirst = 'A','B','C';
set vSecond='D','E';
LET vcombine=vFirst&','&vSecond;
