Skip to Content
author's profile photo Former Member
Former Member

Rounding issue in Formula Keyfigure

Hi BI Experts,

I have one formula key figure ,this Key figure can have CEIL or FLOOR values as per the client requirement.

For example 9996.01 should appear as 9996 and 78886.99 will also appear as 78887.


Could you please help how to show CEIL and Floor in single Key figure.


Thankyou for your support.


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 19, 2015 at 04:34 PM

    Hi,

    Say your Keyfigure is KF1. You need to create a formula/CKF as below to get the desired result.


    CKF = ( ((FRAC(KF1) < 0.5) * FLOOR (KF1)) + ( ( FRAC(KF1) >=0.5) * CIEL(KF1) ) )


    Regards,

    Satya.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 21, 2015 at 06:17 AM

    Hello sapbibw,

    I have faced the same issue. i have also try with formula CEIL and FLOOR, but there is one other way :-

    In your KF property tab, make below two seetings:-

    1) No of decimal places to -> 0

    2) Scaling Factor -> 1

    and after this try to re-run query. it will make round-off .

    try this and let me know whether it is working for you ?

    Regards,

    Hitesh Gavande


    Capture.PNG (46.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.