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: 
qlikpms
Contributor
Contributor

peek function

hi everybody,

i need your help please

i wrote in my script :

if(InterventionDate=peek('InterventionDate'),
num('0,'&subfield(num(peek('InterventionHeureDebut',RowNo()+1)),',',-1))*1440) as NumHeureDebut,

and the result is  (column i have in red)

qlikpms_0-1634585080440.png

in yellow what i wish

in the first line i d like to have the result of interventionHeure in the second line, etc...

Many thanks for your help

 

Best

 

C.

 

1 Reply
stevejoyce
Specialist II
Specialist II

remove quotes in peek function parameter and see if that solves your problem

it should be peek(InterventionDate)