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: 
Anonymous
Not applicable

To get the last record from a list

I have a listbox name Quarter with values Q1,Q2,Q3,Q4. I can use the GetFieldSelections(Quarter) to get the field selections for Quarter. However I need to find the last selected value. For Example if the user selected Q1,Q2,Q3 , the result should give me Q3 . How do I achieve this ?

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be use =MaxString(Quarter)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

3 Replies
Anil_Babu_Samineni

May be use =MaxString(Quarter)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
devarasu07
Master II
Master II

Hi,

Yes Anil Suggested maxstring function should work and u can get the desired result using text box object.

check below article from Robert Mika

How to use - MaxString & MinString

Capture.JPG

Anonymous
Not applicable
Author

Thanks guys!!!.. This is what I needed!!