on 12-01-2017 9:51 AM
Hi All,
I am new to BEX & I would like to create a new Key Figure "Total_GL_Amount" in Query Output with following expression:
(Account_type = 'S') * 0 + (Account_type <> 'S')* GL_Amount
Where Account_type is characteristic & GL_Amount is Key figure.
Please suggest what I have to do it.
GL_Amount is a KF. It is then available for any calculated KF.
To make the Account_type available, just create a formula variable (type replacement path).
Regards,
Frederic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Frédéric Cincet....
I have one more doubt regarding Formula Variable.
Account_Type have Alphabetic values. Can Formula Variable return a char value like S, K, N, D etc. If not how I am going to write following expression in calculated KF.
(Account_type = 'S') * 0 + (Account_type <> 'S')* GL_Amount
Yes, char types are supported by formula variable.
Note that Koen Hesters gave you another interesting possibility (use a restricted KF rather than a calculated one).
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.