Question for query designer

Dear all,
I am creating four queries, but facing a problem for the last one. Here is a example:
<b>Query 1 -</b>
Top 10 Inventory for Division A:
Top10List               DivisionName        07/2007      08/2007        MonthOnHandQty
1                                 A                     1000                                  100,000
2                                 A                       800                                    99,800
3                                 A                       600                                    88,600
                                Sub Total A:        2400                                                 
<b>Query 2 -</b>
Top 10 Inventory for Division B:
Top10List               DivisionName        07/2007      08/2007        MonthOnHandQty
1                                 B                     1000                                  100,000
2                                 B                       800                                   99,800
3                                 B                       600                                   88,600
                                Sub Total B:        2400  
<b>Query 1 -</b>
Top 10 Inventory for Division C:
Top10List               DivisionName        07/2007      08/2007        MonthOnHandQty
1                                 C                     1000                                  100,000
2                                 C                       800                                    99,800
3                                 C                       600                                    88,600
                                Sub Total C:        2400   ...
Total of 3 Division:                                7200
<b>Query 4 -</b>
Top 10 % of Total                    <b>07/2007</b>          08/2007                09/2007    
A                                  33%  (2400/7200)  <-- Use Subtotal A / Total of 3 Division
B                                  33%  (2400/7200)  <-- Use Subtotal B / Total of 3 Division
C                                  33%  (2400/7200)  <-- Use Subtotal C / Total of 3 Division
I have to use Web application designer to dipaly the result on one page. How to reference another query's calulated key figure? Your help is appreciated!

Hi
Think of this situation
Division 1
Customer Sales
1-200
2-150
3-150
Total sales 500millions
Division 2
Customer Sales
5-200
1-200
2-100
Total top sales 500 millions
Division 3
Customer Sales
5-800
2-100
3-50
Total top sales 950 millions
Assume the case of Top 3 in Division 1, 2 and 3
5-1000
1 -400
2 -350
We can create a restricted kf/selection ( in case of individual query) and use condition for Top 10 in all the queries. In query 4 you can create a restricted kf ( with division 1+ division 2+ division 3) and get the overall result. The query 4 result will not be replica or summation of the old queries. It will be overall top 10 in all the divisions
Hope this clears
Regards
N Ganesh

Similar Messages

  • Questions for Query Migration to 7.x

    Hi, I am sure lots of people have converted all of their Queries from 3.x to 7.x at this point in time so I'm hoping to leverage from the experienced knowledge base that is out there. 
    When Migrating the Queries did everyone...  (If you could add your detailed experience that would be appreciated! 
    1. Migrate in Dev and transport
    or ---
    2. Migrate Queries separately in each environment?
    Thanks

    Hi
    Before Migration , make sure system having BI 7 installation for query designer and other.
    As Per your thread , YES we need to migrate the queries in Development system , collect the transport and move it further system.
    Migration process like:
    1). Goto Query Designer open the 3.x in BI 7.
    2). If there were no warning and errors after query opened in query designer, Then Save query into BI7. With this step query migrated into BI 7.
    3).  If query wants to restore into 3.x , we are having program COMPONENT_RESTORE to get it back, This program will gets query back into older version as its same as old query.
    4). After migration of queries use transport connection to collect transports. With this help we can make sure all query elements also collected successfully.
    Hope this will clear all your concerns.
    M

  • Tcode for query designer

    hi all..
    is there any tcode for opening query designer?
    regards
    sagar

    Hi Sagar
    Let me have quick share
    I believe there were  no specific t code for query designer aone the following are the only methods through which we can reach query designer
    RRMX which takes you to Bex analyser and then you have to go to edit mode of the query
    start ->Bex-->query designer .
    Hope its clear a little..!
    Thanks
    (P159793)K M R
    Assigning points is the only way of saying thanks in SDN
    >
    vidya sagar wrote:
    > hi all..
    >
    > is there any tcode for opening query designer?
    >
    > regards
    > sagar

  • Manual for Query Designer

    Hi,
    is there a PDF Manual for the Query Designer?
    thx
    Dominik
    Message was edited by:
            Dominik Lanzenberger

    Hi,
    pls chk this Demo , help you
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/505e9d7e-0601-0010-3fa7-b40010bbdec5
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/907ac522-ef62-2910-c38c-ee0ac47fe2a9
    also the following links,
    http://help.sap.com/saphelp_nw04s/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/7e1042197de42ce10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/ce/2d1f42b52dde2ce10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/44/05b8d847bc6037e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/f1/0a5680e09411d2acb90000e829fbfe/frameset.htm
    *pls assign points,if links are useful**
    Regards
    CSM reddy

  • Application Help for Query Designer for Netweaver 2004S

    Does anyone know how to install the Help Files for the Business Explorer Tool for Netweaver 2004S?  When I click on the Help>>Applicaton Help from any of these tools, it states it can't find the files.  I have it setup and working within ABAP.
    Thanks,
    Jeff Cook

    The help dvd that came with upgrade explains how to setup for the ABAP side, not the Query Designer.  Do you know the parameter settings?  Does Query Designer help use the sapdoccd.ini file?
    Thanks ,
    Jeff

  • FormCalc Question for LiveCycle Designer in Acrobat 8.0

    Hi,
    I can't figure out how to write a calculation in FormCalc so that n (the number entered into the form field) multiplied by .485 equals X. This calculation is so that someone filling out the form can enter the number of miles driven and the form automatically converts the miles to the dollar amount based on the IRS mileage reimbursement. So n=some number multiplied by .485. I have tried:
    n * .0485
    n*.485
    fieldnam * .485
    and various permutations setting the parameters to "calculate" and "FormCalc". The field is currently a decimal field, and I've tried it as numeric with no luck.
    Any ideas? This is, of course, one in a series of calculations for a reimbursement form. And, as you can tell, I am a newbie. I've made plenty of forms, just none that do math.
    Thanks,
    Catherine

    Im trying to duplicate a calculation program from an xl spread sheet. After user input of variables and an initial calculation, I need to reference a specific set of data from a drop down list (possibly 15 sets) depending on the initial results. This new data then can can be used to perform further calculations and can be user altered to fine tune the calculations.
    1. Is there a way to set up a drop down list and based upon which item is selected from the list, populate a number of objects into a new set of cells?
    2. Is there a way to selectively make FormCalc perform the calculations based upon new user input? A recalc button?
    3. Is there a way to reset only part of the form in order to evaluate another set of citeria without having to re-enter the heading information?

  • Query designer in EXCEL question

    Hi!
    I have a question about query designer in excel.
    I want SQL query to have in WHERE clause OR instead of AND (which is default), so the query would be like these:
    <b>ORIGINAL:</b>
    SELECT
    D1~SID_ZKAZALNIK AS S____590
    COUNT( * ) AS 1ROWCOUNT
    SUM( F~/BIC/ZPLANKA2 ) AS ZPLANKA2
    SUM( F~/BIC/ZVREDKA2 ) AS ZVREDKA2
    FROM
    FROM
    /BIC/FZKAZAL AS F
    JOIN
    /BIC/DZKAZAL1 AS D1
    ON
    F~KEY_ZKAZAL1
    = D1~DIMID
    JOIN
    /BIC/DZKAZALT AS DT
    ON
    F~KEY_ZKAZALT
    = DT~DIMID
    JOIN
    /BIC/DZKAZALP AS DP
    ON
    F~KEY_ZKAZALP
    = DP~DIMID
    WHERE
    <b>WHERE
    DT~SID_0CALQUARTER
    = 20044
    ) ) AND  ( (
    DP~SID_0RECORDTP
    = 0
    ) ) AND  ( (
    DP~SID_0REQUID
    <= 1060
    ) ) ) )</b>*** GROUP BY
    GROUP BY
    D1~SID_ZKAZALNIK
    DB-SPECIFIC HINTS
    &SUBSTITUTE LITERALS&
    <b>WHAT I WANT:</b>
    SELECT
    D1~SID_ZKAZALNIK AS S____590
    COUNT( * ) AS 1ROWCOUNT
    SUM( F~/BIC/ZPLANKA2 ) AS ZPLANKA2
    SUM( F~/BIC/ZVREDKA2 ) AS ZVREDKA2
    FROM
    FROM
    /BIC/FZKAZAL AS F
    JOIN
    /BIC/DZKAZAL1 AS D1
    ON
    F~KEY_ZKAZAL1
    = D1~DIMID
    JOIN
    /BIC/DZKAZALT AS DT
    ON
    F~KEY_ZKAZALT
    = DT~DIMID
    JOIN
    /BIC/DZKAZALP AS DP
    ON
    F~KEY_ZKAZALP
    = DP~DIMID
    WHERE
    <b>WHERE
    DT~SID_0CALQUARTER
    = 20044
    ) ) <b>OR</b> ( (
    DP~SID_0RECORDTP
    = 0
    ) ) <b>OR</b>  ( (
    DP~SID_0REQUID
    <= 1060
    ) ) ) )</b>*** GROUP BY
    GROUP BY
    D1~SID_ZKAZALNIK
    DB-SPECIFIC HINTS
    &SUBSTITUTE LITERALS&<b></b><b></b>
    Is there a way to change filter from AND to OR where u need that in visual query designer in Excel????
    I need these becouse i want to say smth. like that ... SELECT data FROM some cube WHERE date = 10/2004 OR date_q = 3/2004 OR month = 11 OR year = 2003

    Thanks for reply Roberto!
    Do u think with that? :
    Create 3 different queries on worksheet and than copy values in excel to another worksheet manualy?
    If that, then this is not an option for me, becouse i need joust one query.
    Is there another option?

  • Need transaction code for opening Bex query designer?

    Hi ALL,
      Can anyone help me with the transaction code for opening Bex query designer?
      Like RRMX for Bex Analyzer similarly i want for Bex query designer.
    Thanks & Regards
    Sameer Khan

    THERE IS NO TCODE FOR QUERY DESIGNER. BUT THERE IS AN ALTERNATIVE..
    OPEN BEX ANALYSER THROUGH RRMX
    OPEN A QUERY
    CLICK ON TOOLS-> EDIT QUERY
    THIS OPENS QUERY DESIGNER AND YOU CAN USE IT NORMALLY..

  • Selections on query designer

    Hello gurus,
    I have a question about query designer.
    I have various selections  (cost centre) on  structure. And i want under each selection the detail os costs for each cost centre.
    i have:
    structure:
             selection 1 (cc = 1100001)
             selection 2 (cc = 1100010, 1101101, 1100002)
    and i want the result to be:
    selection 1                  10000
               1100001           10000
    selection 2                  5000
               1100010           1000
               1101101           2000
               1100002           3000
    i tryed to put char cost centre below my structure, but it show me all cc's below each selection.
    How could i do this?
    Thanks in advance.
    Vitor

    Hello gurus,
    I have another question...
    How can I predefine layout as hierarchy.
    i have:
    selection1
    selection2
    selection3
    0comp_code
    0costcentre
    on analyser is displayed:
    selection1 0comp_code1  0costcentre1
                                          0costcentre2
    and so on...
    How could i predefine not to show this form, but instead as hierarchy?
    Thanks in advance,
    Vitor Ramalho
    Edited by: Vitor Ramalho on Jan 16, 2008 12:28 PM

  • Restricting the Query Design Mode Toolbar in BEx

    Hello,
    Query Design Mode toolbar is available to Citrix users when using the BEx Analyser. THe client would like this switched off in the workbooks so users cannot see the make-up of the query.  Does anyone one know who to carry this out?
    Thanks,
    Hema
    Edited by: Hema Bharti on Jul 30, 2008 2:36 PM

    Hi Hema,
    To answer your question:
    From query design toolbar, I do not see how you can see the make up of a query.
    The design toolbar has been introduced to be able to make changes to the query as users need and save them for personal in Favorites or if they have authorization into roles.
    As lomg as they do not have access to query designer, they cannot see make up of query.
    There is no authorization to disable design toolbar.

  • Query design - Restrictions

    Hi Gurus,
    2 Questions about query designer,
    1.- I am creating several Characteristic Restrictions on the same MaterialID Characteristic, for these restrictions I am using variables in order to be able to use the same selection in another queries, choose in the tab Details the variable to be Optional but when I run the query I can't choose one or another one or not to choose any at all, is like is mandatory to use both, I may be missing something.
    2.- When run the query at the top right I can see the option called Show Variable Personalization, how can I create one of those, I guess is like a variable customized by the user.
    Thanks

    Hi..
    Question 1 - Can be a Characteristic restriction in a query optional, or the query needs to be executed always with all these filters, and if it can be optional where is the check mark to make it optional.
    Yes...its optional...this can be achive through variable..give the character variable user entry as optional...this can be work when user give the value...
    Regards....KP

  • Unable to open query designer while able to access BI system

    Hi Experts,
       I have problem while opening query designer, analyzer , WAD . I get the below error. But when i access the relevant BI system i am able to access it well , i dont get any RFC Error. Will there any port setting for query designer separately. This is problem faced at offshore which connects to client servers at onsite. Onsite guys are not facing any issues openning query designer or analyser. Please guide as i am not good in basis ..
    RFC_ERROR_COMMUNICATION
    Message
    CMALLC : rc=27 > Connect from SAP gateway to RFC server failed
    Connect_PM  GWHOST=163.164.XX.XXX, GWSERV=sapgw00, SYSNR=00
    LOCATION    SAP-Gateway on host XXXXXXX/ sapgw00
    ERROR       timeout during allocate
    TIME        Mon Sep 12 14:20:38 201
    RELEASE     700
    COMPONENT   SAP-Gateway
    VERSION     2
    RC          242
    MODULE      gwr3cpic.c
    LINE        2066
    DETAIL      no connect of TP sapdp00 from host 163.164.XX.XXX, after 20 sec
    Thanks
    Vamsi
    Edited by: vamsi talluri on Sep 14, 2011 6:57 PM

    Hi Experts,
       I have checked with basis team , my issue is resolved, please find the solution .
    1) Add corresponding system server names in host files of the offshore desktops.
    2) After that basis has added offshore natted ips in sap gatewat parameter/alternate hostnames in system profile (rz10 tcode).
    Then offshore are able to access query deisgner etc....
    Regards
    vamsi

  • Query designer in BI

    Hi all,
       Can anyone provide me with the best study material for query designer as I am a beginner in BI and I want to learn how to use query designer to generate reports?
    Thanks & Regards,
    Sanyukta

    Hello ,
              Check the demo
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/505e9d7e-0601-0010-3fa7-b40010bbdec5
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/907ac522-ef62-2910-c38c-ee0ac47fe2a9
    assign points if helpful
    regards,
    karthik

  • SSO with Query Designer

    Hi all,
    I need to add a link to SAP Query Designer in Portal that will launch Query Designer using SSO.
    We have SSO with R/3 and with BI already implemented (the user will click on the link and launch SAP GUI without having to type username/password), but we don't know how to do that for Query Designer.
    Can anyone help us? Is there any documentation on the subject that we didn't find?
    Thanks,
    Daniel

    Apparently there needs to be some kind of certificate to add.
    Anyone know anything about this?

  • Comfortable in the usage and options available in the query designer/WAD.

    Dear  Friends
    can any body send me docs regarding Comfortable in the usage and options available in the query designer/WAD.
    Thanks & Regards
    Ramana

    Hi Friend,
    For WAD :
    [http://help.sap.com/saphelp_nw04/helpdata/en/a9/71563c3f65b318e10000000a114084/content.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/9f/281a3c9c004866e10000000a11402f/content.htm]
    For Query Designer :
    [http://help.sap.com/saphelp_nw04s/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/ba95531a-0e01-0010-5e9b-891fc040a66c]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/605f1751-a701-2a10-b791-9da5ba4f2a64]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0a81de5-a701-2a10-76bd-d8ec848cd326]
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/505e9d7e-0601-0010-3fa7-b40010bbdec5]
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    Scroll down to Business Intelligence-> Bi suite Business Explorer-> Query Designer
    Hope this helps.
    Regards
    Hemant Khemani

Maybe you are looking for

  • Does Verizon Wireless really care about its customers?

    I tried to purchase online the free Ellipsis tablet on Black Friday with the 2 year agreement.  The website directed me through the process and then told me I had to change my current plan.  I didn't want to change my plan. So I backed out of the pro

  • Exporting to PDF from Fireworks CS6 - Hotspots float left

    Has anyone witnessed this same instance? When I export to PDF, my rectangle hotspots are on the document, but floating off the page! Help please! Thank you. N8

  • The Menu won't spin

    I am trying to put the code below in which works but not on my local webpage that I am building. Can anyone help. My Computer says that there is a runtime error. The word "eye" is undefined. Thanks, David <html> <head> <!--Step 1: Add the below SCRIP

  • Database Objects node missing schemas

    When i expand 'Database Objects' in the object navigator i see users but i am wondering why this is only a subset of users when i select from DBA_USERS. How do i get to see all the schemas in the database and why is this not initially possible? Many

  • Comparing 2 dates .. urgent

    Hi All,      I am trying to compare 2 dates ( Calendar objects ) and not able to get the desired result. Here is the sample code Calendar date1 = Calendar.getInstance(); // 1st date date1.setTime( mdy4Format.parse( "07/31/2002" )); //mdy4Format is Si