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

Similar Messages

  • Only overall result need tp be displayed after query execution

    Hello Everyone,
                                        I am requirement on query analysis " OVERALL RESULTS".  The scenario is explained below.
                                I am dealing with  BW HR Reporting. Now if i execute the query  from 2008. 01 to 2008 03. The Result will be displayed for 2008.01, 2008.02, 2008.03. and atlast the overall result. The requirement is , after executing the query for the calday 2008.01. to 2008.03 , i need to get  only the OVERALL RESULT". The details of the individauls months will be taken care at the jump target level.
                               Can somebody give th inputs from your end, so that only the overall results will be displayed.
                               Appreciate your immediate response. Thanks in advance.
    Regards,
    pradeep

    Hi
    How about suppress results on the characteristic properties
    Regards

  • 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

  • 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

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

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

  • Modifying the text "Result" and "Overall Result" in a BEx query output

    Hi,
    1) Is it possible to modify the text "Result", "Overall Result" which appears in the sub-total and grand total lines of BEx query output? I do not see any related setting the properties area of the object in BEx Query designer. Do I have to write some VB code or can I do something in Customer Exits?
    Also my client wants that this text need to be made dynamic such as "Sub-Total for the month of Jan 2006".
    I can use work book option and change the texts manually.But this is not meeting my clients requirement.
    2)Is it possible to have dynamic title text for a BEx query?
    We are on BW 3.5 & if any of you could provide / guidance to the above issue.
    Thanks,
    Venkatram

    You will have to use VB Macros to change the text "Result" and "Overall Result", there is not settings in the query designer for the same.
    You can have dynamic descriptions for queries using text variables like Expense Query for month of Jan 2006, if user selected Jan 2006.
    Thanks.

  • Overall result in Query designer displaying ' * ' for one kf when executing

    Hello
    I have a got a kf in which value ' * ' is getting displayed when i have done display overall results for one of my chars. Now what i am hoping is that this can be because there are too many records in the display and the total is too huge and that is the reason it is disaplying * in it. Please can somone guide me if there is some setting that can be done

    Hi Tom,
    This is because you have different unit or currency in the data record and you can not sum it if they are different unit/Currency therefore system is showing you *.
    You can try NODIM(KF) and see if it is adding or try currency or unit conversion at query level so that all records in the query have same unit/currency.
    Regards,
    Kams

  • Using javascript to change the "Overall Result" cell in WAD

    Hi experts,
    I am trying to use javascript to change the text of the "Overall Result" cell in my web template using BI 7.0. I am not familiar with javascript, but I this is what I have done so far.
    I dragged the web item "Script" into my web template and I inserted the following code:
    function change_overall_result_to_average() {
    var cell = document.getElementsByTagName("TD");
    var cellText;
    for (i = 0; i < cell.length; i++)
          cellText = cell<i>.innerText;
               if (cellText == "Overall Result")
                     cell<i>.innerText = "Average";               
    In the XHTML view I am using added the onload function to start the javascript every time the web template is loaded. The code works fine when the web template is first loaded and the cell text is changed to "Average". However, if I navigate in my web template, the javascript function is not triggered, and the cell is therefore changed back to "Overall Result". For example, this happens when I pick another selection from one of my dropdown boxes, such as changing the selection from year 2008 to year 2007.
    I don't really know how to solve this problem in an easy way, and the current solution is not good enough. I hope one of you guys can suggest an easy way of fixing this:-)
    Best Regards,
    Morten

    Woodstock apparently renders some Javascript/DOM with some homegrown widget framework which on its turn renders the HTML DOM tree instead of plain vanilla HTML. Correct me if I'm wrong, to confirm this, just view the generated HTML source of the page.
    After some Googling I found out that you need getProps() and setProps() to get and set element attributes respectively.
    [http://google.com/search?q=webuijsf+domnode+site:sun.com].
    If you stucks with this, I recommend you to post this question at a forum or mailinglist devoted to Woodstock, e.g at their own homepage at dev.java.net or the Netbeans forum at nabble.com. You're here at a Sun JSF forum, not at a Woodstock forum.

  • Show only overall result in query

    Hi Experts,
    I have a problem with a web template that I cannot seem to resolve.  I have a query with calculated key figures and the overall result is calculated as an average so that I can determine percentages etc.  It is only the overall result that my customer wants to see.  However if I remove the sales doc characteristic then the overall result is also lost.  The query needs sales doc to get the correct result, but then the user has to scroll to the bottom each time to see what he wants to see.
    So my question is, how can I make the query/web template display only the overall result line without taking out sales doc and losing each line?
    Many thanks in advance.
    Sean.

    Hi Sean,
    From what I could understand ,you can try the following.
    Since you want the average of a calculated key figure with respect to Sales doc  ,u can set the property of the calculated key figure as aggregation = average.
    and referance characteristic as 'sales Doc'
    Hope this helps.
    Varada

  • Query with a condition - Overall results row displays incorrect value

    Hi All,
    I have a bw query with top 40 conditions. However, The Overall Result Row Figures Do Not Equal The Sum of the Column Rows.
    Although the top condition is activated, the overall result still displays the overall result of the whole report.
    I have 3 columns in the report
    Selected Period
    Prior Period and
    Variance
    The formula for variance is (Selected Period/Prior Period)-1.
    Does anyone have an idea to fix this?
    Thank you so much in advance.
    Have a great day!

    Hi Gaurav,
    Thank you so much for your reply, however this does not solve fully the issue.
    Changing the properties to "Summation" will indeed provide me with the correct sum for the "selected period" and "Prior Period." However what I need in the Overall Result Row for the "Variance" column is not the total but instead the value when the total of Selected Period is divided by Prior Period then minus 1.
    Overall Variance = (Overall Selected Period/Overall Prior Period)-1
    Do you know a way to make this possible.
    Thank you so much.

  • Wrong overall result population in the query output

    Hi All,
    I have few issues with my query..
    we have a query which gives  report about the brand name, brand element, brand group, netsales, cumulative sales and royality percentage.
    1. the over all result for the Royality percentage is not getting calulated properly... i have compared the result setting of the other fields which get proper overall result.  i dint find any difference even then i face this issue
    2. The royality percentage is a% of netsales.. but here is issue is when i drill down thro Brand element i am getting proper amount i.e. a% of current sales but when i remove drill down am getting wrong value... and this happens only for one brand not for others...i dont understand why is this happening..
    3. let us consider we have 4 brands.  for 2 brands my royality percentage is getting calculted properly but for 2 brands it is showing wrong value.
    can anyone help me out in this issue...
    i dint get even a single clue regarding this... need your expert help

    Hi ,
    in our report we have calculated roayality fee based up on current net sales.
    current sales comes directly from the infoprovider..
    the royality fee is 6% of current net sales for each brand element.
    Now the issues are
    1. we have four brands... for two brands we are getting correct Royality fee.. i.e. exact 6% of its respective current net sales.
    but for two brands we are not getting the 6% value..
    2. There is one more field named Brand Element.  when i drill down the Brand element, for one brand (out of two which gets wrong royalty fee) alone my royalty fee is getting differed.
    ex. with drill down royalty fee is 82.5 (which is 6% of its current net sales)
          after removing the drill down royalty fee is 63.5 (Which is not related)
    it is not happening for other brands.. why is it behaving so.
    3.  What ever the royalty fee is the overall result of the royalty fee is not getting calculated properly..
    I.e.  for four brands if i calculate the total of royalty fee it comes around 380
    but now it is displayed as 272 (no idea what total it is)
    thanks for the help in advance

  • Using Query Results in Queries

    I understand how to "Using Query Results in Queries" through
    this link:
    http://www.adobe.com/livedocs/coldfusion/5.0/Developing_ColdFusion_Applications/queryDB11. htm;
    However, does anyone know how to do this inside a component?
    note: the first query gets parameters through a form and the second
    query is called through a grid bind.

    I didn't read the link, but there are two ways to use query
    results in other queries. At least two that I know about.
    One is to use valuelists. Since your link was for Cold Fusion
    5, that's probably what they mentioned.
    The other is with Query of Queries.
    You do it in a component the same way you do it in a
    template.

Maybe you are looking for