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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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');