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: 
Anonymous
Not applicable

Trouble with Peek()

Hello,

For some reason I'm getting null values from the Peek function, as follows:

Let TwitterID = Peek("Twitter ID",i,UserIDs);

* I've tried the field name as "Twitter ID", "[Twitter ID]", and the latter without quotes (which I gather from the documentation is incorrect, but...)

* i is starting out properly at 0.

* The UserIDs table is correctly loaded prior to this part of the script.

* Every record in the UserIDs table has a non-null value in the [Twitter ID] field, as verified by going to the data model and hitting preview.

Unfortunately, the above-listed assignment statement results in the TwitterID variable being set to NULL each and every time. Any hints?

Thanks in advance,


Kent

1 Solution

Accepted Solutions
Not applicable
Author

Try with Let TwitterID = Peek('Twitter ID',i,'UserIDs');

View solution in original post

2 Replies
Not applicable
Author

Try with Let TwitterID = Peek('Twitter ID',i,'UserIDs');

Anonymous
Not applicable
Author

Doh! I knew I was doing something completely stupid. Thanks for the wake-up call.