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

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

Peek returns null value

Hi,

I'm trying to use peek , but returns null. Code is like this:



DATES1:

LOAD

DATE

.....

LET varMDate = Num(Peek(DATE, 0, DATES1))

.....

Any clue?

-Arun





4 Replies
Not applicable
Author

I guess the code should be

LET varMDate = Num(Peek('DATE', 0, 'DATES1'))

Not applicable
Author

Amit, no luck.

-Arun

Not applicable
Author

Arun, are you sure that the value is not null in source data? Try putting some other number instead of 0 in that code and see if it still gives null.

Thanks

Amit

Not applicable
Author

Amit,

Yes, I was trying that. and for some other random number is is returning value. Now I'm out of the dark.

Thanks Bud.

-Arun