Help in creating Calculated Key figure

Hi,
I have a simple question please help me out.
I am creating a calculated key figure, in the formulae i have to use the = sign.
But i cudnt find any function related to put the = sign
i just have to wrtite
=KF
But cudnt find the function for = sign.
plz help...

Hi,
to create this formula u have to do 2 steps:
1) Create a formula for KF1:
KF >=200    result 1 , if the key figure is <200 the result is 0
In KF options "display" mark KF as not displayed
2) Create a 2nd formula:
KF1KF  result: if KF is >=200 its calculated as 1200 ;
                       if KF is <200 for expample 150 ist calculated as 0*150
Hope it helps
Regards
Edited by: Tobias on Apr 3, 2008 10:18 AM

Similar Messages

  • Calculated Key figure Complicated

    Experts,
    I am struggling with the design of a report which requires the following fields
    Payer      ShipTo     PH2     Year     Units     Price     Sales $     Price input
    HD     1234     1301     2006     16      $19.00       $304.00       $19.00
    Lowes     9999     1301     2006     100      $19.60       $1,960.00       $19.60
    Lowes     9999     1303     2006     300      $29.00       $8,700.00       $29.00
    HD     1234     1303     2006     200      $32.00       $6,400.00       $32.00
    Above is what is directely coming for the cube. I need to calculate "Base Price" which is the average of "sales" by PH2. for example the report will like like following
    Payer      ShipTo     PH2     Year     Units     Price     Sales $     Price input     Base_Price     
    HD     1234     1301     2006     16      $19.00       $304.00       $19.00      1132     Sales Avg by PH2
    Lowes     9999     1301     2006     100      $19.60       $1,960.00       $19.60      1132     Sales Avg by PH2
    Lowes     9999     1303     2006     300      $29.00       $8,700.00       $29.00      7550     Sales Avg by PH2
    HD     1234     1303     2006     200      $32.00       $6,400.00       $32.00      7550     Sales Avg by PH2
    Any thoughts on how I can do this...
    Help will be greatly appreciated
    Thanks
    Raj

    Hi Yashu,
    Create Calculated Key figure on sales, and select properties od that CKF and on Exception aggregation select Average of all values <> 0, and exception chareteristcis as PH2.
    hope this helps
    Regards,
    Daya Sagar

  • COPA calculated key figures and scheme on R/3 side

    We have created calculated key figures on the R/3 side and inputted formula (which is essentially the scheme/basic formula in transaction KER1) for this key figure.  We then checked off this key figure in the COPA datasource.  These key figures are only adding and subtracting certain elements for a particular record.  In RSA3 on the R/3 side, this key figure is calculated correctly.  In BW, in the PSA, it's calculated correctly.  The problem is when it goes to the ODS.  It gets no values.  All 0's.
    Does anyone have any ideas?  It's straight forward mapping and I'm thinking it's a bug, but wanted to check if there was anyone that had this problem before and some "hidden" config had to be done.
    Thanks,  Mark.

    Anyone have any ideas?

  • Need some help on Calculated Key Figures

    Hello All,
    I created a query on a multiprovider and trying to add a field to an existing Structure on rows.
    The new field is a combination of 5 differnt key figures.
    Eg: (KF1KF2KF3KF4KF5) / KF6 * 100.
    How can I add this formula field into the strucuture on rows. do i need to create a CKF ??
    Thaks in Advacne.

    Hello,
    Yes you can create a calculated key figure if you are going to reuse the calculation. However, if you're going to use this only once, you can just create a local formula. Just right click on the structure and then select New formula to create a new formula or create a new calculated key figure on the left screen panel to create a calculated key figure.
    Hope this helps,
    Juice

  • Creating Query in Production with Calculated key figures

    Hi BW Experts,
    Can u pls let me know that in case of Production System when we are allowing users to create reports with Adhoc Web Query Designer and using CKF + RKF
    (Calculated key Figure) which is already transported to Production in a specific Package, Is Production system will allow to save report?
    Pls sugges how to solve this problem ..to give permission for users to create reports in production server with CKF RKF?
    Thanks in advance

    rsa1 -> transport conection -> object changeability button -> Set query elements as everything changeable.
    If you want to refine this you have to do by authorizations.

  • Problem in Calculated Key Figure in BEx 7.0

    Hi All,
    In Bex 7.0
    We have a requirement where we need to display a key figure which is having unit price of an Article. In our InfoProvider we have Article, Store and Date and the report is based on Article. As we have to display only the latest price we have created a RKF by putting a restrcition of the latest date in the date range on the the unit price key figure. But still unit price is getting aggregated over stores.
    For example if there are 10 stores and the unit price of an article is 5, then data displayed is 50 and not 5.
    We tried to create a Calculated Key Figure using the above RKF and an exception aggregation Average of all detailed value that are not zero, null or error on reference characteristic 0PLANT. Its working fine when the query is restricted to one or two Articles. But for all the articles it gives the following error messages.
    1. Error while reading data; navigation is possible.
    2. Error occurred during parallel processing of query 17; RC3
    3. Error executing physical plan: AttributeEngine: no 6952
    4. Error reading the data of infoprovider ZXMSC01$X
    5. Amount of data that is to be read from the BIA server is too large
    6. The following error 6952 occurred in BIA server
    7. Error executing physical plan: AttributeEngine: not enough memory;BwPopMerge pop1(setIsLastMerge(1)),in executor::Executor in cube: p03_zxmsc01
    Can anyone tell me the solution for the above error. Or if there is a workaround to our requirement.
    Regards,
    Sachin

    Hi,
    Could be a memory issue.
    One of your cube in on BIA which is causing the Problem.
    So executing the query in RSRT by selecting Do not use BIA index option.
    If the query is executed with out any issue then take the cube out of BIA and push it back.
    Hope it helps.
    Regards,
    Raghu
    P.S : Also please let us know if this query is live and it is an issue that you are facing after executing it properly for few days.
    Or this is a new query created and testing now and in the process got this error?
    Edited by: Raghu tej harish reddy on Sep 24, 2009 5:53 AM

  • Using Characteristic in Calculated key figure

    Hello every one,
    I need a help. Can anyone help me in solving one requirement.
    I want to know if i can use a Characteristic in calculated key figure.
    Thanks in advance.

    Hi,
    You can try to create a formula variable of type replacement path and supply this char to pull the value from. Evaluate this value as a boolean (1 or 0 for if there is a value or not). Then you can create a new formula using this formula variable and your CKF. If the result is 1, then you get the value of the CKF, or if the indicator returns 0, then you get 0 as the result.
    Hope this helps...

  • IF Condition in Calculated Key Figure .

    Hi,
       can anyone can tell the syntax for using "If Statement in Calculated key figure ".

    Hi,
    If amt1 ne amt2.
      select amt1.
    endif.
    Try the following for above condition :
    Create a formula varible.
    1) select 'amt1'.
    2) Go to boolean, select 'is not equal to'.
    3) select 'amt2'.
    4) select '*'.
    5) select 'amt1'.
    its looks like
    'amt1'<>'amt2'*'amt1'
    hope this helps..
    regards,
    raju

  • Currency translation problem for calculated key figure

    Hi All
    I have a problem with the currency translation for a calculated key figure.
    I have a requirement to show the MM consignment stock value in the specified currency from the selection screen.
    For consignment stock, there is no value maintained in the system. So for this we need to calculate the value as below
    Restricted key figure: RKFConsignment stock: Total stock with special stock indicator restriction "K"
    Calculated keyfigure: Consignment stock value = Nodim( RKFConsignment stock) * (Standard cost / price unit).
    Here, in the calculated keyfigure properties --> I have used a currency translation for the 0CALMONTH.
    The query has selection on the 0calmonth.
    But in the result the I am getting unexpected results.
    Do we have any inconsistencies in the currency translation on the formulas?
    Please help me on this.
    Regards
    S.R

    Hi All
    I have noticed something. I changed my query date selection to Calendar day - Keydate instead of calendar month.
    And I have changed the currency variable to fixed exchange rate "CHF", it is working fine.
    I think I have some problem with the currency translation variable.
    Could anyone of you please send me the currency translation variable for Calendar month with the below parameters
    exch rate  type :  M
    Time reference : 0CALMONTH
                               End of month
    Target currency for a variable : < var created on 0currency>
    For my report,  i need calendar month selection, currency selection.
    Please help me with your ideas.
    Thank you
    Regards
    S.R

  • Can one call a function module in Calculated Key Figure?

    Can one call a function module in Calculated Key Figure? If  yes how, if not, what is the solution if formula does not suffice?
    I want to convert duration which is in seconds to   Duration in Hours and Minutes. There is a function module for doing it. Not sure how to do it in a formula.

    One option you have is a Virtual Key Figure and User Exit to use the Function Module to convert the time from seconds to HH:MM. Here are two documents on this subject to help you create them, based on the technology your comfortable with:
    [Implementing Virtual Key Figure/ Characteristics Makes Query More Dynamic|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c&overridelayout=true]
    [Step By Step Process for Virtual Key Figures and Characteristics through BAdi|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c&overridelayout=true]

  • How to add unit to calculated key figures in BEx

    How to add unit to BEx calculated key figures in SAP BW BEx?
    I would like to add a unit to a calculated key figure in SAP BW BEx, so that it gets visible on the end user level. Currently the unit field is empty. I calculated the value from various key figures with different units and removed the units with the NODIM()-function. Is there an inverse function to NODIM() with which you can add a specific unit (like EUR or TAG).
    The "How tou2026 Report Data in Alternate Units of Measure" does not seem to cover the point.
    "Quantity Conversion Guide for SAP Business Intelligence" refers to the "Conversion" tab.
    I suppose you have to add a conversion routine, which is 1:1 and sets the target unit defined in BEx.
    Has anyone tried this? Is there a more simple solution?
    OLAP-Quantity Conversion:
    http://help.sap.com/saphelp_nw70/helpdata/EN/27/b65c42b4e05542e10000000a1550b0/frameset.htm

    Hi,
    if your CKF will have always same unit and you have one KF in you inforpovider with this unit, you can try to do this trick
    create a new hidden CKF as new CKF = KF / KF (with this equale new CKF = 1 unit)
    change your old CKF as old CKF = old CKF * new CKF
    let me know if it works.

  • Calculated Key Figures question

    Hi
    In a Purchase Order report I have included a Calculated Key Figures and this report is transported to the QA environment.
    Then I create another report using the same Calculated Key Figures but when I tried to save the query it gives me an error;
    "The query could not be saved due to a problem in transport"
    "BEx transport request 'BD1K900664' is not suitable or not available".
    I was told that when the 1st report uses that Calculated Key Figures and the report transported over to the QA I cannot reuse the same Calculated Key Figures in the new report. Is this true in SAP BI? If so how can I reuse the same Calculated Key Figures in a new report.

    Hello Lai,
    Once you have transported the earlier report along with the original calculated key figure, create one more request by selecting just the cal. key figure which you want to use.
    dont release this request.
    Now any change you make in the cal. key figure will be stored in this newly created request.
    also go ahead and create a new query using this ckf and save it in the newly created request.
    Then you can always release this and transport the same.
    hope this helps..
    let me know for any further issues...
    thanks,

  • Calculated key-figures are wrong in result rows

    Hi,
    I developed a BEx query which shows profi-centers and materials in the rows, and the price, the amount and the amount-value in the columns.
    Price and amount are basic key-figures on the cube, the value is calculated via a calculated key-figure in the query (price*amount).
    Now I have added result rows an profit-center level in the workbook. Everything works fine, BUT when I hide the materials, the result-row on profit-center level is calculated wrong.
    Is there any possibility to hide the material-lines without having the resul-rowts calculated wrong? Is there any feature like "caculate material in background but hide in the workbook"?
    I don´t like to create other basic key-figures on cube level, as this is only an example for lots of calculated key-figures which I use.
    Thanks for your help,
    Patrick

    Hi Patrick,
    Since the prices and amounts are on the material level, therefore the calculation for amount value will be correctly done only when you have materials in the rows.
    Now when you hide the materials, then the system would not know on what basis to do the calculation: I'll explain with an example.
    Let's take four materials which have the same profit center assignment. But the prices for each of them are different and so are the amounts. Now if you remove the materials from the rows, then say the system calculates amount-value by taking the average price and multiply that with the total amount of the four materials. That would also give an incorrect result - isn't it?
    So there is no way to define what the system should do when material is removed from the rows.
    So material would be the minimum required granularity for such a report to show correct results.
    Regards,
    Shweta

  • Calculated Key Figures vs. Formulas

    Hello all,
    Can someone explain in a few words what's the difference between a Calculated Key Figure and a Formula? We know the CKF's are global to all the queries and the formulas aren't. But how can we decide when to use ones or the others?
    Many thanks,
    Inma

    Hi Inma,
    As you correctly mentioned, the CKFs are Global, which means that they can be used in different queries built on the same InfoProvider. Formulas cannot be directly reused, but if they are saved to a global structure, then the structure may be reused. If you are creating a calculation that will be widely used, it is best to create it as global...this helps a lot when you need to revisit the definition, and make changes as one chnage is reflected in all queries.
    However, there are some functions like SUMCT, SUMGT, SUMRT, %CT, %GT, %RT which are available only to the formulas (local), so if you need to use them, you cannot use a CKF.
    Hope this helps...

  • Calculated Key figures using different key figures

    Hi All,
    I want to create a calculated key figure based on Actual and Plan.Actual values are coming from InfoCube,Plan values are loaded from Excel sheet into different key figure in another infocube.I've created a MultiProvider for these Cubes.Now I want to find the difference between plan and actual.So I created a calculated keyfigures based on the key figures.But the Query is giving error ..
    Then the connection terminated..
    Let me know how to do..
    Raji

    What is the error you are getting?
    First do this.
    In the query, filter on only 1 infoprovider. Check the KF's and see if correct and if you get the error. Then, do the same thing, for the other infoproviders. Once you get no errors that way. Remove the filter. See if the KF's are ok and no errors. Then do your calculation.
    Also, make sure in the definition of the KF's, you are filtering each on the right infoprovider. (For instance, KF1 has a filter on infoprovider1 and KF2 has a filter on infoprovider2.)
    hope this helps!
    /smw

Maybe you are looking for

  • Re Order Pages

    i have a 700 page document, which are patents a company has done. I need to re order the pages so instaed of the title number, the date is used which is in a different text field. The only problem is the date is formatted 10-sep-03 will I have to re

  • Show Me in Photoshop error

    I have created tutorials using Tutorial Builder successfully, loaded them in Tutorial Veiwer and logged into localmachine where I an also running Photoshop. When I click on Show Me in Photoshop in my tutorials I get the following message: "Photoshop

  • Linking iViews

    I know this is probably a stupid question, but for some reason it's stumping me.  I have a par project and have created multiple portal components inside it.  The pages are simple and I just want to hyperlink navigate between the pages with as little

  • Import to iPhoto and photos get deleted instead of stored

    I import my photos to iPhoto, they appear that they are downloaded. I close iPhoto and reopen and they are deleted while event remains only it is empty.

  • How long does it take for phone to work on the day of new billing cycle

    i was wondering because it just became the 12th where im at in california and i went over last month on my billing cycle how long does it take for the phone to work at the start of the new day?