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

Allow Measure using FirstSortedValue to filter in table

 

Hi All,

I created a table with Name as dimension, and the Status us a measure with this formula '=FirstSortedValue(DISTINCT Status, -Date)'

Name Status
RefA Completed
RefB Pending
RefC Removed

 

How can I make that measure (resulting Status column) to be able to filter (magnifying glass) on the table?

Labels (1)
1 Solution

Accepted Solutions
sidhiq91
Specialist II
Specialist II

@ynottableau  Could you please use the below expression in your Dimension:

Aggr(FirstSortedValue(Status, -Date),Name)

If this resolves the issue, please like and accept it as a solution.

View solution in original post

2 Replies
sidhiq91
Specialist II
Specialist II

@ynottableau  Could you please use the below expression in your Dimension:

Aggr(FirstSortedValue(Status, -Date),Name)

If this resolves the issue, please like and accept it as a solution.

ShaneMichelon1
Partner - Contributor III
Partner - Contributor III

This solution does not work.  Your AGGR is allowing you to select a 'Name' rather than a 'Status'.  I am not sure there is an actual solution as I have the same problem.