Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ccsimo16
Contributor III
Contributor III

Oldest Outstanding order

Hi

I can report on my outstanding order with no problem, but i am struggling with reports the oldest outstanding order only. Can anyone help?

Thanks

Chris

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

Maybe this, please adjust your field names

FirstSortedValue({<outstanding={">0"}>}OrderNum,Date)

View solution in original post

6 Replies
Clever_Anjos
Employee
Employee

Which criteria you use to classify an order as "outstanding"?

tresesco
MVP
MVP

You may probably use firstsortedvalue() for the same. We could better help if you could provide a sample data set and explain the expected output.

ccsimo16
Contributor III
Contributor III
Author

Hi

I use express =if outstanding >0, sum(outstanding),'')

this will display all my outstanding

thanks

Chris

Chanty4u
MVP
MVP

i think  u can use Firstsortedvalue(field,-dim)

if you want fixed values you can define the range

Firstsortedvalue(field,-dim,3)

Clever_Anjos
Employee
Employee

Maybe this, please adjust your field names

FirstSortedValue({<outstanding={">0"}>}OrderNum,Date)

ccsimo16
Contributor III
Contributor III
Author

Thank you to everyone, what a great community