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

Last figure

Test:
LOAD * INLINE
[myDate, Utilisation, Capacity (23.3TB)
25/07/2016, 92.62, 22.105
01/08/2016, 91.69, 21.883
08/08/2016, 91.08, 21.738
15/08/2016, 91.38, 21.809
22/08/2016, 91.85, 21.921
29/08/2016, 91.85, 21.921
07/09/2016
08/09/2016
10/09/2016
]
;

Imagine myDate is infinite. I would like to get the last Utilisation figure 91.85 without explicitly saying myDate= 29/08/2016

I am trying to get the logic behind it.

//sum({< myDate >}Utilisation

1 Solution

Accepted Solutions
effinty2112
Master
Master

Hi David,

try:

=FirstSortedValue({$<Utilisation ={">0"}>}Utilisation,-myDate)

Kind regards

Andrew

View solution in original post

4 Replies
effinty2112
Master
Master

Hi David,

try:

=FirstSortedValue({$<Utilisation ={">0"}>}Utilisation,-myDate)

Kind regards

Andrew

Chanty4u
MVP
MVP

try this in front end

=FirstSortedValue(Utilisation,-myDate)

Anonymous
Not applicable

Try This,

=sum({<myDate = {"=Max(Date)"}>}Utilisation)

Kushal_Chawda

try this

=sum({<Date={"$(=date(max({<Utilization={">0"}>}Date)))"}>}Utilization)