on 08-02-2017 1:05 PM
Hello gurus
i am facing difficulty in defining nested if statement in the calculated column.
I have something like below in the calculated column:
if("MARG_VIEW"!='Z', "MARG_VIEW",
if("YMQTYPY"=0 and "YMQTYAY"!=0,'41',
if("YMQTYAY"=0 and "YMQTYPY"!=0,'42',
if("YMQTYAY"=0 and "YMQTYPY"=0,'43','N'))))
if the first line of code is satisfied, it gives me correct result else
this is giving me NULL values for the rest lines of my code.
I don't understand why an if statement doesn't work when comparing with key figures..
Any pointers? Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.