Query overall Result while using structures

Hi all,
I have 2 structures in my query, in both <b>rows and columns</b>. Now I want to display the total result for all the columns in my structure. How do I go about that?
I cant use cell definition as I used the cell definition on a couple of cells to calculate and all other columns have been derived normally thru selections and formulas.
Any insight or pointers would be appreciated and rewarded.
Cheers,
Sri

Thanks folks - I figured it out.

Similar Messages

  • Query - Overall Result Line

    Dear colleagues:
    I want to keep the RESULT lines in my reports, but I´d like to suppress the OVERALL RESULT line. Please, how can I do that in the Analyzer Bex?
    Thanks in advance.
    Message was edited by:
            Domenico V Pandazis

    You can do it. What you do is in the Rows of Query Designer You should be having some InfoObjects. In that list Right click on the First InfoObject and Properties --> Under Display of Results --> Supress Result Rows --> Make it to Always . Now you will not see Over all Results.
    Assign Points if Useful.

  • Issue in display of Overall Result while implememting RRI

    Hi All,
    I have a base report which gives all the material for which no issues are done in last 3 yrs for a plant.
    I have a new report which has all the materials passed from the base report and then i display the consumption of those in rest of the plants.
    When I display the report, the Overall Result is displayed incorrect.
    Child report
                       Selected Plant Stock  Selected Plant Stk value    Consumption in 12Mnt_rest of the Plants
    Material   Plant    Overall Result             Overall Result                        P1   P2
    10001                      1.00                            395.00 EUR                    2.00  1.00          
    10002                      1.00                                1.00 EUR                    2.00  5.00
    10003                      3.00                              74.25 EUR                     2.00    6.00
    Overall Result            35.00                          12600.25 EUR                    6.00    13.00
    When Analysed We found that the overall result is the result of the base report. for the 1st and 2 column.How Do I change the reuslt.
    Appreciate help in advance.
    Harika.

    Hi Harika,
    In the Report assignments ,make the PLant and result as "Delete" mode for these infoobjects.
    Just come back with ur assignment settings,it has got to do with these Settings !!!!!!!!!!
    Rgds
    SVU123

  • Querying user groups while using @RunAs on a bean

    Hi,
    I am trying to implement a scenario in which I have three entities:
    - bean A - datastore for all users
    - bean B - implementing logic, filtering results from datastore for specific user based on groups he is in
    - User - calling bean B
    Calling chaing is User -> bean B -> bean A.
    bean B has to query user groups and filter data based on that. I've implemented that using:
    Subject subject = Security.getCurrentSubject();
    for (Principal principal : subject.getPrincipals()) {
    if (principal instanceof WLSGroup) {
    Without any security specified (like @RolesAllowed) it works like charm.
    But I want to add security constraints to the beans:
    @RolesAllowed("admin")
    class A {}
    @RolesAllowed("user")
    class B {}
    The problem is that B cannot acces A methods because it is calling A using 'user' security context.
    I've thought I change it to:
    @RunAs("application")
    @RolesAllowed("user")
    class B {}
    "Application" is an account in group admin.
    Now B can call A. The problem is that security context is switched to "application" on entering B's methods. Inside them I cannot query user groups using method presented above, because I get "application" groups.
    Is there a way to change security context on calling other bean methods? Like using Security.runAs( somehowGetApplicationSubject(), runnable) ??
    Other method I've thought of, but I have no idea how to implement that, is somehow querying weblogic to get groups of SessionContext.getCallerPrincipal(), which returns user account regardless of using RunAs.
    Hope someone made through this problem before,
    Krzysiek

    getBounds() will only generally make sense while the component itself is being rendered. I wouldn't be completely surprised if the framework which gets that component also resets its size once it's done painting the thing.
    If you're calling it from outside the rendering loop, perhaps you could try calling validate() on the component, which should force it to determine its size.
    Failing that, you could possible use getPreferredSize() instead, which will likely obtain a similar result in most cases.

  • Inconsitent result whil using pre queries

    Hi
    I have three queries, q1, q2 and q3 where q3 calls q2 and q2 calls q1. I have a formula used in q2 which restirct the display of records with a particular formula.
    I have excuted the query q3 and I received the results where q3 called q2 and q2 called q1. But this output is not the same when I execute each query seperately.
    Could you please help me if using a formula create problem in getting the correct data.
    Thanks
    Deepak

    Hi ,
    Check in any query (Q1 and Q2) you have variable default values, Filter values or any conditions individually.
    For example:
    I have Q3 which should should me the all employees who are under Business leader B1.
    The Q3 gets the employees from Q2 .
    but Q2 in my case fetches teh data employees who are in Costcenter CC.So few employees are reduced here.
    Also The Q2 takes data from Q1 which brings CC who belongs to Region WEST. Again the employees will get reduced .
    So check if teh condition like this is restricting teh output.
    As the daat bringing from all teh under laying queries comes as teh AND condition between various selections used in them.
    I am very sure you are getting the less number of records in final Q3 ,while you are expecting more data.
    It will be very rare that you get teh data more then what u expected.
    Checl the various AND conitions between teh reports.
    The query definition of teh underlaying reports will be the main cause of teh creation of AND consitions.
    Thanks
    Mukesh

  • Difference in results while using .CHILDREN and .ALLMEMBERS

    Hi,
    I have two almost similar MDX queries, in one I am using .CHILDREN and in other .ALLMEMBERS. First one returns no rows, the second one returns two. Please help me in understanding why!
    Query 1
    select
    [Measures].[Claim As Of - Count] on 0,
    [Accident Date].[Year].allmembers on 1
     from [AW Cube]
    where [Accident Date].[Year-Quarter-Month-Date].[Year].&[2010]
    ---NO rows
    Query 2
    select
    [Measures].[Claim As Of - Count] on 0,
    [Accident Date].[Year].children on 1
     from [AW Cube]
    where [Accident Date].[Year-Quarter-Month-Date].[Year].&[2010]
    --2 rows
    ---- Claim As Of - Count
    --All 637,350
    --2010 637,350
    TIA,
    Sourav
    EDIT: Some clarifications: AccidentDate is one of the Dimensions in my Cube [AW Cube]. Year is a natural hierarchy while [Year-Quarter-Month-Date] is an user defined hierarchy. [Year-Quarter-Month-Date] is created in the below way: Year-->Month--->Quarter--->Date.
    So 'years' can be obtained by doing [Accident Date].[Year-Quarter-Month-Date].[Year].members and also [Accident Date].[Year].MEMBERS. Hope I am clear.

    Well, got the answer myself.
    Actually every ".CHILDREN" gets internally translated to ".CURRENTMEMBER.CHILDREN"
    Now, [Accident Date].[Year].&[2010] is the corresponding value for the slicer on user defined hierarchy.
    Here,
    "[Accident Date].[Year].CHILDREN"
    actually gets translated to
    "[Accident Date].[Year].&[2010].CHILDREN"
    which is basically an empty set. Hence, Voila!  The empty result set!

  • Overall result of structure

    Hi all,
    I have two structures in my query----
    one for char and one for keyfigure........
    In rows i have char structure and one more char 0wbselment........
    when i execute the report i want to display overall result for the structure..........rightnow its displaying for individual fields of structure and overall result is not possible.........
    Edited by: Raj on Jul 27, 2009 1:49 PM

    Hello,
    Select the individual char under struture and in properties goto the  calculation tab and for calculate result as select 'HIDE' except for the first char in the struture.
    If your WBS_ELM is topmost char then simply hide result for all char in structure and show result only for WBS_ELM.
    Regards,
    Shashank

  • Sql query slow while using poc *C, OCI

    Sql query is taking long time while using fetching records from RAC using Pro *C, OCI. Same query working fine while using JDBC connection.what could be the issue.Please help
    Thanks,
    Sam

    Pro*C is not part of Oracle Solaris Studio (formerly Sun Studio). Studio has no special support for database programming. You are more likely to get a helpful answer in a database programming forum. Start here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • Supress Subtotal rows and display overall result of keyfigure

    Hello there,
    Is there a procedure to hide result of a keyfigure at subtotal level and display result at overall result level?
    Please let me know.
    Points assured.
    regards
    Joga

    Hi Daya,
    Thanks for the reply. in the report i have other keyfigures also for which i need to show subtotals.
    its only for 3 keyfigures i need to hide the subtotal result and show overall result.
    when iam hiding the result rows of the key figure iam not getting the result in the overall result column as well.
    i only want a result for overall result while supressing the subtotals for 3 keyfigures out of 10 keyfigures.
    regards
    Joga

  • Hiding lines in a query while using the overall results

    Hi all,
    We got a hierarchy with 4 levels. Each element of the first level after the root "L1" (2nd level in real) receive amounts called "INITIAL". The next step is to send and dispatch these amounts to the 3rd level "L2". At this point, the L2s can send to each other amounts which are then typed as "TRANSFER" and no more "INITIAL" or send and dispatch to the 4th level elements.
    We isolated these movements to emphasize on the L2s which is part of the query goal. The lines as then restricted to the L2s. The next column must compare as a percentage the amounts typed "TRANSFER" to the amounts a the their L1s (father node).
    <u>Our need is to know how to receive an overall result ("INITIAL" amounts on L1s) at the level 2 strictly.</u>
    Type of hierarchy :
    1. ROOT
       2. L1A : INITIAL (1000€)
          3. L21-1A : INITIAL (700€) -> TRANSFER type for 200€
             4...
          3. L22-1A : INITIAL (300€) -> TRANSFER type for 100€
             4...
       2. L2A : INITIAL
          3. L21-2A : INITIAL & TRANSFER
             4...
          3. L22-2A : INITIAL & TRANSFER
             4...
    <b>The result of the query is :
    L21-1A : 20% (is 200/1000)
    L22-1A : 10%</b>
    Thanks in advance for your help.
    Geo

    HI,
    I would suggest you to create a new KF with a formula to check if any of the KF value is zero for example..
    New KF =(( col1 == 0) OR (col2 == 0) OR (col3 == 0) )
    You then hide this new KF always in the query and create a condition to display rows where the New KF is not equal to 1.
    This will hide all the rows which have any of the 3 KF's as 0.
    Regards,
    Shilpa

  • Using Query's overall result in model

    Hello,
    Is there a method to use overall result from a BW query in a VC model?
    I need the overall result values for different KF's from the query in the model for further computation.
    Have tried using a filter for "over*" from the data service output to a table/form ,but didnt work .
    Also how do we combine the output of two filters from a data service and take the count of the records in that output ?I have tried combining the two filters with combine/union and then sigma operators, but not got the desired result.  How exactly does combine work ,on what basis does it combine two datasets?
    Any help would be most appreciated.
    Rgds

    Hi
    That is not a problem you can copy same data service 2 times. Take following example -
    Consider you have Country & State in Rows & sales in Columns. Then in your query create input variable for Country & any other variable lilke month if you want. Then -
    1. You will have first chart as Country wise sales which is at summerized level. You will select country from this chart & you will pass this to your second data service which is nothing but a copy of first one. (You can right click on first service & Copy Paste)
    2. Then you join the output of the first chart to the variable port of the second data service. So when you select on the perticular column of the first chart (which is nothing but one country) you will get details of that country state wise break up.
    If you still have any doubts please let me know.
    Regards
    Sandeep

  • How to use the "Overall Result" KF value in a formula in BW query ver 3.5

    My query produces this output:
    Characteristic..........................................................                Key Fig
    X ............................................................................                       408,679.57
    Y.......................................................................                    1,548,085.14
    Z .....................................................................                      300,000
    Overall Result......................................................................     2,256,764.72
    I need my query to perform this calculation
    Characteristic.......................Key Fig...........................Key Figure
    X....................................408,679.57......................408,679.57/2,256,764.72
    Y.................................1,548,085.14....................1,548,085.14/2,256,764.72
    Z....................................300,000............................300,000.00/2,256,764.72
    Overall Result...................................................................2,256,764.72
    How can I used an overall result value in my query calculations?
    Edited by: Carolyn Yankovitz on May 7, 2009 8:44 PM

    Hi,
    Try using SUMCT, SUMGT,SUMRT which are there in data functions in query designer.
    You need to first create formula and then use SUMCT,SUMGT, SUMRT.
    Hope it helps.
    Praveen Tati

  • 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

  • Query with a condition - Overall results row is wrong

    Hello,
    I have a query that uses a condition.  The query gives me the top 10 brands according to the Net Sales.  The query itself runs fine.  I just noticed however that the Overall Result row isn't giving me the correct number.
    For example:
    <b>BRAND            NETSALES    MARGIN %</b>
    Brand1           $100        25%
    Brand2           $60         10%
    Brand3           $20         15%
    <b>OVERALL RESULT   $210        2%</b>
    As you can see it does not add up or average correctly.  This query has no macros or anything, it only uses a condition.
    Any suggestions?
    Thanks,
    Nick

    A workaround I have found is the manual directions in this OSS note: 572910
    Anyone have any follow up?
    Thanks.
    Nick

  • How to get  the Overall result and Avg in Query

    Hi
    I am facing a problem to find Overall result and Avg for the keyfigure.
    Here is the scenario.
    I have a fiscalperiod ,qty in query column and material in row, when user enters the fiscalperiod(004.2006 to 006.2006)
    the output should come as
       0406 0506 0606  Avg
    M1  10  20   40     35
    M2  20  40   30     45
    res 30  60  70
    i can able to get the overall result not avg,
    if i change the properities of keyfigure 'Calicuate Result as 'Average of all values'',then i am loosing the overall result.
    eitherway i can able to get one result,not both.
    anybody can help.
    Thanks
    Madhu

    You have 2 key figures and you have put Material in the ROWS.
    Remove Material from ROWS and instead use 0FISCYEAR in the row selection.
    You can create 12 Key figures for each month and use either Filer or Free Characteristic using 0CALMONTH to restrict the month for the selection Variable.
    For the Key Figures use "Calculate Single Value as" Average.
    Create another formula as KF1KF2....+KF12 to get the sum of average.
    Regs
    Gopi
    Assign points if it helps...

Maybe you are looking for