Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
stjernvd
Partner - Creator
Partner - Creator

Variable in script loading empty

Hi,

I have a set a variable name for my table in the script and for some reason it is loading blank, why?

Set $(table) = Product_Regions_$(vM);

TRACE 'tbl : $(table)';

(vM = peek('Months',-1, 'Months))

What I get in my loader is:

'tbl: '

I don't see what I am doing wrong.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Set table = Product_Regions_$(vM);


What is vM?

View solution in original post

3 Replies
MK_QSL
MVP
MVP

Set table = Product_Regions_$(vM);


What is vM?

stjernvd
Partner - Creator
Partner - Creator
Author

I see my error, silly me, thank you!!

Anonymous
Not applicable

Looks like you have a stray single quote :

    (vM = peek('Months',-1, 'Months))


Hard to see even when I made it bold red.  It is before the second Months.