on 12-16-2008 2:18 PM
Is there a way to get a value from a previous row, not necessarily the one just before??
For example:
item1 A 23
item2 B 96 <--
item3 A 10
item4 A 47
item5 B 0 <--
When the value in the 3rd column is 0, I want to return the value of the item that has a like 2nd column value (B). In this case it would return 96.
Is this possible??
Thanks in advance for your help.
Hi John,
There is a previous function, in XI 3.0 not sure about XI r2, but that will only return the previous line. You can nest them, as in
previous(previous([My Object]))
I have never tried in production, so I am not sure how far you can go, that is the number of nested statements.
Let me know how you get on
Regards
Alan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.