Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
avinashkk696
Contributor III
Contributor III

Problem with peek

Hello Experts,

I am new to qlikview. I have a problem creating a variable with peek function. Please find the below script. When I run the script, no value is getting into the variable. Please help.


A:
LOAD * INLINE [
field, value
a, 1
d, 3
d, 5
f, 67
g, 5
r, 3
h, 5
,
]
;

B:
Load
max(value) as val
resident A;
let vmax=max(peek('val',0,'B'));

1 Solution

Accepted Solutions
m_woolf
Master II
Master II

let vmax=peek('val',0,'B');

View solution in original post

1 Reply
m_woolf
Master II
Master II

let vmax=peek('val',0,'B');