Calculation result query

Hi all,
I have a query with the following key figure:
ZCOUNT    Counter of the order items
X = Y/Z   global calculated key figure
A = X/ZCOUNT
I need the following result in my query:
         X  ZCOUNT A
         50       10    5
         30        5     6
result 80       15    5,33
but the real result is not as above in the example because in the result row the system don't use the formula A = X/ZCOUNT
Why?
How can I do please?
Gianmarco

Hi Gianmarco,
I hope that key figure A you have created is a local one.
Ususallly whatever formula we specify's in a key figure that's also applicable to result row as well untill unless we dont specify anything in 'Calculate result as ' in calculation tab of calculated key figure.
So please check this that you are not having total or any other option selected in Calculate result as option.
We need not to do anything extra for ur above requirement as the same thing is a very normal thing expected by customer's and logically correct as well. We also have done for many of our customers by creating local key figures and choosing 'Nothing defined' in calculation tab and that worked absolutely fine.
Thanks
Dipika

Similar Messages

  • 'Calculating result as...' was not executed ???

    Hi,
    can anyone explain me the warning message that i received.
    I have a query, and in its definition, three characteristcs are added to the "rows" (Region, District, StoreId) and the option "Display as hierarchy" is selected, expanding to "Region". Region has 4 values (north, south, east, west) So when query is run, it displays 4 nodes.
    When i execute the query, this warning message shows up "<b>'Calculating result as...' was not executed</b> ". It calculates the results correctly for the first three nodes and fails to calculate it for the last node. The result displayed for the last node is wrong.
    Could you please share your comments on this.
    Thanks
    Gova
    This is the detailed message.
    <b>Diagnosis</b>
    The function 'Calcualte Results As ...' could not be applied everywhere.
    The recalculation of a result cell always takes place based on the amount of detail cells that are subordinate to this cell, that is the detail of this drilldown. For this reason it is not possible to recalculate results in hierarchical lists, that is calculate of a results cell is not performed if a row or column with expansion symbol is subordinate to it. This is because otherwise this newly calculated results would have to change every time a node subordinate to it was expanded. This is not supported for technical reasons and would also confuse the user.
    Note however, that calculate as "Suppress Results" is always executed
    because the above exception does not apply in this case.
    Any answers please. I am known to be generous in assigning points

    Did you ever receive any further information on this topic?  I am receiving the exact error you received and I know this was possible in BW 3.2.  My customers have been using this report now for months.  I would like to know how to activate this same reporting in BW 3.5 
    Thanks so much! 
    Kristie

  • Warning message "Calculating result as"

    Hi,
    When i execute the query i get a warning message as
    "Warning 'Calculating result as .....'was not executed.
    I am worried that something did not caluclate or the results are incorrect.
    Could any one of you tell me what is causing this error to occur and the nature of the way.I will assign points.
    Thanks,
    Subha

    Hi subhashini,
    "Calculate result as " is something which you find in the "Calculations" tab of the corresponding selection or formula in the query designer. What it usually does is perform Calculations on the displayed result set like count, average and many other aggregate calculations. Check what calculation is defined for the selections in that query and see if you can remove that warning..
    Check this link to help you debugging the issue
    http://help.sap.com/saphelp_nw2004s/helpdata/en/17/82853c2dc5c505e10000000a11405a/frameset.htm
    Regards, Uday
    Assign points for helpful answers and get one point for yourself.

  • Search Results Query Text - Get all data, Exclude all list data except one

    Hi Experts,
    I have a situation wherein in the global search of our internal site, we have to display all results & restrict any list item except one list. Earlier we had restricted /Lists/ & People to be displayed in the results.
    But in the new search results I have to display results from only one list along with other results (documents, sites, pages etc).
    Below is the original query text entered in the Search Results Query Text editor
    {searchboxquery} -contentclass:STS_List_Links  
    -filename:allitems.aspx  -Path:/articles/Pages/default.aspx
    -filename:DispForm.aspx  -Path:/Lists/ -Path:person.aspx
    I have tried various different queries with AND, OR operator. I have researched other blogs, sites over google. But unsuccessful. I am sure this is not a rare requirement. Need your expert help.
    I have tried this query also...
    {searchboxquery} (-filename:allitems.aspx -Path:/articles/Pages/ -Path:/Lists/ -Path:/PublishingImages/) OR
    (+(+Path: /Lists/ArticleContent/ AND +filename:*.aspx) AND
    -(-Path: */Lists/* OR -filename:*.aspx))
    Vighnesh Bendre
    MCTS
    http://markviky.blogspot.com

    Vighnesh,
    You should have success using the following:
    {searchboxquery} -contentclass:STS_List_Links -filename:allitems.aspx  -Path:/articles/Pages/default.aspx -Path:person.aspx ((-filename:DispForm.aspx  -Path:/Lists/) OR Path:/Lists/ArticleContent/)
    Two things from your original query were excluding list items from your results, your exclusion of file
    DispForm.aspx and path Lists.  By using "OR" in the above query, we're creating an exception to also allow items under
    Lists/ArticleContent to be included in the results.

  • Warning 'Calculating result as....' was not executed

    Hi all,
    At the time of executing a report, after giving the inputs for variables I am getting an warning messager: Warning 'Calculating result as....' was not executed'.
    Kindly advise.
    Thank you,
    Praveen

    Hi
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9794b990-0201-0010-2cb4-962bff1f0d19
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ceb827-e6c1-2b10-4b94-de298fccade3
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    www.scribd.com/doc/6412427/How-Tobuild-BEx-Analyzer-Workbooks-for-Planning-With-Excel-Design-Objects

  • Calculations at query level

    HI Experts,
    I need some calculations at query level,
    find the below user requirement.
    And one more thing we are not authorised to use Customer exits.
    SELECT
    [FA No] As [FA No],
    [FA Description] As [FA Description],
    Sum( CASE WHEN [Posting Date] < @fromDate THEN Amount ELSE 0 END) AS [Starting Balance],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Debet Amount] ELSE 0 END) AS [Debet Amount],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Credit Amount] ELSE 0 END) AS [Credit Amount],
    Sum( CASE WHEN [Posting Date] <= @toDate THEN Amount ELSE 0 END) AS [Ending Balance],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Amount] ELSE 0 END) AS [Net Change]
    FROM FA06data
    GROUP BY [FA No], [FA Description]
    Please help as early as you can.
    Thanks,
    Naveen

    Thanks for your responce.
    we are using Sql with the query designer.
    what we can use? like calculated key figure.

  • Calculation result in the form

    Hi,
    Can I have the field that calculate the List Price x Qty as Amount
    And the field that sums up all the amount.
    Can Form could do this?
    Thanks
    Yuji

    Hi
    Thank you for the e-mail.
    Response table are for my use not customer or fillers can see.
    There is always the need on the part of the filler that they would like to
    confirm the calculated result.
    If not yet supported, I strongly request the formula be supported in the
    future release of forms central.
    Thanks
    Yuji
    2013/12/9 Josh_Corey <[email protected]>
        Re: Calculation result in the form  created by Josh_Corey<http://forums.adobe.com/people/Josh_Corey>in
    FormsCentral - View the full discussion<http://forums.adobe.com/message/5911986#5911986

  • 2.1.0.62 EA - In Result Query tab - Cannot select all data (ctrl-a)

    Oracle SQL Developer 2.1.0.62 EA
    Java(TM) Platform 1.6.0_16
    Windows XP SP3
    I cannot select all of the data from the Result Query tab using ctrl-a. I have 1.5.5 running on the same system and I can select all of the data from the results tab.
    Dennis

    Worksheet, Object Viewer & Reports would get the fix.
    The ObjectViewer & Reports would continue using the modal task progress dialog.
    The worksheet's grid would have the toolbar progress component and also uses the Task Progress dockable.
    No plans to change the current scheme.
    -Raghu

  • Bex Query - Specific calculation in query result

    Hi experts!
    I've received a requirement and I cannot find any way to delivery it using the stantard operation or configuration into Bex Query.
    We have a query which have three KF with summarization in result. The new requirement is based in the KF "POND" to change the calculation in the result. Below are the actual result and the expected result.
    The actual query result.
    Line
    OP
    QTD
    TMP
    POND
    A1
    1614073
    702
    19
    13338
    Total A
    702
    19
    13338
    B1
    1587949
    840
    235
    197400
    B2
    1610938
    4.240
    28
    118720
    Total B
    5.080
    263
    316120
    Total A + B
    5.782
    282
    329458
    The expect result based on the new requerment
    Linha
    Ordem de Produção
    QTD
    TMP
    POND
    A1
    1614073
    702
    19
    13338
    Total A
    702
    19
    19
    B1
    1587949
    840
    235
    197400
    B2
    1610938
    4.240
    28
    118720
    Total B
    5.080
    263
    62
    TOTAL A + B
    5.782
    282
    57
    Check out the "Total A" result for KF "POND", the new calculation is the sum of KF "POND" divided by the sum of KF "QTD" (13338 / 702 = 19)
    The same to "Total B" result for KF "POND", the calculation is the sum of "POND" divided by sum of KF "QTD" ( (197400 + 118720) / (840 + 4240) = 62).
    I've been using all recourses into Bex query, but I've haven't found any way to deliver this requirement, though.
    I'd really appreciate if anyone could give me some suggestion to deliver this requirement.
    Thank you.
    César Sevilha.

    Hi Suman!
    Thanks for your replay.
    The collision options wont help me because I have calculation on the same structure.
    I need to keep the division POND by QTD in the result. Check out the table below.
    The Formula Bex Query (POND / QTD) is a simple division between  KF POND by KF QTD, the result
    is a totalization of lines A and B.
    The requirement is to keep this division on the result. Check out the column Requirement, this is the result expected.
      Line
      OP
      QTD
      POND
    Formula
    Bex Query (POND / QTD)
    Requirement
    A1
    1614073
    702 KG
    13.338 KG
    19 KG
    19 KG
    Total A
    Result
    702 KG
    13.338 KG
    19 KG
    19 KG
    result (POND) divided by result (QTD)
    B1
    1587949
    848 KG
    197.400 KG
    233 KG
    233 KG
    B2
    1610938
    4.318 KG
    118.720 KG
    27 KG
    27 KG
    Total B
    Result
    5.167 KG
    316.120 KG
    260 KG
    61 KG
    result (POND) divided by result (QTD)
    Total A + B
    Result
    5.869 KG
    329.458 KG
    279 KG
    56 KG
    result (POND) divided by result (QTD)
    I'd like to know how to keep the division in the result.
    Example:
    The result of Total B should be 61 kg which is the result of division between the result of KF POND (316.120) by the result of QTD (5167).The currently formula has as result the totalization  of B1 and B2.
    Thank you in advance.
    César Sevilha.

  • 'Calculated Result' (profit/loss) is not displayed in BW query (NW04s)

    The hierachy for financial statement item (0GLACCEXT) contains the folowing nodes:
    -> Stocholder's Equity
    > Profit/Loss current year
    > Calculated profit (0COA/0BSRESULT-)
    > Calculated profit
    > Calculated loss
    > Calculated loss (0COA/0BSRESULT+)
    When I run a balance sheet query against virtual cube 0FIGL_V11, I don't get any data for nodes 'Calculated profit' & 'Calculated loss'.

    Dear gurus,
    I am searching to solve the same issue you Raynald reported...
    Unfortunately, despite the 0BAL_DEPEND information correctly updated, this note  0COA/0BSRESULT+) does not appear.
    Everything looks OK on the configuration side...Anyone has an idea what could cause the calculation not to be done ?
    PY

  • Percentage Calculation in Query

    Hi Gurus,
      Hope you are all doing good! I have an issue in my query. I have calculated the summation of Profit for 05 and 06 . In the properties these are the specification i have given :
    1.Scaling Factor : 1,000,000
    2.Number of Decimal Place : 0.0
    3.Calculate Result As : Summation
        I get the summation for both 05 and 06 correctly. I computed the percentage for
    both and seems to be fine.
    Formula used for computing percentage : ' / Profit 06' / ' / Profit 05' * 100
    My issue being the Over all percentage seems to be high.
    Any idea Gurus?
    Points would be surely assigned.
    Regards,
    Sunitha.R

    Hi Norris Silva,
    As per your scenario total questions = 11
    persons (c1, c2, c3, c4, c5) = 5
    c1 answered questions = 5
    c2  "          "      = 5
    c3  "          "      = 1
    here to calculate the percentage of answered questions
    for each person. This can be calculated as below with use of
    calculated key figure
    c1's % ---> ci1 answered questions/total questions * 100
             5/(551)*100= 45.45%
    like write formula in calculated key figure for each person.
    Hope it helps you...
    Regards,
    Ramki.

  • Error in result query

    Hi all,
    I have a problem with total row for one key figure in the query
    Example:
        customer QTY OGNEW OGOLD %OG
         1000        300      50          10        4
         2000        500      70          20        2,5
    tot                800     120         30        10
    The problem is in the total row of column %OG.
    The %OG is calculated as %OG=OGNEW-OGOLD/OGOLD, but the value in total row is wrong, why?
    In the property of %OG I have setting not definition in the 'calculate result as' because must be calculate with the formula.
    Can You help me please?
    Thanks in advance
    Gianmarco

    The formula is already built as
    %OG=OGNEW%OGOLD
    and in property of key figure I've setting nothing defined,
    Unfortunately I don't obtain right result.
    Any suggest please?
    Gianmarco

  • Calculations in query taking long time and to load target table

    Hi,
    I am pulling approx 45 Million records using the below query in a ssis package which pulls from one DB on one server and loading the results to another target table on the another server. In the select query I have a calculation for 6 columns. The target
    table is trunctaed and loaded every day. Also most of the columns in the source which I used for the calculations is having 0 and it took approximately 1 hour 45 min to load the target table. Is there any way to reduce the load time? Also can I do the calcultions
    after once all the 47 M records loaded during query running and then calculate for the non zero records alone?
    SELECT T1.Col1,
    T1.Col2,
    T1.Col3,
    T2.Col1,
    T2.Col2,
    T3.Col1,
    convert( numeric(8,5), (convert( numeric,T3.COl2) / 1000000)) AS Colu2,
    convert( numeric(8,5), (convert( numeric,T3.COl3) / 1000000)) AS Colu3,
    convert( numeric(8,5), (convert( numeric,T3.COl4) / 1000000)) AS Colu4,
    convert( numeric(8,5),(convert( numeric, T3.COl5) / 1000000)) AS Colu5,
    convert( numeric(8,5), (convert( numeric,T3.COl6) / 1000000)) AS Colu6,
    convert( numeric(8,5), (convert( numeric,T3.COl7) / 1000000)) AS Colu7,
    FROM Tab1 T1 
    JOIN Tab2 T2
    ON (T1.Col1 = T2.Col1)
    JOIN Tab3 T3
    ON (Tab3.Col9 =Tab3.Col9)
    Anand

    So 45 or 47? Nevertheless ...
    This is hardly a heavy calculation, the savings will be dismal. Also anything numeric is very easy on CPU in general.
    But
    convert( numeric(8,5), (convert( numeric,T3.COl7) / 1000000))
    is not optimal.
    CONVERT( NUMERIC(8,5),300 / 1000000.00000 )
    Is
    Now it boils to how to make load faster: do it in parallel. Find how many sockets the machine have and split the table into as many chunks. Also profile to find out where it spends most of the time. I saw sometimes the network is not letting me thru so you
    may want to play with buffers, and packet sizes, for example if OLEDB used increase the packet size two times see if works faster, then x2 more and so forth.
    To help you further you need to tell more e.g. what is this source, destination, how you configured the load.
    Please understand that there is no Silver Bullet anywhere, or a blanket solution, and you need to tell me your desired load time. E.g. if you tell me it needs to load in 5 min I will give your ask a pass.
    Arthur
    MyBlog
    Twitter

  • Percentage calculation on query designer (7.0)

    Hi experts,
    I´m new on Query designer (7.0) and I´m trying to do a finnancial report, so for the lines I create and structure  using G/L accounts and in the columns I got the amount for each level in my structure for a month. Now I´m trying to create an Integration percentage, it specifies how high the percentage in a level is in relation to next higher level but so far I couldn't make it...
    My report must seem like this:
    Structure.............................Amount ...... Int %
    1. Assets................................1000  ....... 100%
    1.1 Current assets....................  600  .......  60%    -> (600/1000)*100
    - Cash.............................  300  ........  50%    -> (300/600)*100
    - Inventories.....................  300  ........  50%    -> (300/600)*100
    1.2 Long-term assets................ 400  .......  40%    -> (400/1000)*100
    - Property, plant and eq..... 150  .......  37.5%  -> (150/400)*100
    - Investment property......... 150  .......  37.5%  -> (150/400)*100
    - Intangible assets..............100  .......  25%    -> (100/400)*100
    I try to use each Percentage calculation options (%, %A, %CT,%GT, %RT) but it didn't work. Can anyone help me in creating a formula to get this percentage?
    Thanks

    Hi,
    check this notes and links to get an overview how to use:
    III. List Calculations (e.g.'Calculate result as..'):Interesting facts about the OLAP Processor/Analytic Engine
    SAP Note Number: [1151957|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31313531393537%7d]
    If, in a structure element (key figure ID), you use the 'Calculate Results as' and 'Calculate Single Value as' properties with their additional fields at the same time, priority problems occur and the system behavior is not immediately clear.:
    Calculate Results/Single Values as ... priority rules
    SAP Note Number: [853058 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383533303538%7d]
    Regards
    Andreas

  • Date calculation In query

    I am doing a date difference calculation on two date characteristics, i am doing this at the query level. For each date characteristics i have created a formula variable. I have then created a CKF and i have used these formula variable in that CKF to get the date difference. I am getting the date difference correctly if there are dates in both the Date 1 and Date 2 characteristics, But if either one of the date field is blank i am getting wierd value.
    Date1-------   Date2 -
         Difference
    9/20/2008----   9/15/2008----      5
    #Blank--   9/15/2008--      -733,301
    #Blank--   9/12/2008--      -733,298
    I know this problem can be sorted by writing a ABAP routine in the update rule, but i dont want that solution as i want these CKF to be created by the users.
    Points will be awarded.

    Hi RAO,
    I used your logic and it is working for the blank values but it is giving me a wrong result for the condition in which i have both the dates.
    Condition 1
    9/25/2008 - 9/12/2008 = -13
    It should be 13.
    Condition 2
    Blank - 9/12/2008 = 0
    I want the result for this to be blank.

Maybe you are looking for

  • IMovie File Structure and HD Optimization

    Hi, I'm a new Mac user, recently from the Windows world where I did a lot of video editing and am now keen to get started with iMovie. I have a large external HD where I'm hoping to store my large video files in order to conserve space on my MacBook

  • Multiple paintCell calls

    Hi! I have a performance problem in an application using a large JTable. During debugging I noticed that paintCell() for each field of the table is called multiple times, and that each row is repainted as a whole even though only one cell has changed

  • Business Content for CRM

    All, We are in the Blue Print phase of our CRM project.  During the Integration of CRM 7 EHP 1 to our BW 7 EHP 1 system we notice a parcular issue.  After executing all the necessary steps on both the CRM side and the BW side, we notice that only a h

  • Date in french

    I have a date that I want to display in an Text control. I have no problem to display it in english using <mx:DateFormatter id="dateFormatter" formatString="EEEE D MMMM YYYY" /> and <mx:Text text="{dateFormatter.format(maDate)}" /> I got: Wednesday 1

  • HP Deskjet Ink Advantage 2645

    I want to buy all-in-one printer  HP Deskjet Ink Advantage 2645 but, before i do this, i want to know if this printer can send/recieve faxes without any connection to any computer? it's mean that i dont have any computer to connect to this printer, e