Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
priyarane
Specialist
Specialist

Variable Concatenate by Loop

hi Community,

Is there any wayt to concatenate variables with loop.

for Ex:

vTest = a;

vTest1 = b;

vTest2 = c;

vTest3 = d;

so as per above variables now my loop will run 4 times and final variable like

vFinal = abcd;

_Priya

3 Replies
Chanty4u
MVP
MVP

i think you can try below

same way for all

vYear                   =max(Year)               // field Year

vPreviousWeek     =max(Week)             // field Week

v                         =$(vYear) & '-' & $(vPreviousWeek)

priyarane
Specialist
Specialist
Author

Required by loop as it is required dynamically, I have many variables to concatenate, it is difficult to add manually

Chanty4u
MVP
MVP

i think you have to set it manually ,am not sure about this

may be someone hlp on this