Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Peek function

hi,

why we use peek function..explain me pls..thanks in advance.

1 Solution

Accepted Solutions
gireesh1216
Creator II
Creator II

The peek function is used to retrieve the contents of a field from a specific table.

Eg:LET varMinDate = Num(Peek('ExpenseDate', 0, 'Expenses'));


Eg: LET varMaxDate = Num(Peek('ExpenseDate', -1, 'Expenses'));


Above script 0 indicates first record of table and -1 means last record of table.

View solution in original post

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

There are lots of post available on community on this topic, you can simply do a google search or search within community.

The best option is you look at help.qlik.com

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
gireesh1216
Creator II
Creator II

The peek function is used to retrieve the contents of a field from a specific table.

Eg:LET varMinDate = Num(Peek('ExpenseDate', 0, 'Expenses'));


Eg: LET varMaxDate = Num(Peek('ExpenseDate', -1, 'Expenses'));


Above script 0 indicates first record of table and -1 means last record of table.