Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Peek

What is difference bewten Peek and previous functions in Qlickview ?

3 Replies
Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

Hi,

Using peek fun we can fetch any records which have been loaded previously where as Previous fun can used to fetch previous record(if current load statement read 4th record previous fun can read 3rd record value).

Peek fun can be used in load statement as well script variables bt Previous function can not be used in outside of load script.

Thanks

Paridhi

Anonymous
Not applicable
Author

Hi ramesh,

Peek() finds the value of a field in a table for a row that has already been loaded or that exists in internal memory. The row number can be specified, as can the table.

Syntax:Peek(field_name[, row_no[, table_name ] ] )


Previous() finds the value of the expr expression using data from the previous input record. In the first record of an internal table, the function will return NULL.

Syntax: Previous(Exp)



R/Murali.