Calculation of Results in BEx Report.

I want to use weighted average method between two keyfigure.
for example consider the following secnario.
        CH Kf1 Kf2
        A  10   5
        B   6   4
        C   3   2
<b>Result     19   4.21</b>
how 4.21 is ((105)+(64)+(3*2))/total of Kf1(ie 19)
            ( A value(Kf1Kf2)+ B value (Kf1Kf2) + C              Value (Kf1*Kf2))/total value (Kf1) = 4.21
is it possible to achieve the above result for Kf2.
With regards,
Hari

Hi Dinesh & Kumar,
Thanks for our immediate response..
I tried with Calculated key figure it is not working and also   macros does not work, because it is a drilldown report , the result cells in report is not fixed, it will vary depending upon the selection parameter.
Is there is any other solution in query designer to achieve the above result..
With regards,
Hari

Similar Messages

  • Results row calculation between two column result  in BEx Report.

    I want to use weighted average method between two keyfigure.
    for example consider the following secnario.
    CH        Kf1       Kf2
    A         10        5
    B          6        4
    C          3        2
    Result     19     b]4.21</b>
    how 4.21 is ((105)+(64)+(3*2))/total of Kf1(ie 19)
    ( A value(Kf1Kf2)+ B value (Kf1Kf2) + C Value (Kf1*Kf2))/total value (Kf1) = 4.21
    is it possible to achieve the above result for Kf2.
    With regards,
    Hari

    Hello,
    I cannot able to use Excel Macro functionality since it is a drill down report and report cells varies based upon the selection parameter.
    and also i can't  able to use Calculation, since this report contains lot of columns and if i use  the formula, one more result column i have to include in all key figures and also business users not able to understand the report....
    Is it possible to create a variable structure, for example user is executing for 10 days , the structure should display for only 10 days ans also i create structure for 31 days (ie one month)..
    With regards,
    Hari

  • Consolidated result on Bex Report

    Hi Experts,
    I have 10 reports of Goods Stock and Ageing of the Stock of various Plants.
    I want to view only the total value / summary in one report and up of the click of one result that should take me to the detail report of that particular value.
    Can anyone tell me is it possible to consolidate the results of 10 different reports please.
    If its yes can you tell me how do I design this at Query level. Please guide me step by step.
    I would assign full marks if you help me resolve my issue.
    Thanks

    Hi,
    Create One summarized report which provides all values of detailed report.
    Use RRI functionality and configire sender and receiver query in RSBBS transaction which will help you in acheiving your requirement.
    Thanks,
    Arun

  • What is BEX reports and workbooks and web templates

    please send me in 2 lines of each,..thx

    All 3 are the different forms of Result display
    Bex Reports: It is based on MS excel functionalities and output is in Excel form. All reporting functionalities like swaping, exception, condition, etc..can be used.
    Workbook: Bex reports can be formated as per need..say making bold, creating your own layout, adding images. In short all excel functions. This workbook gets refresed when new data loaded to datatarget
    Web Template: Here charts, combos, dropdown...wtc ca be added what is called as Template.
    Regards
    Pankaj

  • Row and column results to be calculated differently in BEx report

    Hi
    I have a BEx report which consists of profit centre characteristics in the row and headcount key fig in the column over 12 fiscal periods.  This headcount key fig has been set to Calculate Results as 'Last Value'.  This setting is correct because I want the Overall Result of each profit centre along the row to be the heacount value of period 12 or 11 or 10 depending on the period range entered by the user.  Due to this 'Last Value' setting, the Overall Results at the bottom of each fiscal period column also shows the last headcount value ie. the headcount value of the last profit centre displayed on the BEx report.  This is incorrect as the Overall Result should be the summation of headcount for all profit centres for fiscal month.
    What settings should I make to achieve my reporting requirement.  Please let me know. 
    Many thanks,
    Anthony

    Hi Uli
    Changing the 'Calculate result as' to 'counting all values' didn't work.
    What I'm getting from the BEx report is:
                   Headcounts...............................
    Profit Ctr  P1   P2  P3.....P12  Overall Results
    P120         5     6    6        7                7
    P121         6     5    8        9                9
    P122         6     9    8        7                7
    Overall
    Results     6     9     8       7                7
    The last row's Overall Results are incorrect.  It should sum up instead of taking the last profit centre P122 's periodic headcounts.  The last column's Overall Results are correct as they are the P12's headcounts.
    I want the BEx query to look like this:
                   Headcounts...............................
    Profit Ctr  P1   P2  P3.....P12  Overall Results
    P120         5     6    6        7                7
    P121         6     5    8        9                9
    P122         6     9    8        7                7
    Overall
    Results     17   20   22     23              23
    Cheers,
    Anthony

  • BEx report -two different calculations for a result for one key figure how?

    All,
    Maybe someone could help me with the following, we have a requirement to setup for one key figure two calculations for result rows. One result (average) for one level, and on a higher level -grand total have a (sum), as for our business it makes sense to do it this way. We have setup average for this KF, we get correct results (see below values 7,5 & 6,5) however for the grand total (across multiple products) so for one level up we need to have a different calculation. How could we achieve this?
    Here is an example:
    location     product          inventory     
    AAAA     11111          5     
    AAAA     11111          5     
    AAAA     11111          10     
    AAAA     11111          10     
    AAAA     Result          7,5      ---> average
    AAAA     22222          5     
    AAAA     22222          6     
    AAAA     22222          7     
    AAAA     22222          8     
    AAAA     Result          6,5       -
    > average
    AAAA     Result (across products)          14      ---> here I want to have a sum of averages

    This could be achieve only IF you upload a hierarchy for product inventory with different levels, wherein each level show subtotals and finally grand total will be shown at the end of the results.

  • Using cumulated values for further calculation in a bex report

    Hi ya'll,
    I have a problem with using cumulated values in a bex report.
    the report has three lines:
    Values 1:    100    200  300
    Values 2:    10      5     40
    Values 3:    1000  500  4000
    The values of row 3 is a formula multiplying the values from row 1 and 2... My problem is that the values of row 3 are wrong - for example 200*5 isn't supposed to result in 500 !!
    I figure the reason is that the values of row 1 is a cumulated result, meaning the <i>actual</i> value of the second column of the first row i 100 (and not 200).
    How can I ensure that my formula for row 3 uses the <b>cumulated</b> result from row 1, instead of the underlying result ?.

    Create a column structure with Actual Value columns as well as cumulated value columns. Hide Actual Value Columns from display.
    Example :
    Actual1 | Actual 2 | Actual 3 | *** 1 | *** 2 | *** 3 |
    100 | 100 | 100 | 100 | 200 | 300 |
    You can create a forumla to calculate Value 3 : (Actual 1 * Value 2 ).
    I guess you are using Cell Referencing to achieve this.

  • Bex report for the average calculation

    Dear All,
    I like to make a Bex report. On that I like to distribute the last 3 months data on daily average basis.
    From there what will be the stock out of the particular day ( in no.s and from the average value), it should be shown in one line rather than all value.
    Please, guide me how to do.
    regards,
    Balaram

    Hi,
    Try the following
    Create variable1 against 0calmonth with ready for input ....Manual Input --- Mandatory
    Create Variable2 on 0calmonth with out ready for input --- customer exit - interval
    go to cmod write customer exit variable to to populate value for variabl2
    eg. if variable1 = 03.2011  Then variable2 should be between 01.2011 - 03.2011 (If you need coding please let me know)
    Free Char
    Row
    0calday/ Sales Document Date / Billing Date (choose which one you need and select only out of them )
    Column
    Sales Qty 
    --Create New Selection and name as 'Avg Qty 3 Month' 
    --add sales Qty in to new selection
    --Drag and drop 0calday/ Sales Document Date / Billing Date (choose which one you need and select only out of them )
    --Right Click on it and restrict with 0calmoth variable2.
    --Context menu of 0calday/ Sales Document Date / Billing Date (choose which one you need and select only out of them ) and tick constant . 
    make it hide in property
    Create New formula
    Avg Qty 3 Month / 90
    Please note there is leap year also ... it better to calculate no of days between rage in formula...
    Hope this will help you to sole the issue...
    Thanks
    BVR

  • Change date format in BEx report

    There is a date field in report which is character type.
    ZCOMDAT - compensation date (CHAR 8)
    The output of this file in report is YYYYMMDD (20110422) format which is char
    This should be converted to 22-APR-2011 in BEx report.
    This object is used in many reports but only in this report it should be converted.
    How can this be achieved?

    Hi akshara,
    Apart from the above mentioned approaches i have one strange solution . You might want to consider this .
    You said you have an infoobject ZCOMDAT of type char(8) .
    Proceed like this :
    1) In the infoobject maintain medium text for this . Insert this characteristic as an infoprovider .
    2) Now since this infoobject will have the dates in the master data and hence in /BIC/PZCOMDAT table .
    Create a generic datasource on this table : /BIC/PZCOMDAT .
    Now create a transformation between this generic datasource & the text master data of ZCOMDAT.
    map date and objvers to the text in the transformation .
    And write the following routine at the field level :
    If SOURCE_FIELDS-OBJVERS = 'A'.
    year = SOURCE_FIELDS-/BIC/PZCOMDAT+0(4).
    mon = SOURCE_FIELDS-/BIC/PZCOMDAT+4(2).
    dd = SOURCE_FIELDS-/BIC/PZCOMDAT+6(2).
    if mon = '01'.
      mth = 'JAN'.
    ELSEIF mon = '02'.
      mth = 'FEB'.
    ELSEIF mon = '03'.
      mth = 'MAR'.
    ELSEIF mon = '04'.
      mth = 'APR'.
      ELSEIF mon = '05'.
      mth = 'MAY'.
      ELSEIF mon = '06'.
      mth = 'JUN'.
      ELSEIF mon = '07'.
      mth = 'JUL'.
      ELSEIF mon = '08'.
      mth = 'AUG'.
      ELSEIF mon = '09'.
      mth = 'SEP'.
      ELSEIF mon = '10'.
      mth = 'OCT'.
      ELSEIF mon = '11'.
      mth = 'NOV'.
      ELSEIF mon = '12'.
      mth = 'DEC'.
      ENDIF.
    CONCATENATE DD '-' MTH '-' YEAR INTO RESULT.
    CLEAR:DD,MTH,YEAR.
    endif.
    After this load the the data . Now your text of this object will be having the date required in your format.
    3) In the query level display text for this infoobject .The date will appear in the format as you desired .
    You have to include the above flow in a process chain .
    Using the above method will not effect your query performance also as the calculation are happening during loading .
    Hope the above reply was helpful.
    Kind Regards,
    Ashutosh Singh
    Edited by: Ashutosh Singh on May 21, 2011 9:43 AM

  • Data load from BPC into BI 7 cubes for Bex reporting

    Hi,
    Can we pull BPC planning data into the BI cubes so that Bex reports can be created for combined data from BPC cubes and BI cubes?
    Also can we create Bex reports on BPC cubes just like we create for BI reporting cubes?
    Let me also give an example of the scenario we face.
    We have actuals data in a BI 7 basic cube(Actuals cube). Planning is done in BPC, so I understand  that the planned data gets automatically stored in a BPC cube in BI7 system. I want to load the data from this BPC cube to BI Actuals cube and create a combined Bex report to show actuals and plan data.
    Please let me know.
    Thanks,
    Archana

    AS of now, if you report data in the BPC7NW cubes through BEx, you may not get the same result as you get from BPC reports. The reason being BEx won't do the same calculations (for example sign reversals) that BPC client would do. In addition, you won't be able to report the results of the dimension member formulas when you report through BEx. If you have to get data out from BPC cubes to other cubes, you can go through SQE (shared query engine) and that way, yyour results will match with what you get in BPC reports. Once you get data out through SQE into other cubes, you can use BEx to report if you wish.
    More functionality will be available in near future to accomplish BEx reporting for BPC data.
    Regards
    Pravin

  • RFC connection Error While run BEx Report

    Hi All
    I got BI 7.0 and create new user with roles only access: TR: RRMX to see only BEx Reporting... I create basically new customize role and put only one transcation code RRMX and assigned to user...
    When goto BEx designer I got that error
    rfc error received user has no rfc authorization for function group syst.
    I am not sure what kind of authrouzation user need to only view BEx Reporting...
    But when I put SAP_ALL in that profile same user, thats works fine, but I don't want to give SAP_ALL to user...
    2nd question same look like BEx Analyzer the side bar when I click open nothing happend and it writedown like German language..
    Please advised

    Hi Alls
    I am Angeline again, I resolved that problem and want to shair with you guys....
    1.     Tr: PFCG and click on Maintain roles
    2.     Role Name: Z_RUN_QUERIES
    3.     Click on Authorization Tab Saved Entry
    4.     In Edit mode Select the template: S_RS_RREPU and adopt reference (Business Content)
    5.     Expand u2018Business Explorer u2013 Componentsu2019
    6.     Selected: u201CType of a reporting component Calculated key figure, query restricted
    7.     key figure u2013 template structure and click on Edit
    8.     Un-Check REP Query
    9.     Generate the Profile
    10.     Create Transport number
    11.     click on user TAB and define user name in it
    12.     click User compare and complete compare and saved the entry
    13.     TR: SU01 in User click on Roles and define Z_RUN_QUERIES and profile
    Thanks

  • Header and Footer in a BEx report

    Hi Everyone,
    I have a requirement where I need to provide a space for the user to sign-off with their name and signature at the bottom of the print-out of a BEx report. For this purpose I need to provide a space at the bottom of the report where the user can write their names and sign-off. It should be something like:
    Name: _________________________________-
    Signature: _______________________________
    Date: ___________________________________
    Is there some way I can add all this as the footer text in the BEx query?
    Thanks,
    Ram

    If the BEx query can use a "structure" in the rows section....
    Under last row, add a selection = company code, set it not equal to the company code, & change the description =
    NAME:  ____________________________________________
    Then, copy the above row, but change description to = 
    SIGNATURE: _____________________________________
    Repeat, copy the above row, change description =
    DATE:  ____________________________________
    If you want to add blank lines, copy one of these rows, but change description = a period = .
    By setting the restriction <> to the real company code, then that row should be blank straight across, except for the description.
    A better/more professional looking option is to put the BEx query into a web template, add 3 HTML rows under the query result table, add text per your specs.  Then save web template to the appropriate role/folder to publish it on the portal.
    Edited by: Sharon West on Dec 11, 2008 10:17 AM

  • Bex Report Performance

    Dear Friends,
    I would like to know is the complex authorizations can also cause the Bex report performance.
    One of my scenerio is like there are two users A & B
    A is having relevant authorizations for reporting, Drill down etc which are required.
    B is having SAP All authorization.
    When the same report has been executed by both users on the same system.
    the data retrieved by user B(SAP_ALL authorization) is quite faster than User A.
    Its like ther diffference of about 10 minutes.
    There are some exsclude selections in report.
    So my conclusion is like the complex authorizations do also hampers the query performance.
    Please confirm & share your views.
    Thanks & Best Regards,
    Vivek Tripathi
    +91-9372313000

    Hi Vivek
         Can you help us understand what was the exact problem and how you resolved it / solution at Extraction / Modeling / Reporting end.
         I have a quite similiar issue with my report i have Header + Item report on Infoset
    u2022     Header report takes seconds and item report takes minutes
    u2022     The same report executed with exact parameter has inconsistent performance results meaning one time it takes 1 minutes next time same report same user and same authorization takes 5 minutes.
        Any help on this would be really greatfull. Suspecting is not an issue with the report at all , as no changes happened between the pre and post check.
    _Additional Information : _
    We Create Secondary -Bitmap index every week end i do not see that is one of the route cause.
    Except that we have our regular daily loads that are running for master data loads and transaction data loads in series.
       Thanks in Advance.
    Much Regards
    Jagadish Thirumalachetty.
    Edited by: Jagadish Thirumalachetty on Jul 14, 2010 1:35 PM

  • Share  calculation  Not working in the report

    Iam surprised not to ge the simple share calculation not working at my report.
    I have a dimension and corresponding values ( measures) .I made a Total at the end of the report. and I want to calcualte share of Total to each corresponding value.
    how to do this, any thougts,...
    I have used calculated memebers for this, But I wan to make the percentage of the total ( which is calculated inside Tool itself)
    Please help....

    Prassad,
    Not totally sure what you are trying to achieve but there a couple of possible solutions:
    1) Total = total of all dimension members. Assuming you only have three dimension members then you should have a fourth member called ALL_DIMS or something similar. In the Share calculation template you need to specify the Total level as the basis for your share calc. This will generate the following result:
                             Revenue  % Share
    - All Members     600         100%
         A                  100           17%
         B                  200           33%
         C                  300           50%2) The total you are referring to is in fact a sub total and is the result of adding together only the results for A + B + C, i.e. you have hundreds of dimension members but you specifically want to see a total for just these three members. To do this create a new custom aggregate call "My Total" and add together the dimension members A + B + C - Custom Aggs are a new feature to Discoverer OLAP (Checkout Mark Rittman's excellent blog article for more information on this feature: http://www.rittmanmead.com/2006/11/13/checking-out-the-new-discoverer-101220-features/)
    Then in the Share calculation wizard set the basis for your index using the last option in the list "Specific Dimension Member" and select your new custom aggregate member.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Issue with Variable Personalisation in Bex Report

    Hi Gurus,
    I'm facing a typical problem with Variable presonalisation in the Report.
    I've executed a BEX Report and filtered data on some characteristics and used SAVE AS Button on the Portal to save the resultset. When I'm trying to use the variants, again say after  2 or 3 days i couldn't find updated data for particular variants upon using the same variants rather its refelecting the old data. Further more when I execute the report and try filtering on the same criteria altogether, I'm able to see updated result set.
    Is there any setting to be enabled when we personalise variants or variants are dependent on the data or the date on which they are created. Not sure why the reports are behaving this way. Or Do I need to create variants time and again.
    Any pointers would be of great help.
    Regard,
    Yaseen

    Hello,
    In the BEx report, when you get the variable selection screen there input your selection and at the bottom you have the option of saving them as a variant.
    Now in future when you run the report simply use this variant and execute the report. It should work fine.
    Also remember date selection can be tricky. If you input todays date in the variant, it wil consider the same date in further references. So do a check on that too.
    Regards,
    Shashank

Maybe you are looking for

  • Problem in self service after upgrade to 10G

    Hi all, My customer has upgraded recently to 10G database and running on 11.5.10.2 application. I have procedure in the custom package in the database accessed through the mod_plsql. After some time it's working, the server start replying with web pa

  • Is there a way to disable files opening with one-click?

    This is driving me crazy! I thought previously the problem was "magic mouse" but now that I've gone back to my old mouse, the problem persists. If I select a file in a finder window, it opens with one click. Also, if I try to edit a file name or even

  • BUG:  Apex4/Anychart5 - memory leak?

    We are running into a pretty serious problem with resources. It seems that there is some kind of interaction between Apex and Anychart5 that is causing a pretty serious memory leak. For example, in one dashboard I am building, I have 9 charts on a pa

  • API/Interface for Blanket PO Release

    Hi All, Do we have any interface or api for Blanket PO release? We searched, couldn't find anything. Is there any workaround? we are in the process of automation. Its very urgent. Thanks in advance. Regards, Ganesan G

  • Import/Merge/Recreate Photo library?

    My G5 died. It had iPhoto '08, quite a few albums, and about 10 gallery albums. I also have a MacBook (which currently only has iPhoto '06, but I'll install iPhoto '08 - as long as it's intel compatible, which I'm guessing it is.) The MacBook has a s