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.

Similar Messages

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

  • 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

  • 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

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

  • Mutliple queries on single workbook?

    Hi,
    Is it possible to have number of queries on single workbook, meaning each query on a different sheet.
    How can this be achieved.
    Would it require embedded workbook.
    How would it be refreshed, i have heard some people had problems with similar scenario
    How are variables handled, assuming some queries are prompted for variables.
    Thanks

    Hi Ashouja,
    It is possible to have multiple queries on different sheets in one workbook. You can accomplish this through using the Bex Toolbar button Tools > Insert Query on the different worksheets. When you will refresh the workbook, all those queries are still "attached" will be refreshed.
    About the variables...it depends on the query properties set in the workbooks. eg if you choose Refresh all queries when opening workbook, then as soon as you open the workbook, all the queries will be automatically refreshed. In this case you will get the variable screen starting with that of the first query. If there are any variables that are common between the queries (Same technical name) then those variables will only appear once and if you enter a value, they will not appear again. The second query will be run with the same value in this case.
    Look at these links for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5529e09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/89883989676778e10000000a11402f/content.htm
    Hope this helps...

  • How to authorize only on the workbook analyse toolbox

    Hi all,
    How to authorize only on the workbook analyse toolbox and not the workbook design toolbox? (in the new bex explorer)
    Is there a specific auth. object?
    Context: For testing purposes users should only be able to create new workbooks en run (display) queries.

    You could use the event structure ("event loop") for this. 
    For any control that you want to protect, you'd create a value change case. Within this case, implement e.g. a pop-up subVI that prompts for a password and returns if the user typed in the correct password. If password is OK, perform the value change or action related to a button pushed, and if password is not OK, do nothing.
    Best regards,
    Jarle Ekanger, MSc, CLD
    Flow Design Bureau AS

  • Inserting Multiple queries into a workbook

    Hi Friends,
    I have to insert multiple queries into a workbook and each query should be in a different worksheet of the work book.
    I have gone thru some of the SAP documentation, for example http://help.sap.com/saphelp_nw04/helpdata/en/3a/89883989676778e10000000a11402f/frameset.htm 
    In above link under the fatures section it says
    If you want to insert a query into the active workbook:
    Open a workbook and, from the BEx toolbar, choose Tools ® Insert Query.... The query is then inserted into the current worksheet starting at the active cell
    But when i chech in the tools under desig tools, i have lot of options like insert grid,insert checbox, radio button extc, but i dont have "Insert query".
    I am using BI7 Bex analyazer, The Only way i am able to insert a new query into a work sheet using BI7 is that first i have to design the work sheet but including design elemenst in my case i am using Grid. But this is not giving the correct display.
    Did anyone insert multiple queries in the same workbook? if you can you please let me know how did u acheive this?.
    Thanks in adv.
    Regards
    BN

    Hi Rajesh,
    Thanks for your response, but in BI7 Bex analyser you dont have the option of insert query from tools.
    Rather what i did is (maynot be the correct way), i have executed the query and saved it as work book and in the tools there is an option "copy Sheet". If you select this the same layout is copied to the 2nd sheet, there just change the assignment of design items to a new Dataprovider. Attach the new query to the new Dataprovider.
    It works for me, as of now
    But i have  questions regarding selection screen.
    1. In this work book i am embbeding 6 queries and each query individually has variables. When i execute the workbook i get the selection screen, in the selection screen all the common variables are shown in one grouping and other in a different grouping. Is this correct way of selection screen display?.
    2. I want to see the variable screen every time i open the work book, how can i acheive this?.
    Regards
    BN

  • Same input for 2 queries in a workbook

    I have 2 queries in a workbook, I would like it to prompt for 'Customer name' when invoked and both the queries should use this as input and run. How can I achieve this?

    Hi Xcaliber,
    you can imbed both the queries in the workbook. Follow this link:
    http://help.sap.com/saphelp_sem40bw/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm
    Hopefully this is helpful.

  • Insert multiple queries using either WORKBOOK, WAD or Report Designer

    Hello Guys
    I have a task where I have to insert multiple queries into one single page/sheet & print it out later. For this I can use any one of the tools available: Workbook, WAD or Report Designer.
    1. Workbook - Here I have read that we can use a call back MACRO and some other features.
    2. WAD - Here I have read that we can use: 1. Multiple data providers (one for each query) & 2. Multiple web analysis items linking to each individual data provider.
    3. Report Designer - Since this is the actual 'formatting' tool provided by SAP, I am assuming that this is the right environment to achieve my task.
    My question: Which one out of the above 3 tools is actually feasible? Can someone explain me in detail about how to go about this task. Any 'How to..' docs from SAP would also be most helpful.
    Regards.

    Hi Kashyap,
    I have done similar requirement in Workbook,it has better features and more user friendly than others......it depends on the individual...but U cna meet your requirement thru Workbooks...
    If the Req are complicated then we go for MAcros ,where in we can satify the critical req,say some sort of Dynamic reqs.
    There are lot of threads on Multiple queries in one Workbook....Just search in SDN and u will get lot of Threads on this topic.
    Come bak if u have any other doubts.
    Rgds
    SVU123

  • Combine Queries in one workbook

    Hi guys,
    I am looking for a way to combine multiple queries in one workbook.
    For example: If I set a filter in one query to the month November, the same filter (e.g. November) should apply to all other queries (which are on another worksheet or on the same worksheet).
    How can I do this?
    Many thanks,
    Sabin

    Hi Sabine,
    You have two options:
    1.  the easy one is to use same variables in the refresh screen for all queries in the same workbook; if you do this, then use the "refresh all queries" option, you will get the same restrictions applying to all queries in the workbook simultaneously.
    2.  the more difficult way to do this is to use a lot of Visual Basic.  Using Visual Basic, you can "read" the filter value set on a particular query, then "apply" that filter value to every other query in the workbook.  OR, you can use the "Copy Filter Value" function.  I prefer the latter for a number of reasons.
    From your earlier notes, I assume you want to use option 2.  To help you further, it would be useful to know what version of BW you are using, and how your users typically refresh queries (i.e., with a button in the workbook, or using the Business Explorer toolbar?).
    It would also be helpful to know your level of comfort with VBA in Excel.
    Here are some notes on the "Copy Filter Value" function:
    Function SAPBEXcopyFilterValue(fromCell As Range, Optional atCell As Range) As Integer
    • Return value of zero indicates that no errors were encountered.  Otherwise, function returns number of errors encountered.
    • If atCell is not specified, the active cell is used to determine which characteristic to return information for.  If the active cell is not part of a query definition, then function returns an error state.
    • Characteristics (fromCell and atCell) must have same technical name; for example, cannot copy filters for Ship-to (0SHIP_TO) in Sales cube to Ship-to (YCOCUSSH) in a Shipments cube
    • Queries (copying from and to) must be in same Excel Workbook.
    Sub CopyFilterOnce()
    Dim filterRng1 As Range, filterRng2 As Range
        'in this example, we are copying filters from query on sheet
        'with code name Query1 to query on sheet with code name Query2
        Set filterRng1 = Query1.Range("F10")
        Set filterRng2 = Query2.Range("D13")       
        retVal = Run("SAPBEX.xla!SAPBEXcopyFilterValue", filterRng1, filterRng2
    End Sub
    Hope this helps.
    - Pete

Maybe you are looking for