Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
employe4_2
Contributor III
Contributor III

Quick easy question! ... well i think

Hi,

 

i want to get some date when a value from a variable change.

i go this table 

2019-09-10_15h28_11.pngand in the first line where the value change from 0 to 5 i want to keep the date value. i was going in this exercice like" yeah ez af"  but comparing with a value from an other timeline bug my mind ...

anyone got an hint ?

thx

1 Solution

Accepted Solutions
chriscammers
Partner - Specialist
Partner - Specialist

If you want to calculate this in your load script then you'd want to think about the functions peek() and previous()

https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFun...

https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFun...

 

Then if you are thinking about just doing it within the chart then you would want to think about the above() function.

https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterReco...

 

 

View solution in original post

2 Replies
dplr-rn
Partner - Master III
Partner - Master III

Not clear what you are trying to achieve. but i understand you want to compare current row with row before somehow.

Use above function

https://community.qlik.com/t5/QlikView-Documents/Missing-Manual-Above-and-Below/ta-p/1481948

chriscammers
Partner - Specialist
Partner - Specialist

If you want to calculate this in your load script then you'd want to think about the functions peek() and previous()

https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFun...

https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFun...

 

Then if you are thinking about just doing it within the chart then you would want to think about the above() function.

https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterReco...