Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Peek down't work. Why?

I have this code... but my Peek Function down't work and i don't know why:

table1:

LOAD * INLINE [

    Value,

    213631813,

    398907807,

    598414875,

    815581816,

    1078268596,

    1329273399,

    1616602869,

    1921932262,

    2124882492,

    2324283650,

    2545031461,

    2746746103

    ];

For i = 0 To NoOfRows('table1') - 1

    let vValue = peek(Value, $(i), 'table1');

   

Next i

vValue ever is NULL

can somebody help me?

Thanks

4 Replies
maxgro
MVP
MVP

'Value'

let vValue = peek('Value', $(i), 'table1');

Clever_Anjos
Employee
Employee

let vValue = peek('Value', $(i), 'table1');

Anonymous
Not applicable
Author

you Need to encliose Value with '

   let vValue = peek('Value', $(i), 'table1');

and it works

Not applicable
Author

oooohh, the apostrofes!!!

jajajaja

sorry... Thank You ^^