on 03-03-2010 9:52 AM
Hi Experts,
I have the following expression defined in my VC model however, it keeps on showing the wrong value, i.e. Declined:
=IF(@VALUE=='0','Pending',IF(@VALUE=='1','Approved','Declined))
The values should be if 0 then Pending, if 1 then Approved and if 2 then declined.
It appears to only be reading the final IF statement - can anyone offer some guidance on where I have gone wrong?
Thanks,
Bim.
Hi
Try with following expression -
bool(IF(@VALUE=="0","Pending",IF(@VALUE=="1","Approved",IF(@VALUE=="2","Declined"))
Regards
Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If @Value is numeric then remove '' for ZERO, ONE & TWO
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.