on 09-27-2012 11:40 AM
Hi experts,
I'd like to ask for your inputs how can I force negative values in using macros?
for example, my equation is only to average the row values (all positive) and i want to input the evaluated values to another key figure but showing as negative values?
thanks a lot for your help.
regards,
KP
May be I don't understand your question, but wouldn't be enough to put your result in a variable and then input the result as
row =
- LAYOUTVAR_VALUE( 'YOURVARIABLE' )
?
Or the same thing, but putting your calculation directly after the "-" sign, eventually with EVAL( in front of it. Is this what you want to do and it is not working as you expected?
regards,
J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If 'YOURVARIABLE' = 10, - LAYOURVAR_VALUE( 'YOURVARIABLE' ) will put -10 in the target row, unless you defined the ratio as for positive values only.
You should check in RSA1 --> Infoobjects --> Infoobjet supporting your ratio --> Data Type that you are not using an InfObj of type Integer (if so, try quantity instead).
Hello Krish,
Is the multiplying the row values by -1 not working???
i.e.
Row 'abc' ( ) = Row 'def ' * -1.
abc = new row
def = avg row
This should work.
Regards,
Anurag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.