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: 
Venthan
Contributor III
Contributor III

First Sorted Value

I have a date like below,

| Status_Desc | Status Date | System Date |
| Returned | 08.04.2025 08:02 | 08.04.2025 15:24 |
| Delivered | 02.04.2025 16:58 | 08.04.2025 15:24 |

I want to display the Staus_Desc based on Last inserted System date

=FirstSortedValue(STATUS_DESC,-STATUS_DATE)

This does not give any results as the system date is same for both the lines.. If there are two entries with same System date, do we have any option to show any one of the Status_desc. Or please suggest an alternative to achieve this.

Labels (4)
1 Solution

Accepted Solutions
JHuis
Creator III
Creator III

ik you do =FirstSortedValue(distinct STATUS_DESC,-STATUS_DATE)

View solution in original post

1 Reply
JHuis
Creator III
Creator III

ik you do =FirstSortedValue(distinct STATUS_DESC,-STATUS_DATE)