Calculated Key figure and formula variable issue - Urgent

Hi,
I have created a formula variable on dates. When I run this locally it returns results. Now I have created a calculated key figure on this formula variable. It is not returning any results. Any idea on why this is happening.
Thanks,
Kal

Hi Kal,
Can you paste your Formula & Calculated Keyfigure calculation.
If possible give information on ur formula variable ( processing by , charactesristic , replace variable with ( if it is replacement path ) , Dimension id )
Regards,
SRIKANTH

Similar Messages

  • Regarding Calculated key figure on Formula variable.

    Hi Gurus
    I have a requirement. My business scinerio in E-recruiting is to find out no of days between requistion creation date and offer made date in each month of year.
    For example we have around 120 requistion created in calyender year .
    10 requistion in jan , 10 in feb , 10 in march , 10 april , ...........10 december.
    my client wants out put as
    jan       no of days between offer made date to requistion creation date.
    feb             ,,
    march        ,,
    april           ,,
    may           ,,
    june           ,,
    july            ,,
    december    ,,
    i have requistion , req creation date ,  offer made date , cal period , cal year , no of requistion in my data model.
    i am unable to this report.
    i have made structure in rows
    jan = no of requistion based on calperiod = 1,
    dec = no of requistion based on calperiod =12.
    in Columns
    i created a calculated keyfigure based on formula variable with replacement path of req created date and offer date.
    i am not getting the data. my guess is i went some where wrong. please give some advice where i am going wrong . plz help me on this
    thanks
    roopa

    Hi
    Thanks for your reply.
    Both req creation date and offered date are in the free characteristics of query.
    main problem for me is how to get no of days between offered date - req creation date in jan month.
    can you give me exact formula how to write it down in query builder
    <b> hi Banu ( Queen of reporting ) can you through ligth n this issue</b>
    Thanks
    Roopa
    Message was edited by:
            roopa chow
    Message was edited by:
            roopa chow
    null

  • Diff between Calculated key figure and new formula 6extra functions why

    Hi Friends
                  In BEx query designer we have Restricted key figure & Calculated key figure. In the case of Ristricted Key figure And new selection the difference is Global and local.
    But if we come to Calculated Key figure and New Formula the difference is same global and local. But in New formula we have 6 extra function. My question is does is there any certain reason for this or SAP AG not be able to develop those functions
    Thganks & Regards
    Bramhanand

    Hi Surendra thank you for your reply.
    But i am not asking difference between calculated key figure and New formula.
    What i am asking is in the case of Restricted Key figure And new selection the difference is Global and local.
    But in Calculated Key figure and New Formula the difference is same global and local and in New formula we have 6 extra function. My question is does is there any certain reason for this.Why not SAP AG is not included the new formula functions in Calculated key figure.
    Thanks & Regards
    Bramhanand

  • 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?

  • Restricted & Calculated Key figures and Structures

    Hello Gurus,
    I'm using a BW Query to create my universe and all I see is a class called Key Figures and few objects. I don't see my restricted and Calculated Key figures.
    Also I want to understand how are the Structures in BW Query brought into Universe? All I see is a column class and row class with corresponding objects in it.
    Environment: BO XI 3.1
    Appreciate your help.
    Regards,
    Vijay
    Edited by: vijay dwivedula on Jun 12, 2009 7:46 PM

    Hi Ingo,
    Sorry for getting back a little late on this issue. I've been trying to fix other issues. I'm creating my report out of BW Query and I'm not able to see all the Restricted Key Figures. Also when I try to create my report out of existing key figures and verify the data with BW analyzer the data seems to be different.
    What happens is in my universe I've two classes naming Rows_xyz, Column_abc etc and there are like 25 objects in Rows_xyz when there are supposed to be like 60 key figures and in Column class I have a single object. When I pull in this coulmn obect and pull like 3-4 key figures (which I made sure have data from BW Query Analyzer) doesn't return any data. It doesn't even throw an error as No data to fetch.
    I took the MDX Query that is generated by this report and ran it on the backend and see that there is no data even there. But from the BW Query Analyzer I can see data for this Column and the key figures that I pulled in the report.
    Thank you for your help
    Vijay

  • Restricted Key Figure and : Change Variable in WAD

    Hi everybody,
    I have a restricted key figure in my query, which is restricting all sales volumes of a product by time variable.
    I am using this restricted key figure instead of a real filter on the whole query because I have to view the total volume of this product and the volume in this year.
    This works very well, but I have no possibility to change the value of the time variable in the restricted key figure in WAD by a generic navigation block.
    How can i do this?
    Thanks,
    Alex

    Hi...
    The Web item Generic Navigation Block displays the navigational state of a query view in the Web application in the form of a table. All characteristics and structures in the query view are listed in the table and their filter values are displayed. You can change the navigational status of the query view. You can filter according to single values and remove the filter again.
    You want to see the results in tabular form and to be able to navigate
    through those results using key figures and characteristics.
    1. From the Start menu, open the Web Application Designer and start the Web
    Application Wizard
    a) Choose Start &#8594; Programs &#8594; Business Explorer &#8594; Web Application
    Designer &#8594; Tools &#8594; Wizard.
    Choose Next to skip the start page.
    2. Select the Generic Navigation Block item and accept the default settings for
    this item.
    a) In the Select Web Item dialog box, choose Standard Items &#8594; Generic
    Navigation Block, then select Next to transfer the item into your Web
    template.
    3. Assign the query Customers/Sales  as a Data Provider
    to the Generic Navigation Block web item. After assigning the Data Provider,
    accept the default values for the item attributes.
    a) Choose Query.
    b) The Open Query / View dialog box appears.
    From the Roles, select the query for Reporting&#8594; Unit: BEx
    Web Application Designer &#8594; Lesson: BEx Web Application Wizard &#8594;
    Exercise &#8594; Customers/Sales .
    Choose OK. The dialog box closes and you return to the Web application
    Wizard. Choose Next to reach the Edit Attributes dialog box. Since you
    want to accept the default properties of the item, choose Next.
    c) In the Overview dialog box, you see all the items you have selected so far.
    Add the Table Web item to your Web template and accept the suggested settings
    for this item.
    a) In the Overview dialog box, choose Add Item to add an additional item to
    your Web template. In the Select Web Item dialog box, select Standard
    Item &#8594; Table.
    Choose Next in order to transfer the item into your Web template.
    5. Assign the same Data Provider to this item as you did for the Navigation Block.
    Accept all the default settings for this item. Arrange the Web template to have
    the Generic Navigation Block before the Table.
    a) Both items in the Web template use the same Data Provider. Therefore, you
    can use the same entries for this item. Choose Next.
    b) Leave the properties of the table item unchanged. Skip over the Edit
    Attributes dialog box by choosing Next.
    c) Both Web items now appear in the Overview dialog box. Change the
    sequence of the two web items so that the Web template starts with the
    Generic Navigation Block. Use the up and down arrow icons to move your
    web items. Choose Next.
    6. Save the Web template.
    a) You do not have to make any entries in the Save Web Template dialog box.
    Choose Save to save your Web template.
    Save the newly-created Web template in your Favorites.
    give Description: ..................
    give Technical name: ...........
    7. Display the Web template in the browser.
    a) Choose Display theWeb template in theWeb browser .
    8. Exit the Web Application Wizard.
    a) Choose Exit. The Wizard window closes and the Web template is opened
    in the Web Application Designer where you can make additional edits
    as required.
    with regards,
    hari kv

  • Global calculated key figures and their descriptions

    Hi, I currently have a strange problem concerning calculated key figures.
    We have several global calculated key figures which are used in approx. 100 querys. These key figures have a custom description ( not the same as the underlying keyfig info object).
    When we use the calc. key figures in querys we let them take the description from the global key figure (the box 'use Standard text' is checked). When we execute the query, the description of the calculated does not show. As soon as we uncheck the box 'use Standard text' (and thus use 'local' -query level- descriptions) the description does show. Offcourse this is not a solution but merely a workaround, we want the key fig to take its description from the global key figure.
    The problem as described above only occures on one of the two development environments. The environment on which the problem occures has support package skw70018(nwv st 16), the environment on which the problem <u>doesn't</u> occure has support package skw70013.

    Execute the content at Infoprovider level as below
    Div Team A B C
    A X 2 1 6 9
    A Y 4 2 9 15
    Result Row 6 3 15
    If you get same desired result in Infoprovider .. it should come in Report ... Run the report in RSRT (Without cache)
    How you built the MP based on single cube or 2 ? Display content in MP for above critieria ... to cross check the report
    check the idenfication ... is marked to which cube ?

  • Problem with Calculated Key Figure and Acumulated

    Dear Masters,
    I am trying to use cumulated KF in a query. No problem with results. I just flag 'Cumulated'. However I need to use the value of each line in an operation. Let me illustrate it:
    Cumulated KF    KF1      FINALKF
    2                         2             2/2=1
    3 (2+1)                1              1/1=1
    5 (3+2)                 4             4/2=2
    6 (5+1)                 2             2/5=0.4
    As you can see above instead divide the KF1 by Cumulated value of a Line, the final result is always KF1/the value that would be the add value. The first line always is right because for the line 1 cumulated value has no accumulation value.
    Any idea?
    Regards,
    GilsonTeixeira

    Any idea?

  • 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 Issue!

    Hello Experts -
    I'm getting error messages for the calculated key figures. The message says that the key figure is not defined correctly. Therefore, I started breaking down the calculated key figures and use them in the eventual calculated key figure. I have included all the calculated key figures. And I've hidden the ones that I dont need to show in my query result. I'm in BI 7.0. Also, I had to remodel my multi-provider after making the initial query. Do I have to start fresh?
    I have the following calculated key figure:
    1. Price = (Price > 0) * Price + (Vendor Price - (Vendor Price * (Cust Discount + Vendor Discount)))
    This is supposed to be an if calculation. If Price is greater than 0, then Price else the calculation.
    Cust Discount and Vendor Discount are CKFs.
    What am I doing wrong?

    Thanks Ajay!
    I added a couple of NODIMs and the query is now working!
    I have couple more questions:
    1. Is there a way to say Not Null in Bex? In my if condition, I want to say if Price is not equal to NULL instead of greater than 0.
    2. The above requirement leads me to another question: how do I account for the negative values. I mean I need to add them but I cannot suppress them? I hope it makes sense!

  • 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,

  • Using the function SUM() in a calculated Key Figure

    Hi All,
    I need to create a calculated Key Figure and am looking for the function SUM().Can you please let me know where this is present.I have checked under the "Data Functions" and it does not seem to be present there.
    Thanks
    Aravind Pattabiraman

    Hi,
    Make use of aggragation property of the keyfigure, for summing the values of that KF.
    Regards,
    Rajkandula

  • Calculated key figures Vs local formula

    HI,
    I am having 4 queries on a cube.
    i am now using calculated key figures instead of local formulae.
    I want to know "which is better in performance wise/ or may be pros and cons of using each one."
    Can any one clarify me.
    I know that
    1.when we select the option Calculation after aggregation will improve performance.
    2.we can do some more things only with Cal. Key Figs using formula variable.
    Here my concern is not that.
    I am concerned about general case like -
    i have to add, multiply or divide some direct key figures and use some data functions like nodim, NDIV0 functions.
    Thanks in advance.
    Regards,
    Raghu

    Hi Raghu,
    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.
    In addition to the differences, A formula can only work on other formulas/selections already in your query (in the same structure as your new formula), while a calculated key figure can only work on other key figures, calculated key figures or restricted key figures. However both can use formula variables.
    CKF are calculated at the time of loading data.
    Your Formula calculates at the time of running the query.
    Hope this helps...
    Regards,
    Yokesh.

  • Part2_ Formula var_Currency Conversion on Calculated key figure

    Hello Friends Thanks for SDN response on how to work the currency translation in calculated key figure. Please suggest more on SDN Response if u have any customer exit code that I use to read the exchange rate. and what should i define in Formula variable. I donot want to use it on base key figure since then it will show up in report
    SDN Response
    create a formula variable having processing type a customer exit...write code in cmod to rad exchange rate and multiply ur CKF by this formula variable....
    Thanks
    Soniya

    hi don't know exactly your business requirement but you could inspire yourself with a virtual characteristic sure you will get the solution or clues.
    hope you will find what you look for in this how to paper
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e473ab90-0201-0010-22ac-fdd925cac167
    bye

  • Calculated key figures, results and grouping!!

    Hi,
    I'm working on a workbook with several sheets, the first of them contains the detail and also several result lines (Discipline, material group and material), the second one has a resume (Discipline and material group), etc.
    In the first and second sheet  I have a calculated key figure, but the result has a problem because I don't want to formulate it on the result, instead I need the summarization (total of  amounts by material), this problem is already solved by changing the calculate result as summation. But now I'm facing a new problem, when I try to see the resume report (2nd sheet) by material group I don't need the Calculated Key Figure, what I need are the summation and total result showed on the first sheet.
    One option I've been thinking of is to show the query on the first screen and hide the detail lines and just show the result and the summation lines; is this option ok? Do you have any other ideas?..
    Thank you very much for all the help you can bring me,
    Waiting for yours answers!!

    Hi,
    The best way to show only the summation by refering through cells. I mean the second option would be best.
    Message was edited by: AVR - IGA

Maybe you are looking for