on 12-05-2005 12:08 PM
Hi Expert,
i have the necessity, in BEx, to round a Key Figure to the nearest integer value, for example:
Before:3,4 --> After:3
Before:3,6 --> After:4
The "TRUNC" option simply removes decimals but does not make any approximation.
Many thanks in advance
Fabio
Create a calculated KF that use trun(CK + 0,5).
In your sample:
Before:trunc(3,4 + 0,5) --> After:3
Before:trunc(3,6 + 0,5) --> After:4
Hope it helps.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Paolo, that's a good solution!
Message was edited by: Fabio Cappabianca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
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.