usage of UNDEFVALS
Posted: Wed Jan 15, 2014 10:32 am
Hi all,
I suspect my problem is very generic.
I have a cube which uses UNDEFVALS. It works as expected. Now, I would like to have an additional rule like
['RejectedPrct'] = 1 - ['RejectedQty'] \ ['InspectedQty'];
I can see that it works for cells with valid integers (including 0) but when I get a "null" cell (for either Rejected or InspectedQty), the formula returns 1. I would like the formula to return null when any of the input value is null.
Is there a way to do that?
Thx for your help!
I suspect my problem is very generic.
I have a cube which uses UNDEFVALS. It works as expected. Now, I would like to have an additional rule like
['RejectedPrct'] = 1 - ['RejectedQty'] \ ['InspectedQty'];
I can see that it works for cells with valid integers (including 0) but when I get a "null" cell (for either Rejected or InspectedQty), the formula returns 1. I would like the formula to return null when any of the input value is null.
Is there a way to do that?
Thx for your help!