Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2023, a live, in-person thrill ride. April 17 - 20, 2023, in Las Vegas! REGISTER TODAY
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.