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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Return Last String In Field

Claimant TypeClaim NumberVer NoPayment ReservesRecovery ReservesPaymentsRI RecoveriesNon RI RecoveriesIncurredStatus
ADRS1002021925.000.000.000.000.00925O
ADRS1002022925.000.000.000.000.00925O
ADRS1002023925.000.000.000.000.00925O
PIRS10020214585.000.000.000.000.004585O
PIRS10020224585.000.000.000.000.004585O
PIRS10020234585.000.000.000.000.004585O
TPRS10020211000.000.000.000.000.001000O
TPRS10020221000.000.000.000.000.001000O
TPRS10020231000.000.000.000.000.001000O

i have this original set of data.

i need a table which returns the highest Ver No. for each claimant Type. and all the other records which correspond to that max version number. (see below)

Claimant TypeClaim NumberVer NoPayment ReservesRecovery ReservesPaymentsRI RecoveriesNon RI RecoveriesIncurredStatus
TPRS10020231000.000.000.000.000.001000O
PIRS10020234585.000.000.000.000.004585O
ADRS1002023925.000.000.000.000.00925O

Thank you in advance

2 Replies
Not applicable
Author

Try creating a straight table with set analysis expression such as:

only({$<VerNo=$(=max(VerNo))>} PaymentReserves)

Not applicable
Author

I have tried it. why doesn't this work? forgive me i am new to the systme still.

only({$<[Claim Transaction Sequence Number]=$(=max([Claim Transaction Sequence Number]))>} [Claimant Payment])