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: 
saharadi
Contributor II
Contributor II

previous value in tooltip

Hello, 

 

i want to create a KPI that show "CurrentClient" (no problem) and in the tooltip it show the one before the last on of "ClientHistory" (here i need help)

for exampe in the table below: 
in tooltip of KPI it need to show Google
can it be possoble? 

saharadi_0-1737485665565.png

 



Labels (3)
2 Replies
MatheusC
Specialist II
Specialist II

Hi, @saharadi 

Try the Peek() function in your script, for example:

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

************************************************************************************************************************
TablePeek:
Load
ClientHistory,
Peek(‘ClientHistory’,-1) as ClientHistoryPeek
Resident YourTable Order by ClientHistory desc;



- Regards, Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
Chanty4u
MVP
MVP

Try this 

Above(Only({<ClientHistory>} ClientHistory), 1)