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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

Labels (1)
1 Solution

Accepted Solutions
Clever_Anjos
Support
Support

Maybe this, please adjust your field names

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

View solution in original post

6 Replies
Clever_Anjos
Support
Support

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

tresB
Champion III
Champion III

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
Support
Support

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