Restricting on the Result Row

I have a query where I am trying to restrict the query by the results row.  For example:
Account Nbr       Installation         Type         Nbr of Installations
12345                 70430                Elec                        1
12345                 70691                Elec                        1
12345                 71321                Gas                        2
Result Row                                                                 3
15421                 70002                Gas                        1
Result Row                                                                 1   
In this case I would only like to see the first set because the result is greater than 1.  How can I accomplish this? Thanks.
Edited by: labraun on Nov 4, 2009 7:16 PM

hi ravi,
that sounds intrestin.
MAy be u can do this in the update rule i.e instead of KF use as Char and just concatinate figures.
and in the report u can do some manupiation to show results .
cheers
Babu

Similar Messages

  • How to hide the all rows except the result row in a report?

    Hi Experts,
    We have a report in which the user is interested to see only the result rows and I need to HIDE the characteristics in the rows. I was successfull in doing the same for Key figures in columns using "Calculate single value as suppress result". But I am not finding a way out to hide the characteristics in the rows.
    If I move the characteristics in rows to Free characteristics, the result row is not getting dispalyed. Also, the characteristics are  used dynamically by the formulae in columns and hence i cant remove these characteristics from the query. . The user wants the query to contain only one characteristic in the row and the result row for the key figures in columns. The report currently displays Invoice level data for each customer and this needs to be eliminated and it should display the summarised  data for every customer. Please suggest how this can be accomplished
    Regards,
    Kavitha

    Moving the char to free char will show the equivalent of result.
    Your issue likely is that this breaks the calculations since you do want the calculations done at detail level.
    To achieve this, move your char to free char (say it is 0CUSTOMER).
    For the CKF/Formula, go to aggregation tab, set the exception aggregation as Total (or whatever it was in standard behavior) and specify reference characteristic (in this case 0CUSTOMER), also check the 'Before aggregation' if you have that checkbox there.
    This will ensure the calculation is done at detail level even though the char is not included in the rows.
    If you have multiple chars to be moved to free char but included in detailed calculation, you will need to build cascading CKFs (CKF1 with ref char1, CKF2 eq to CKF1 with exception aggr on ref char2...and so on).
    Added:
    I understand you do want 0CUSTOMER in there, but something else (let us say 0DOCNO) removed. Use 0DOCNO in place of 0CUSTOMER in the case described above.
    Edited by: Ajay Das on Aug 5, 2009 8:57 AM

  • Display only the result rows only by using condition or any other way

    Hello Everybody,
    I've a web report where I want to diplay ony the result rows and don't want to display the detail rows at all. I could hide the detail rows but these rows still appear without any value in the key figure fields.
    I tried to revove the characteristic field from the drilldown but it doesn't show the report correctly. Then I tried to write a condition to filter the detail rows but this condition doesn't apply to the result rows so this effort also didn't work for me.
    Is there anyway we can display the report with only the result rows ? I've already tried to find out a solution on SDN but couldn't get the solution eventhough I found many posts on this kind of requirement.
    Any help would be greatly appreciated.
    Thanks
    Alok

    Please explain when you say
    "I tried to remove the characteristic field from the drill down but it doesn't show the report correctly"
    What is problem there? What result do you get. If possible please provide  details of columns layout and few numbers

  • Getting descrepency in the result row of the Query

    Hi All,
    I am executing a query which is having 4 Keyfigures and 2 formulas.
    I am getting wrong result in the query for formulas.
    Below is the query structure
               f1        f2         f2%f1       f3       f4            f4%f3
    date
    1
    2
             792    408        51.78        9647    8403       88.57
    All the keyfigures - result is set as total
    Formula                - result -nothing is defined(under calculation tab)
    The result I am expecting for column 3 is 408/792 = 51.51
    The result I am expecting for column 6 is 8403/9647=87.10
    To get the expecte result what changes i need to do to the formula.
    Thanks
    Jagadeesh

    Hi Anand,
    Thanks for your reply.
    If i change it to summation, it will give me sum in the result row.
    I am not looking for summation, i want percentage for (overall result F2/overall result F1).
    Thanks
    Jagadeesh

  • Decimal places on the result row is incorrect

    Dear Expert,
    I met a problem that decimal places on the result row is incorrect.Anyone can help me?
    On key figure balance,we do the currencies translation,also we set the key figure should have two decimal places.
    We set a fomular to calculate the total result of Account A,B,C.
    (Total result = account Aaccount Baccount C).
    If we manually sum up the balance of account A,B,C displayed on analyzer,which are rounded to 2 decimal places,the result should be 601.25(100.61200.38300.26),but the actual total result executed by query is 601.24.
    In fact we need the result 601.25 instead of 201.24.
    I take the example as following:
    Account      Balance
    Account A  100.61
    Account B  200.38
    Account C  300.26
    Total result 601.24
    Thank you in advance.
    Best Regards,
    Maggie
    Edited by: Maggie Ma on Sep 25, 2008 9:17 AM

    your "problem" is, that BEx is not totalling the "displayed" values but the real values
    try a summation on the following in Excel:
    100,605
    200,375
    300,26
    then format the cells to show 2 decimal places only
    do you see the result changing?

  • How to sum the  result rows at query designer

    Hi,
    We want to sum  the result rows which are at the end of the row by the help of query designer?So ,we directly see at analyzer
    exp:
       ..A.jan...A.feb...B.may...B.jun...SumA...SumB....SumA+B
    X..1............9..........6..............7........10.........13..........?????
    Edited by: zarata on Oct 23, 2011 12:49 PM
    Edited by: zarata on Oct 23, 2011 1:07 PM

    Hi,
    Could you please provide some more information.
    if you have characteristics iobject whose values are (A, B etc) and calendar month in rows and then at column level you have key figures then if you have turn on the "Display Result Rows" property of both iobject in Bex  as "Always" you can get the result. At the same time you can set "Display Overall result" property of the Query to get overall result.
    Regards,
    Pravin

  • How to make the Results row a toggle when the user wants/does not want see

    The user wants to toggle between seeing/not seeing the Results row at the bottom of each row. How to make it like a toggle checkbox/selection on the screen so that the user can decide on seeing/not seeing it in the report. If not possible to do such a thing, then how do I totally prevent it from showing in the report. Version is 3.5 BW.
    Thanks
    Ram

    For each characteristics in the query designer, right-click and go to properties....
    then in the 'Display of Results' section in the 'Suppress Result Rows' option, select: "Always".
    This will suppress the result rows.
    Good luck,
    AT

  • Presenting/Selecting the "result rows" in a query

    Hi,
    Here is a description of my problem:
    I have a query which returns values for materials grouped by purchasing groups:
    Group 1 Material A KyeFigure
    Group 1 Material B KyeFigure
    Result:  KyeFigure       
    Group 2 Material C KyeFigure
    Group 2 Material D KyeFigure
    Result: KyeFigure
    I'm using a Web application designer chart to present the values graphically. I would like only to present the result rows in the chart, not item values. But since the chart picks all KFs presented in the table (items as well) this is not the case. I've tried to find a way in the chart-settings without any luck - it seems not possible. The documentation states that you're supposed to design your table the way you want it to show in the chart. However, I'm not allowed to redesign the cube or the report. It is not possible to drill up characteristics either (this affects the calculation).
    My question is: Is there a way to extract the result rows into a new table and then base my chart on that one or simply somehow present only the result rows in a chart?
    Best Regards
    /Daniel

    Hi Daniel,
    You can create the query view in BEx Analyzer. After you execute the query, use filters, drill downs etc to get to the exact "view" of data that you would like you chart to present. Save this query view. Then in your web template assign this query view as the data provider.
    Hope this helps...

  • Formula Collision in the result rows

    Hi Guys,
    I have 2 KFs A & B and KF C = A/B.
    In Results rown instead of calculating it as ( A1 + A2 +... +An)/ (B1 + B2 .... Bn) , I want to calculate it as (C1 + C2 + ....+Cn). I tried all options in formula variables, it simple doesnt work. Not sure if we can use it with Result Rows.
    Does anyone have any answer ?
    I would return point for all the helpful answers which I always does.
    Cheers
    Kirk

    Hi Kirk,
    There are 2 ways of doing this
    1) If you're defining the Caluclate KF then you have to right click on the calculated key figure and then click on Enhance button. In the Aggregation block you have to choose "After Aggregation" from the drop down.
    2) If you are using New formula which is local to the query only, in that you have to define a new formula as per your requirement and then go to the property of the new formula by right clicking on it. In the Formula collision block you ned to choose "Result from competing formula".
    Hope this will help.
    Please note that for the calculated field C which is A/B the Calculate Result as should be Nothing defined. But for Field A and B it should be SUMMATION.
    Give reward point if satisfied.
    Regards,
    Message was edited by: tapan tripathy

  • Manipulate the result rows using routine or fm

    Hello BW Experts,
    Can we manipulate the BW result rows in Bex using any routine or fm.
    Suggestions appreciated.
    Thanks,
    BWer

    Dear BWer,
    Following is a sample code for ZXRSRU01:
    You can get the data from Queries or any other objects.
    Is this what you are lookign for ?
    Good luck, BB
    Variable Type
    case i_vartyp.
    when 0.
    case i_s_rkb1d-infocube.
    when '0SD_C03'.
    clear: g_vir.
    refresh: g_t_price1,
    g_t_price2.
    Loop selection table and get Price Id and Price Year
    loop at i_t_var_range into g_t_var_range.
    case g_t_var_range-iobjnm.
    when 'PR_ID1'. g_vir-pr_id1 = g_t_var_range-low.
    when 'PR_ID2'. g_vir-pr_id2 = g_t_var_range-low.
    when 'PR_YEAR1'. g_vir-pr_year1 = g_t_var_range-low.
    when 'PR_YEAR2'. g_vir-pr_year2 = g_t_var_range-low.
    endcase.
    endloop.
    Insert prices to table g_t_price1
    if not g_vir-pr_id1 is initial.
    select *
    from zprice
    into table g_t_price1
    where price_id = g_vir-pr_id1
    and price_year = g_vir-pr_year1.
    endif.
    Insert prices to table g_t_price2
    if not g_vir-pr_id2 is initial.
    select *
    from zprice
    into table g_t_price2
    where price_id = g_vir-pr_id2
    and price_year = g_vir-pr_year2.
    endif.
    endcase.
    endcase.

  • How to restrict / filter the results of a VO depending on dynamic value ?

    Hello,
    Under JDeveloper 11.1.1.3.0 I have some tables / views containing data related to several users.
    I have the VO in the Model project to define the queries.
    The problem for me is to filter "automatically" the results of these queries depending on the user logged in the application. I have its Userid which is a part of the primary keys of the tables I would like to query.
    I made a Search Form based on criteria but if I add the Userid in the criteria it adds the field on the search form, and I don't want this since I know the value and don't want it to be changed.
    Where can I do such this stuff ?

    After dropping the VO as search form, open the panelFormLayout in the structur window, select the fields you don't want the user to change and either hide them (visible="false") or delete the whole element.
    Timo

  • Result Row in the query output

    Hi,
    If I restrict a characteristic by hierarchy then I can’t have the result row displayed. If the hierarchy active is removed then the result row gets displayed. All characteristics are marked to show the result row.
    This characteristic is Account Number. If in the query definition I remove the restriction on account numbers and just select hierarchy active and the required hierarchy in the properties then I get the result row in the output. But now it also displays all the unassigned account numbers in a separate node “Not Assigned Account Number (s)”.
    I can’t even restrict it in the output with hierarchy active selected. When I do select filter value in the output the options Include in Selection and exclude from Selection are grayed out and hence can’t select it.
    Please advice on this issue…
    Thank you,
    sam

    Hi Jaya,
    I think you misunderstood my issue.
    My problem is not that i do not want to see the field. But instead, i do not want to see only the results row in the query output.
    I need to have the results to populate a calculation via sumct formula.
    My question is, can sumct be populated if i hide/supress RESULT row ?
    Regards,
    Maili

  • How to display Average, not Sum, in the "Overall Result" row of a report?

    Every report I look at or execute that has an Overall Result row always shows a total(sum) of all the cells in the column.  I recently came across one that shows the average of all the cells in the column and after looking at the query in BEx Query Designer 7.0 and BEx Analyzer 7.0 I cannot seem to find out where to set this.  All of the Key Figures are listed as "Nothing Defined" in the Calculations tab which is exactly what they should be, but where can I set that yellow-highlighted Overall Result row to calculate an average, not a sum?
    Example can be found in this picture:
    http://img87.imageshack.us/img87/6757/pic1yp.jpg
    Thanks for the help!

    My issue was that I was setting my KF's to 'Calculate Result As: Average' within the Query View that I was editing but the change was not showing on my screen when I have that View opened within the Analyzer.  Infact, it still is showing totals.  But when I execute my Web Template that references this Query View, the graph does display the result row using Averages.  Seems to just be a visibility bug, but it is now working.
    Thanks for the reminder about that property KP,
    Scott

  • WAD result row in the name of the WAD report

    Hi,
    My requirement is we need to show summary of the result rows in front of WAD report output. Is it possible by any means please let me know.
    amit

    our requirement is top management should get summary report like this e.g
    WAD output as of now we have.
    > costing report (Heading of the report) (compress)
              > Query result  (at the top or at the bottom)
    I need Query result should appear at top level before clicking on heading costing report.
    Please let me know if anything required above.
    amit

  • Problem in positioning of the Overall Result Row when using a hierarchy

    Hello All,
    i've built a query on a hierarchy and i want the 'Overall Result' to be displayed at the bottom.
    I've made the following setting in the Query Designer
    <b>Query Properties -> Display -> Results Position -> Bottom/Right</b>
    but still, the 'Overall Result' is displayed at the top of the result rows.
    Could some one please tell me if this is how the functionality is expected to work when a hierarchy is used for display ?
    We are on BW3.1 SP 9
    Best Regards,
    Sanjay<b></b>

    Hi Roberto,
    could you please let me know if the following analysis of mine is correct.
    The Overall Result will be dispalyed at the top if the 'Position of Lower-Level Nodes' is set to 'Down'(default setting) in the Hierarchy Properties of
    the characteristic. If the 'Overall Result' is required to be at the bottom then 'Position of Lower-Level Nodes' has to be set to 'Up'. It is not possible to display the Overall Result at the bottom with the 'Position of Lower-Level Nodes' set to 'Down'
    Will greatly appreciate your help !
    Best Regards,
    Sanjay

Maybe you are looking for