Discussion
Pegasystems Inc.
NL
Last activity: 13 Nov 2015 7:26 EST
How to do VLOOKUP like lookup in an expression?
Suppose I have a Page List of Customers
Assume the Customer data model is - in pseudo notation - like this:
Customer {
ID : text,
Income : double
}
ID | Income |
---|---|
CE-1 | 200 |
CE-2 | 500 |
CE-3 | 150 |
Now I would like to get the ID of the customer with the highest income. So in this example, that would be CE-2.
What PRPC expression would give me this (a la Excel vlookup)?
Thanks!
Otto