Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
JoseGarcia
Creator III
Creator III

Last record

Hi there, 

I'd like to show in a numerical KPI the value of last record submitted.

using formula: 

aggr(max(Quality_score), Quality_score)

but this is not returning any values at all.

Any ideas?

Thanks 

Labels (1)
5 Replies
Or
MVP
MVP

FirstSortedValue() should do the trick

JoseGarcia
Creator III
Creator III
Author

LastSortedValue(Quality_score)

?


Or
MVP
MVP

https://help.qlik.com/en-US/qlikview/May2023/Subsystems/Client/Content/QV_QlikView/Scripting/Aggrega...

Sorry, you caught my post pre-edit.

Parameters should be the value and the sort weight. Value is the field you've been using and sort weight would presumably be the record's timestamp.

nehakakar
Contributor
Contributor

Try this..

aggr(max({<DateField>} Quality_score), DateField)

 

for more detail Official Doc 

JoseGarcia
Creator III
Creator III
Author

@nehakakar 
formula did not work, I think this because my Date field 'Created' is not seen as a date