How to save 2 queries in 1 workbook

Hi experts,
could you tell me in steps how to save two queries in one workbook.
Regards.
harry

Hi Harry,
    After creating a query you can execute the query. Once the result is displayed you have the option of saving it as a workbook. using that you can save it as workbook. Once it is saved as workbook you can run it and the result is displayed in one sheet. Go to another sheet and use the option insert query in the workbook to insert new query. So you will have a workbook with 2 queries now. Futher if youwant to interpret the data of the 2 queries ina fresh sheet in the same workbook you can use cell references and hide the other 2 sheets.
i hope this will help you.

Similar Messages

  • How to save Query in a workbook and Role

    Hello All
    What are this workbook and role?How to save the query into this and how it helps/use us.
    can anyone tell about this?
    regards
    balaji

    Hi,
    You need to assign a role to a user. WHen this user enters the system s/he will be able to save queries under the role (the button 'Roles' will be seen).
    See here an example of working with roles:
    Re: How to protect Queries from being modified ?
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • How to save querys to a workbook

    Hi Pioneers
                I  have three queries which i need to group them in a  workbook...Could u plz tell in steps how to create a workbook and include the queries in to that...
    BR
    RAvi

    Hi,
    Execute the Query and save it as Work Book.
    Save (from BEx too bar)->save as new work book>Provide description and click ok.
    go to Tools (Bex tool bar)-->insert Query to insert more queries in the same wok book..
    Before inserting new Query,make sure that you maintained appropriate number of worksheets (with excel functionality)
    regards

  • How to arrange queries in a workbook

    Hi
    I had 7 queries
    How can i insert/publish on one worksheet of a workbook  in the following order
    1---8-3
    5----2
    4--6--7
    Thanks

    Hi,
    You can insert the queries in a single worksheet by placing the various analysis grids.
    1. Create new worksheet
    2.Go to Design Toolbox->Click Insert Analysis Grid icon
    3.Now the workbook will be switched to design mode->Click on that grid item which is inserted
    4.This opens the grid Properties dialog->Go to General tab->Click the icon of "Create Data Provider"->Assign a Query/Query View->Select teh query you want to assign->OK
    5.Switch to Analysis Mode
    Now the data of the query will be displayed in the Analysis grid.
    Similarly you can place one more Analysis Grid and insert another query.You can't insert a grid on already inserted grid.So make sure that yoy place the grid in proper spacing and then assign query.
    Now each grid will show the respective queries data.
    Rgds,
    Murali

  • How to save automatically scheduled Discoverer workbook as a file?

    Hi,
    When I run a Discoverer report I have the option to export as a file in various formats (PDF, TXT, Excel).
    I’ve scheduled a workbook in discoverer and I want it not only to be saved in the Discoverer itself, I also want it to be saved as a file (PDF, TXT, Excel) when it finished running.
    Can someone please explain how can it be done?
    Another issue:
    Is it possible to use other kinds of triggers to run the report beside a schedule?
    Meaning – I want the report to run immediately when payroll (trigger exists in DB) finished running.
    Thanks!
    Rafi

    Hi,
    I had the same requirement and i achieved it by the combination of Descoverer Scheduled report and oracle concurrent program. In a brief the process goes like this:
    1.) Create and schedule the discoverer Report on periodic basis. For example every hour starting from morning 9:00 AM.
    2.) As soon as schedule report start running at 9:00 AM, it will create a table in DB to store the output of the execution.
    3.) Create a query to fetch the last executed report output.
    4.) Get the table name created for the last executed output.
    5.) Create the oracle apps concurrent program to perform step 3 & 4 dynamically.
    6.) Also, write the code in the concurrent program to Generate Excel/Text/CSV/PDF file by selecting values from the last created table.
    7.) Schedule the concurrent program at the time which is the possible/approximate end time of discoverer report execution. For example, if your report take 15 mins to complete, then schedule your program at 9:20 (giving some buffer time just in case).
    Now, your discoverer report is scheduled every hour and take 15 mins to complete. And your concurrent program is also schduled to fetch last executed data and create file (and possible Email/FTP them) form the output.
    Hope this helps. Do feel free to revert in case you require queries that i have used to perform above mentioned steps.
    regards
    Nitesh

  • How to autorefresh queries in a workbook?

    Hello Experts,
    I have multiple queries in a excel worksheet in a workbook. I am unable to refresh the data .
    I have checked "Allow refresh function for Individual queries" and also "Refresh workbook on Open".
    But this is not working.
    But when i run individual queries it works fine.  I dont want to re assign data providers all the time?
    Please help.
    Rohit

    Hey,
    I tried recreating new workbooks and i found out that getting a auto refresh workbook is a random phenomenon. I mean some workbooks refresh and some dont and there is no reason why they dont refresh.

  • How to save in different worksheets in a single workbook

    Hi Experts,
    I ran one query and I saved it as a new workbook. In the same query I drilled down with another characteristic and I need the output should be saved in the same workbook in sheet 2.
    Kindly do let me know how to save the different ouputs in a single workbook as sheet 1, sheet 2,..etc.,
    Thanks,

    Hi Kishor,
    If you have just copy pasted this reult in sheet2 then it will be static.
    If you want to refresh data in all the sheets then you have to create diff. queries as said by Venkat and insert this query in sheet2.
    When you want to refresh data for any particular query then put cursor on any cell of the Query result an refresh it.
    If you want to refresh data for all the queries in the workbook then select cell(put cursor) on any empty cell and refresh the workbook.
    Regards
    SS

  • How to run multiple queries in a workbook

    Hi,
    I have 3 queries in a workbook with the same variables. How can I refresh all the 3 queries when I change the variable value. It allows me to refresh only one query at a time but I need to refresh all the 3 queries at once whenever variable value changes.
    Thanks,
    Kal

    Prakash,
    Do you have any more information on where i would find the setting to;
    "Refresh individual queries within a workbook (Single DataProviderRefresh)"
    is it on the
    i) dataprovider setting
    ii) workbook setting
    iii) elsewhere?
    many thanks
    Ian

  • How to know no. of  queries in a workbook?

    Hi,
    Is there any way to know the Number of queries in a workbook in a simple way?
    Why i am asking is, we have so many workbooks with too many worksheets ( some are queries and some of them are graphical representaions of the  query results). and to know how many queries are in a workbook by checking manually is quite a task.
    and i need to adjust the year filters to the new year in all the queries and we have lot of workbooks as well.
    if i can know the number of queries contained in the workbooks , my job is much easier
    Raj

    Hi,
    goto the metadata repository, search for your workbook and you get a list of all queries contained in that workbook.
    kind regards
    Siggi

  • How to save macros in excel for all workbooks permanently?

    HI all,
    I have created macros in the Excel 2007 and have saved it. And its working fine. But i open the same excel sheet again, I cant see any macros in the excel sheet?
    Can anyone pls let me know how to save the macros permanently in the Excel Sheet ?
    Thanks
    Pooja

    Hi ,
    I have saved as .xslx format but still the same unable to see the macros in the same excel sheet.
    My intention is that when ever i open any excel sheet in the my computer those macros should be available for me!!
    Thanks
    Pooja

  • How to embed multiple queries in single workbook

    Hi,
               I am working in BI 7.0 environment. My requirement is
    1) I have 6 different SD queries.
    2) I need to create workbook out of each query.
    3) I need to embed workbook created from each query into a single work book (each worksheet in workbook should have workbook created from 1single query).
    This way the final workbook will have six work sheets with six different queries (all saved as workbooks).
    Can anyone please give me an idea to create the workbook.
    We are latest version of Excel.
    Thanks in advance.

    Hi Padma,
       You can embed multiple queries in a workbook.Please follow below steps.
    1. Open the query in a Bex analyzer (first query)
    2. Go to second tab and select a cell and insert anlaysis item (second icon on the Bex Toolbar)
    3. Right click and assign query to the data provider.
    4. Goto next tab and insert analysis item for third query . Similarly you can insert many queries but embedding multiple queries will degrade performace.
    5. Goto workbook settings (last icon in Bex tool bar) for workbook properties like refresh workbook on open. pop up variable screen on refresh etc.
    Also please go thru below links .
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/45583ca544eb
    51e10000000a114084/content.htm
    Hope this helps. Let me know if you have any queries.
    Regards
    Suvarna

  • Queries Published to Workbook Roles

    Hello Gurus,
    I need some advice on this particular situation.
    I currently have users in our BI systems (BI 7.0) that are assigned to roles specifically for workbooks to use with the BEX analyzer. In this case there are users who can publish queries to workbooks for anyone to use (as long as they're assigned to the workbook role).
    Note:  To be specific, our business users do not create queries in production, but simply create a view of an existing query and make changes based on their specific need, which then can be saved to a workbook.   
    In the past we had workbook roles transported (in error) to production from development, which overwritten the queries published to the workbook in production. Updates to the workbook roles were only being made in production, so when the roles came over from DEV it wiped the queries that were created by the end users.  Iu2019m currently in the process on re-structuring the role authorization concept in our BI system and would like to incorporate workbook authorization to one role (role based security) instead of having multiple on-off roles for workbooks. Having one role means Iu2019ll need to work in DEV and push the changes to production, however with the workbook situation if any queries have been published to the one role it will be wiped every time a transport goes into production.
    I would like to the following:
    1. Is there an alternative method to running queries without utilizing workbooks?
    2. What would be the best scenario or best practice when publishing queries to workbook roles?
    Regards,
    Wes

    Wes:
    User cannot see favorites of another user in BEx Analyzer.
    Instead of saving a workbook to the role and risk having it overwritten the next time the role is transported, your users could save their changes as a view ('save view global' option).  They will not be prompted to save as a favorite or in a role - it inherits whatever role the query is in and will not be overwritten if that role is transported.
    Keep in mind that things like query properties set in the view are not retained like they are with a workbook, however.  The view stores the navigation state, variable values, etc.
    Hope this helps...
    Regards,
    Kerry

  • How to save a query in package and transport it?

    i have saved a query as local object? now without making any changes to it, how to save it in a package? and please give me step by step procedure to transport query from one server to another server?

    Hi,
    Query Transport
    Query transport
    Query Transport
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb46da455611d189710000e8322d00/frameset.htm
    How to transport queries?
    Changing Package Assignments
    http://help.sap.com/saphelp_nw70/helpdata/en/04/733a3e5069eb6ce10000000a114084/frameset.htm
    Change package
    Hope this helps.
    Thanks,
    JituK

  • Multiple Queries in a workbook

    Hi Gurus
    If we have multiple queries in a workbook in  3.5 version and when we upgrade it to BI 7.0 version the data got overwrited........ (I heard this scenario from my friend)
    But how to solve this kind of scenario. Does scrolling option works... Please give me some suggestion how to solve this kind of issue
    Regards
    Naga

    A 3.x workbook when opened in 7.0 works fine except for some issues. Variables are shown in text element of 3.x workbook , when this workbook is opened in 7.0 the variables are also shown. By design text element does not show variables except for text variables. There are issues like flickering of workbook when opening the 3.x workbook in 7.0. Variants from 3.x are not imported in 7.0.
    check this out.

  • Refresh individual queries within a workbook in SP20 EHp1 System

    Hi,
    Currently we have upgraded our BI system to EHP1 pack for SP20. Now we are in BI7.01. We have found in SAP release notes for EHP1 like " in BEX 7 analyzer we will able to Refresh individual queries within a workbook:".
    Can you please tell me how to acheive that, as when we are trying to do it refreshes all the sheets.
    Also in Global settings tab " Allow single data provider refresh" is disabled. Kindly tell me step by step procedure to acheive this,
    Thanks

    Hi Krishna,
    Really thanks for your instructions. We have enabled hte "refresh on individual workbooks" in the workbook settings tab adn we are able to see the same in the context menu of the analysis grid.
    Again i have few doubts.
    I can able to see two options as below.
    1. Refresh
    2. Refresh this query.
    What is the difference between this two?. Also when i click the "refresh this query" it shud display the "selections screen of the particular query", But it is not at all showing me a selection screen,
    What i am doing is.. I am simply doing "refresh this query" option that will refresh my screen first adn i am doing change variables.
    That will give me the selection screen of the particular query. If i am not doing so, all workbooks are refreshing,
    Please advice, whether selection screen of the particular query can be shown when clicking "refresh this query".
    Thanks/

Maybe you are looking for