Single report with multiple queries OR multiple reports with single query

Hello Experts,
I have a confusion regarding Live Office connection for many days. I asked many people but did not get a concrete answer. I am re-posting this question here and expecting an answer this time.
The product versions that I am using are as follows:
FrontEnd:
  BOE XI 3.1 SP4 FP 4.1
  Xcelsius Enterprise 2008 SP4
Backend:
  SAP BW 7.0 EHP1
I have created a dashboard which is getting data from a webi report using LO connections.
The webi report has five report parts which are populated by five different queries.
Now my question is, when the five LO connections are refreshed, is the webi report refreshed five times or just once?
If the report is refreshed five times, then I guess it is better to have five different webi reports containing single report part, because in that way we can prevent same query being executed multiple times.
SO what is the best practice- to have a single report having multiple queries - OR - to create multiple webi reports with single query?
Thanks and Regards,
PASG

HI
I think Best Practice is Multiple reports with single query
Any way If LO connections refresh 5 time the query will refresh 5 timesRegards
Venkat

Similar Messages

  • How to pass an array or structure, in addition to a query, or multiple queries to the Report Builder as parameters

    Is there a way to pass an array or structure for example as parameters, in addition to a query, or multiple queries to the Report Builder in CF8? I believe this was recommended by users to be in CF8.

    BrianO,
    Although it's been a while, I thought I'd provide the code to do this for you. It works for me in CF8, and probably will in CF7.
    Here I create a structure called My, and provide that one parameter to my CFReportParam tag.
    <CFSet My = {
    Client = "Client Name",
    ReportDateFrom = DateFormat(ThisStartDate, DateMask),
    ReportDateTo = DateFormat(ThisEndDate, DateMask),
    PageHeaderImage = ImagePath & "\Logos\Page_Header.png",
    WatermarkImage = ImagePath & "\Logos\Watermark.png",
    GetBarSummary = GetBarSummary,
    GetPieSummary = GetPieSummary
    }>
    <CFReport Template="#ReportPath#\SpendSummary.cfr" Format="PDF" Query="GetSummary">
    <CFReportParam Name="My" Value="#My#">
    </CFReport>
    Inside the report itself, reference the given parameter as Param.My.PageHeaderImage for example. It can be referenced that way from any expression inside the report builder. You can even use the queries as the data source for charts (using the Data From a Query -> Query Builder -> Advanced) by entering "Param.My.GetPieSummary" where it says "Variable containing query object".
    HTH
    Swift

  • Workbook with multiple queries on multiple tabs

    Scenario: There is a workbook with multiple queries on multiple tabs.
    In 3.x, it was possible to refresh only a select query within the WB but I'm not finding this to be the case in the NW04s BEx Analyzer. It seems that it will always refresh all queries on all tabs.
    Do any of you know a way around this?

    Hi Bigtoja (and others).
    This is not possible in BI/2004s.
    Please refer to https://websmp106.sap-ag.de/~sapidb/011000358700004483762006E page 23. It seems that it will be implemented in a stack sometime in 2008.
    BR
    Stefan

  • Multiple Queries on Interactive Report

    hi all,
    Can i run multiple queries based on some condition in creating an interactive report?? I mean
    i want to run a single query as
    if :P12_QUERY == 1 then
    first query
    else if :P12_QUERY == 2 then
    second query
    end if;
    Please provide me the syntax if its possible. Plz help me in this regard.
    With Regards,
    Sunil Bhatia

    Hello,
    You will need to create a pipeline function and use it in your query. But both your queries have to return the same dataset.
    Example:
    function choose_query(v_query_type integer) return some_type pipelined
    is
    v_query varchar2(4000);
    v_cur sys_refcursor;
    v_row some_type;
    begin
    if :P12_QUERY == 1 then
    v_query := 'select ....';
    else if :P12_QUERY == 2 then
    v_query := 'select ....';
    end if;
    open v_cur for v_query;
    loop
    v_row := some_type(null, null, null);
    fetch v_cur into v_row;
    exit when v_cur%notfound;
    pipe row (v_row);
    end loop;
    close v_cur;
    end;In interactive report you have to set query:
    select * from table(choose_query(:P12_QUERY ))
    Best Regards, Kostya Proskudin

  • Results of multiple queries in one report

    Hi
    I would like to create one report with multiple rows and each row should display result of a different query.
    I guess I can use multiple report on one region or multiple regions in one place.
    (1)However is there a more elegant way of creating a single report look and feel...eg like it would happen in excel.
    (2)Is it better to have one page with multiple regions or multiple reports in one region.
    Thanks
    Faizi

    I'm not sure if it suite your needs,
    but maybe you can use UNION in your queries to get them together in one report ??
    Second option:
    Denes did great work and he created some how-to about putting mulitple reports in one region:
    http://deneskubicek.blogspot.com/2007/06/multiple-reports-in-one-region.html
    Hope this helps.
    Tomasz K.

  • Cross tab data is getting multiplied if i use multiple queris in asingle report

    HI,
      i am using multiple queris for displaying data and graphs(charts).
      my requirement is to display 2 charts and data in crosstab in a single report.
      all the three thing (2charts and crosstab) will use diffrent values.
    I am writing 3 sql queries for getting appropriate values for charts and crosstab.
      Now the problem, both charts and crosstab are taking the values of all 3 queris
    i.e if i added crosstab  first to the report values are coming correctly. After  that if i add graph cross tab values are getting changed and graph values are not getting properly.
    if i add graph first then its coming correctly.
    if i tried to add all 3 components then values are going cores...... ?

    When you say you are writing 3 sql queries what do you mean? Are you creating 3 SQL command objects in the database expert? If so this is your problem, Crystal will pull a cartesian product through (this is every possible combinatin of rows from the 3 queries).
    If your 2 graphs and 1 crosstab are based on different datasets the way to approach this is to create each on a seperate report, then create a new blank report and add each of your 3 reports as subreports in the report footer.
    Hope this helps,
    Toby

  • How to run multiple queries in a report 6i

    hi!
    i have multiple queries that i have created in data model
    how can i invoke them in my report?
    thanks!

    Every query is run automatically. You can have a Q1 and Q2 and display results of Q1 on one page, and the results of Q2 on another.

  • Reg: How to change Multiple Queries in WebI Report

    Hi all,
    I am woking in Xcelsius Dashboard. I used WebI approach for creating dashboard. I have two customers which one customer has SAP and another customer does not have SAP. so intially I have used Excell as data source. now I want to replace the Excel with BI Queries.Both having same structure.while replacing I faced the following problem.
    I created one WebI report based on Excel as data source that has two Queries(Two universes).I  want to replace excel based universe with BI query based universe.If I change the universe in an one query ,the univese is changed in an another query also.  How can I replace two different universes that based on BI queries with existing universes ?
    How can i resolve the problem?
    Thanks & Regards,
    Hemalatha J

    hema,
    As Thomas mentioned, changing one Data Provider causes the other Data Provider to get changed as well -- this is a problem for trying to change the universe on one tab and the system automatically goes and goofs up the other tab(s) as well.  I'm still on XI R2 and the problem happens so maybe someone with XI 3.1 or higher loaded can confirm that this unwanted occurrence has been cleared up or not.
    Thanks,
    John

  • Multiple Queries in one Report

    What is the best way to show the data of 2 queries in one report?

    Hi Frank,
    It purely depends on the reporting needs I would say. You could simply add the two queries, create joins in Crystal Reports and drag the required fields in the details section.
    The joins in this case, however, would be executed by Crystal Reports, unlike when the report is created off a Relational database.
    -Abhilash

  • Multiple queries without multiple tables?

    Greetings,
    Is there anyway I can choose between multiple queries and have the results come out on the one display table or do I have to have one display table per query?
    I'm thinking like having a dropdown list bound to queries and the results being displayed per selection.
    Many Thanks,
    Phil.

    I have this in _init() of myPage.java :
    myOwnRowSet.setDataSourceName("java:comp/env/jdbc/test1");
    myOwnRowSet.setCommand(getSessionBean1().getMethod());
    myOwnRowSet.setTableName("testTable");
    dataTable1Model.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{myPage.myOwnRowSet}"));Then in the sessionbean getMethod()returns SQL query based on the input from user. In myPage.java i have the table already constructed and inside table I have hyperlink with link_action_method() that goes like this:
    getSessionBean1().setSomeMethod(""+getValue("#{currentRow['TRIP']}"));
    log("field's value is "+(String)getValue("#{currentRow['TRIP']}"));but in log I can see If i clicked let's say on 15th row it will store data in sessionbean not from 15th row of the table beeing displayed but from the 15th row from database! What am I doing wrong? Thx for your help,
    bojanidis
    See also http://forum.sun.com/jive/thread.jspa?threadID=104342&tstart=0

  • Multiple queries in reports with XSL-FO and without BI Publisher

    Hello,
    I'm trying to find out how to create a complex report in APEX for printing. The report contains multiple queries in different layout, images and static text.
    I don't have the possibility to use BI Publisher and I'm not an XSL-FO expert. However I'm trying to find out if it's possible at all not using BI Publisher.
    I'm having the impression that multiple report queries and layouts in APEX can only be used in combination with BI Publisher. I'd be glad if someone could give me an example of how to do multiple queries and layout in a single report only using XSL-FO.
    Thanks in advance,
    Jan Willem

    Hello,
    I'm trying to find out how to create a complex report in APEX for printing. The report contains multiple queries in different layout, images and static text.
    I don't have the possibility to use BI Publisher and I'm not an XSL-FO expert. However I'm trying to find out if it's possible at all not using BI Publisher.
    I'm having the impression that multiple report queries and layouts in APEX can only be used in combination with BI Publisher. I'd be glad if someone could give me an example of how to do multiple queries and layout in a single report only using XSL-FO.
    Thanks in advance,
    Jan Willem

  • How to combine multiple queries!

    I know this is pretty basic, but I'm confused. Basically, I need to extract all data for a given entity from a highly normalized database. There are probably 2 dozen tables which contain data for a given entity that must be queried. However, rather than constructing one single query that merges all of the tables together to come up with one huge rowset/row format, how could I query each table seperately and combine the results of each query into one XML file? Can I create a clob with the first query and then append subsequent queries to that clob? Not sure what to do, and I can't find any good examples.
    Thanks in advance!

    Thanks, but I don't think that's quite what I'm looking for. In a nutshell, this is what I'm doing and this is the problem I'm having:
    1. I set a string equal to a query.
    2. I use xmlgen.getxml to fetch the xml into a clob.
    3. I parse the clob into a DOMDocument.
    The problem occurs with multiple queries. If I follow this same process for 5 different queries, then I have 5 instances of a DOMDocument, each holding a different queries XML. Now, can I put them together? I tried xmldom.makeNode for each DOMDocument, but the nodes are associated with the Document from which they came. I tried cloning each node to disassociate from it's Document, but that didn't seem to work. Even if it did, and I got all of the nodes together, I kept getting a java.lang.ClassCastException for trying xmldom.makeDocument for a node. I'm lost. How can I combine the results of multiple queries into a single DOMDocument instance? It was suggested that use xmlgen.getXML to get multiple queries into multiple CLOBS, then essentially combine the CLOBS together, and finally parse into a DOMDocument as a last step, but that doesn't really leverage DOMs capabilities. At this point, I may have to go down that road...

  • 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

  • Multiple queries in a single report?

    I'm having some issues with the ColdFusion Report Builder...
    I have a database table called "Items" that includes fields
    for Reviewer and Status. I want to create a report that will list a
    reviewer, then express the number of items where the Status is
    "open" as a total or record count. I want to do the same for total
    items, and then express the number of "open" items as a percentage.
    For example:
    REVIEWER, OPEN ITEMS, TOTAL ITEMS, PERCENT OPEN
    John Doe, 10, 20, 50%
    Jane Smith, 15, 60, 25%
    ...and so on.
    So far I've only been able to get my report to display the
    recordcount of the entire query. In order troubleshoot the problem
    I created a regular cfm page to do the same thing. Here's what I
    did:
    <cfquery name="getreviewers"
    datasource="#APPLICATION.datasource#">
    SELECT DISTINCT Reviewer
    FROM Items
    ORDER BY Reviewer
    </cfquery>
    <cfoutput query="getreviewers">
    <cfquery name="getopenitems"
    datasource="#APPLICATION.datasource#">
    SELECT Status
    FROM Items
    WHERE Status='open'
    AND Reviewer = '#Reviewer#'
    </cfquery>
    <cfset open = getopenitems.recordcount>
    <cfquery name="getallitems"
    datasource="#APPLICATION.datasource#">
    SELECT Status
    FROM Items
    WHERE Reviewer = '#Reviewer#'
    </cfquery>
    <cfset all = getallitems.recordcount>
    <cfset percent = (open / all) * 100>
    #getreviewers.DR_Item_Reviewer#, #open#, #all#,
    #Round(percent)#%
    </cfoutput>
    That worked great, but as you can see I had to nest a couple
    of queries inside a <cfoutput>. I don't know how to
    incorporate this into the report builder, as it seems you can only
    specify a single query. Another thing that occurs to me is perhaps
    I'm going about this the wrong way. Is there perhaps a function
    that will display things the way I want them without fussing with
    multiple queries? Any help would be greatly appreciated. Thanks in
    advance.

    It seems like you are trying to do a subreport. You can nest
    reports within the report feature...just check out the subreport
    feature under the help section. If that doesn't help let me
    know.

  • Report with Multiple queries too slow in BI Publisher 11g

    Hi, I have a report in 11g where i need to create multiple queries to show them in report. I tried to combine everything in one query, but i found that the query is too huge and hard to understand and maintain. I created 3 data sets and linked them together. In SQL dev, the main query is returning about 315 records and first detail query returns less than 100 records and second detail query is returning one record which is BLOB. Each query returns data within a couple of seconds from SQL Developer. The entire report from BI Publisher should be just 21 page PDF output. Did anyone face performance issues while running reports with multiple queries in 11g? I ran reports that have single query which returned 10K pages PDF and never had an issue while everthing is in one query. This is the first time Iam attempting to create multiple queries. Can someone help me understand what i might be doing wrong or missing here. Thank you.

    Isn't there a way for you to do this via a Package/Procedure versus having multiple queries?
    Per the BI Publisher guide,
    Following are recommended guidelines for building data models:
    Reduce the number of data sets or queries in your data model as much as possible. In general, the fewer data sets and queries you have, the faster your data model will run. While multiquery data models are often easier to understand, single-query data models tend to execute more quickly. It is important to understand that in parent-child queries, for every parent, the child query is executed.
    You should only use multiquery data models in the following scenarios:
    To perform functions that the query type, such as a SQL query, does not support directly.
    To support complex views (for example, distributed queries or GROUP BY queries).
    To simulate a view when you do not have or want to use a view.
    Thanks,
    Bipuser

Maybe you are looking for

  • HT204053 how many different apple id's can share the same music / itunes and cloud?

    hello -- i have 120gb music on my itunes shared aound a pc / iphone and 2 x ipads, i have x1 apple id for the phone / pc and a different one ( i think) for one of the ipads. my son on his laptop created his own apple id and libray but shares access t

  • Connecting MacBook Pro to Television

    I've got a 2GHz Intel Core Duo MacBook Pro and I am looking to connect it to my 32' Visio LCD. If I go online the only DVI to HDMI cables do not seem to be compatible with my DVI slot. Will Apple still have some of these older cables in stock in some

  • Problem of credit card...

    Hello everyone! I have a problem; I can not do the update and the download... When I try to Apple store that says that there is a problem! All it because I spend all the money of the credit card for my applications. It's a card credit prepay 'Visa Va

  • Aperture Library to Adobe Lightroom?

    Hello, Does anyone know of a way, or have any ideas, of how to share my Aperture library with Adobe Lightroom? I like both programs for different reasons and was curious if there was a way to at the very least export my Aperture Library in a way that

  • Collect Feedback workflow with pdf documents

    Hi, Is it possible to incorporate collect feedback workflow with pdf documents ? Thanks techie