Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
yanivvl0
Creator III
Creator III

Why Importing variables from excel using ForLoop and Peek doesnt work?

hi to all ,

i am trying to import values into variables like in the nice examole : https://community.qlik.com/thread/27883

i am using exactly the same code but no good ,

am i missisng something?

here is the good and the bad values for one variable :

var values.PNG

see the attached files - it supose to be simple ,

thanks for your HELP ..

3 Replies
ElizaF
Creator II
Creator II

Hello,

The mistake is in how you define the variable [$(vVariable_Name)].

Pls change

Let [$(vVariable_Name2)] = Peek('vdb',vI2,'vServerName');

in

Let [$(vVariable_Name2)] = Peek('vServerName',vI2,'vServerName');

I hope to help you.

yanivvl0
Creator III
Creator III
Author

thanks Eliza !!

ElizaF
Creator II
Creator II

My pleasure .

Please mark , if it is correct the answers.