Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishbhuyekar
Contributor III
Contributor III

How to get latest record from the table?

Hi All,

I have data set like below,

   

RouteIDStatus
61Available
121New Requiremnt
62Available
122New Requiremnt
63Available
123Change Required
183New Requiremnt

Can you please help me with the expression where in chart it will show the latest record irrespective of selection on Route.

This is default view -

   

RouteIDStatus
1228428New Requiremnt
12240077New Requiremnt
18240127

New Requiremnt


Also if i select route = 6 then it should allow to show below output. If i choose 12 only Route = 12 records should be displayed.

   

RouteIDStatus
628428Available
6240077Available
6240127Available

Can any one help me in this regard?

1 Solution

Accepted Solutions
sunny_talwar

May be try this

Dimension

ID

Expressions

Max(Route)

FirstSortedValue(Status, -Route)

View solution in original post

1 Reply
sunny_talwar

May be try this

Dimension

ID

Expressions

Max(Route)

FirstSortedValue(Status, -Route)