Report based on two (or more) views

Hi,
Situation is this - I have two views, which have same type and number of rows. My goal is to create a report which has one bind variable (let's say ':query_nr') so, that when :query_nr=1 then report shows data only from the first view, and when :query_nr=2 then only from the second view. I know that the operator UNION ALL
would do the job:
select * from view_1 where :query_nr = 1
UNION ALL
select * from view_2 where :query_nr = 2
but since the amount of data is large, then the execution time is unacceptable.
Is there any other way to approach?
Thanks in advance,
Madis

How does the query perfom from sqlplus. There is no way we can make a query execute faster from a portal report than it does from sqlplus.
There are a few things you can try out like
1. having not too many rows per page
2. using a text format
3. not using condtional formatting

Similar Messages

  • Only static instances of reports based on Universes can be viewed

    I have created a drill down report in Crystal Reports 2008.  The report is based off of a universe.  When I schedule the report to delivery to a user with the Crystal Viewer install, the user gets the following message:
    Universe Report
    Only static instances of reports based on Universes can be viewed.
    In order to view this report it must be either set to a differnt data source or scheduled to be saved with no view-time security on saved data.
    I cannot find the option for scheduling to be saved with no view-time security.  Is that option in CMC, InfoView or Crystal Reports.  Thanks for your help.

    Is the option "Save data with report" enabled (Look under the File menu in CR Designer)?
    Please note that you cannot see live data when viewing the report using the CR viewer.
    Regards,
    Stratos

  • Creating statistics based on two or more fields

    Hi!
    Curious if the functionality of Adobe Forms has the same possibilities with calculating stats based on several fields as one can do with Excel. For example, can I create a SUMPRODUCT formula to find all the replies that meet two or more critieria, and generate a bar graph with the result?

    Hi;
    You can set up formulas in the Response Table in the View Responses tab.  It does not generate a graph but you can add a Summary Report tile (from the Insert menu) for the new column that shows the count (it may be possible to show a bar chart but I only got it to show count). 
    These are the formulas available:
    http://helpx.adobe.com/acrobat-com/formscentral/help/formula-syntax-built-in-functions.htm l
    Here is a brief tutorial - note that you can set up formulas in rows or columns: http://acrobatusers.com/tutorials/how-to-work-with-formulas-in-formscentral
    Thanks,
    Josh

  • Generating a report based on two analytics(for ex:PO and PR)

    I have a question regarding generating reports on two analytics.
    In our scenarios,
    We need to generate a report based on Purchase order and Purchase request.Is it possible in OBIA?
    if yes,please provide the solution.
    Thanks in advance

    Hi ,
    Thanks for your valuable time.
    We are in designing phase of the project. we need to know ,Is there any inbuilt dashboards or reports built using both PO and PR repositories?
    I would like to explain with ex:
    Let's say we need a report or dashboard containing few fields from PO and few fields from PR.Let's assume both PO and PR data available at same granularity.
    Do we have any such inbuilt reports or dashboard?
    If not,could we customize the report generation using both PO and PS tables?
    Please provide the solution.
    Thanks in advance.
    Edited by: user3561029 on Aug 31, 2008 9:03 PM

  • Drill down in report based on two queries

    Hi,
    I have a problem with drilling down in report which is based on two queries.
    Queries are based on different universes.
    Both queries contains almost the same dimensions but different measures.
    In my report is a calculated measure based on measures from both queries.
    In both universes are the same hierachies.
    When I drill down in report for the first time I have to chose hierarchy  but then data are filtered to the choosen  value only from one query , data from second query are not filtered and the values of calculated measure are incorrect
    How can I solve this issue without adding dimensions belonging to the hierarchies to queries.
    Please help.
    Regards.
    MG

    Hi MG,
    First of all, what do you mean by "Both queries contains almost the same dimensions but different measures"
    "Almost" is not a good word in the IT world, especially when trying to merge/join tables. You need to be exact.
    That sounds like a possible reason for the problem.
    I am also not sure about your question:
    "How can I solve this issue without adding dimensions belonging to the hierarchies to queries."
    You may have to add those dimensions to the queries. Why would you not want to?
    Thanks

  • Report based on two fact tables

    Hi,
    i've the same issue, of thread
    report based on 2 different Fact tables I've read reply marked as "CORRECT" but I don't understand what to do precisely. Can you explain better?
    How Can I create an alias?
    What about "If the dimensions are directly linked then mention detailed level else mention the total level which has no direct join b/w fact and dimension... "???
    I hope in your help. Thanks
    Thanks
    Giancarlo

    HI Daan,
    thanks for reply. Can you explain better point number 2?
    I have created an alias for my table (because i use MOLAP approach, i haven't a table but a cube view generated by View Generator Plug-in). Now what i must do with my alias table? Furthermore can you explain better point 2? Finally how i must create complex joins of my new fact table ?
    I am newbye of Administration Tool, so i would need of a visual explanation or of a step by step explanation. Can you give me it?
    I need of your help, because I must finish a project for my customer
    All regards
    Giancarlo
    Edited by: user5380662 on 27-mag-2010 5.07

  • How to find ECC tables/ reports based on which a DB View is created?

    Hi All,
    We have customized data source created based on a View/ Table.   How can i find the ECC tables/ reports based on which this View has been created and also the logic behind which the different fields extract data from ECC..
    Please advice.
    Thanks & Regards
    Sneha

    Hi Sneha,
    The only logic, i guess, that could be used is either defining the join fields or some restriction put in the selection conditions tab of the view. for e.g. if the view should only return Doc type XYZ, the same could be implemented in selection conditions tab. for transaction to check the view, it was already posted above.

  • Reporting based on two currencies

    In my dashboard i am showing the revenue. This is in $. Now user want he want both type of options $ and £.
    It should on him wat he selects and based on his selection the revenue should be shown on the dashboard.
    How to implement this??

    Hi,
    There can be two scenarios.
    Case I : When Symbols are not required in the reporting
    1. Create pre-calculated columns both for $ and £ revenue in your database.
    2. Place your report in Dashboard and create a dashboard prompt displaying symbols.
    3. Create a logical column and write a Case statement, Case when '$' then (pre calculated column for $) else (pre calculated column for £) end
    Case II: When Symbols are required in the reporting
    1. Create pre-calculated columns both for $ and £ revenue in your database.
    2. Create two reports
    a) One having pre calculated column for $ ; data format of column as currency and symbol "$'
    b) Second having pre calculated column for £; data format of column as currency and symbol "United Kingdom...£"
    3. Place your reports in Dashboard and create a dashboard prompt displaying symbols.
    4. Create Guided Navigation to display one report at a time as per selection in the dashboard prompt
    Regards,
    Varun
    Edited by: Varun Malhotra on Mar 5, 2010 4:31 AM

  • Suppressing Details based on two or more formula

    Post Author: rachelcameron
    CA Forum: Formula
    formula = {loan_main.datepurchased} <> {?Date Purchased} AND not ({loan_query.reivname} like "wells") i am suppressing the above fields in details b of a report. however, the report is not acknowledging the 'AND'statement. the report has two details a and b. a is displayed all of the time and b only when it does not meet the above mentioned criteria.

    Post Author: GPMichal
    CA Forum: Formula
    Can any of the values in the "Not" section of the formula be Null or ""?  If so, you may have to address the Null situation along with the "Like" situation.

  • Is it possible to run/create a report based on two databases

    Hi,
    We are in the process of upgrading the system. Half of the data are currently in one database and others are in different. Is there any way I can make changes to my current reports two get data from both of the datasources.
    (Both database has simillar data structure).
    We are using oracle9i database and reports9i.
    Thanks,
    Dean.

    Hi Dean,
    You can use a database link to query from the multiple databases. I do it all of the time.
    Martin

  • Report based on two facts and dimensions

    Hello All,
    I have a report that comes from two facts say F1 and F2. There are certain conformed dimensions, and certain non conformed dimensions.
    Now say Product is a conformed dimension.
    Now these fact tables are at a very detail level and have millions of records.
    I need a report with F1,F2 and product. F1 can have data for certain products and F2 can have certain products. Now to get all the data without dropping any product... I have done outer join. This is causing performance issue. Is there any other way... that I can design to avoid this...
    Also what happens to prompts... if i have product and some other dimensions which are confirmed. It would go to only certain fact... and not pull data when the product doesn't have data for fact F1 and has data for F2. Is there any solutions for this?
    Please help...
    thanks,
    deep

    Hi deep,
    You have did it right way,giving outer join fetches you all records....there is no other way to get this details.
    Let all records be fetched.But take a prompt on product,so when user selects a particular product only the data of that product details are fetched and there wont be any performance issues.
    hope helps you.
    Cheers,
    KK

  • Creating a Form with Report based on View

    Hi All,
    I wanted to create a form with report based on two tables so:
    1. I created a view (called COMBO) based on two tables
    2. I then created a form with report based on the view
    Everything seemed fine thus far until I tried to edit existing records - I got the error:
    ORA-20505: Error in DML: p_rowid=2002082600001172, p_alt_rowid=REPATRIATION_ID, p_rowid2=, p_alt_rowid2=. ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.NB: REPATRIATION_ID is the primary key of the Repatriation table. The other table is Applicant.
    & when I tried to create a new record - I got the error:
    ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.Someone please enlighten me!
    Kind Regards
    Kamo
    Edited by: Kamo on 2009/03/12 2:33 AM

    Hello Kamo,
    You need to create an 'instead of' (update/insert/delete) trigger on your view to process the inserts etc into the 'real' tables.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • WebI report based on Universe upon SAP BEx Queries:Prompt issue

    Hi,
      I am creating Web Intelligence report using Universe based on SAP Bex Queries. In WebI report I created a filter condition as I need to run report based on two specidc dates. I need to schedule report to run 2nd of every month to show data for last month. At present I have the following filter : date between 'Start Date' and 'End Date'. 'Start Date' should always be 'first date of previous month' and End Date be always must be 'Last date of previous Month'. How to do this. The solution I thought would be to create  variables at report/universe level ('first date of previous month' and 'Last date of previous Month') and use in the filter using 'Object from this Query' option.But this 'Object from this Query' option is missing in the prompt.Is there any work around to achieve this.? Could you please help me.
    Nanda Kishore

    Hi all,
    I have a related question too.
    I have 2 queries and need a Combined BEx query written on this for reporting. (WebI)
    In the 2 queries, there is a Field which needs to be restricted.
    But this field should not be restricted in the Combined BEx query.
    So I thought of restricting the Field at the report level. But in this case, the user gets a prompt to enter a value for the field.
    And this is not desirable as per the requirement.
    COuld you please tell me if there is another way of handling this without the user being prompted to enter a value while the report is being run, but still I need selection at the Field level.
    Thanks and Regards,
    Srilakshmi B

  • Is it possible to query an Item with two or more conditions in OOB Update List Item WF Step

    In SharePoint Designer 2010, in Workflows, is it possible to give more then one condition when querying items? Let me explain, it is fairly easy to drop Update item in this list step, and say, for example, Update item with ID X. However, if is it possible
    to do something along this lines with OOB steps, Update an item in this list where Title is Equal to "abc" and Modify date no older then 3 days.
    Update: Workflow is started when the item is added to the list. What I would like is to update some fields on this item depending on information in this item and in external list. For example
    Current Item Field 1 has value "abc"
    Current Item Field 2 has value "123"
    Current Item Field 3 has value "456"
    External List has Item with value in Field 1 "123"
    External List has Item with value in Field 2 "abc"
    External List has Item with value in Field 3 "xyz"
    Update Current Item Field 3 with value "xyz"
    In short I would need following query - Update Current_Item_Field_3 with value from External_List_Field_3 where Field 1 is equal to Current_Item_Field_2 and Field 2 is equal to Current_Item_Field_1

    Hi,
    From your description, I understand you want to update list item with workflow based on two or more conditions.
    To resolve your issue, you need to use “If current item field equals value” condition. Use this condition to compare a field in the current item that the list or reusable list workflow is currently running on to a value. Values can be static text, dynamic
    strings, and lookups to variables, context information, or other SharePoint fields. And you can learn more about each condition by referring to the article:
    https://support.office.com/en-in/article/Workflow-conditions-in-SharePoint-Designer-2010-A-quick-reference-guide-d8e33ac7-9336-487f-a60b-388c4ea497ff?ui=en-US&rs=en-IN&ad=IN
    I assume your External List is called “ListB”, and Current List is called “ListA”, You can follow the steps below:
    1. Add “If current item field equals value" for condition that ListB Field2 equals to ListA Field1, then set the second condition “ListB Field1 equal to ListA Field2” as the “Find the List Item” in the “Lookup for Single line of text”
    as the screenshot below:
    2. Add “Update List Item” as the screenshot below for updating Current_Item_Field_3 with value from External_List_Field_3. In addition, you should set “Find the List Item” in “Lookup for Single line of text” same to the “Find the List Item” in step 1:
    In addition, if you have more conditions, you could add “If current item field equals value” condition, and you should set each “Find the List Item” in “Lookup for Single line of text” same to the “Find the List Item” in step 1.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Error when trying to add sort option to a report based on a view

    Hello,
    I have several reports based on a view. Everytime I am trying to soft them by a column or more, I get this error:
    failed to parse SQL query:
    ORA-00911: invalid character
    If I take the sort out, it works just fine. Any idea how to fix it?
    PS: got it... it was from the ; at the end of my sql...
    Thank you
    Anca
    Message was edited by:
    ancag

    You seem a little grumpy. Yes, it has acurred to me that no one knows the solution. And no, I have not called tech support yet as I have been distracted lately and spending an hour on the phone trouble shooting is an hour I could be studying. Its much easier to "bump" this thread and hope someone with a suggest will chime in.
    Anyway, please dont just tell me to delete something without giving me an idea of what Im deleting. I have a feeling that this login.keychain deletion will cause me to loose the information already stored. Is this the truth?

Maybe you are looking for

  • Swipe doesn't work on my mobile.

    Hi everyone, My swipe on moblie doesn't work. I checked "enable swipe" and still doesn't work. I don't know what's the right link for the phone but here's my link and just type it on your phone: EFS2 Soccer Clinic: Media Maybe I missed something or w

  • Help me with flash player!

    my falsh player does not automatically update for some reason-recently when I have tried to manually update it I have no sucess even though I see a message page from Adobe saying that flash player has successfully been updated it still will not run!

  • A screen for my stomach

    hi, when i use my iBook, it's almost always resting on my chest/stomach while i recline at about a 30 degree angle. i just like to read online articles with some coffee when i get home from work, and i don't have a desk or a table (i have a convertib

  • Error when install Business Object Engage Server

    Dear all, I have some problem when i was install BO Engage server on my Server. How to resolve this error : "The Central Management Server has failed to start. Press 'Retry' to attempt to start it again or 'Cancel' to skip any actions dependent on th

  • Color Selecting Help

    Hey everybody, Ok, so my friend is currently using the Windows version of CS5 (I use Mac, so I can't seem to help him). Basically, he is trying to paint with a brush. However, for some reason when he selects a color by clicking on it in the color pal