Report using colmns from 2 subject areas

Hi,
I have to buld a report as below
Product      ForecastRevenue(A)       ActualRevenue(B)       Variance
A                200                                      100                           100
B                200                                      200                            0
ForecastRevenue(A) comes from 1 subject area and ActualRevenue(B) comes from another subject area. Using these 2 columns from different subject area I have to create
a calculated column variance which is the difference of two columns. How can I create this report. Any idea?

can be done in two ways;
1. Using Union report
Create a union report with two request.
Request1 -          product               Forecast_Revenue     Actual Revenue
Col expression     "product.name"     "Fact.Revenue"         0
Request2 -          product               Forecast_Revenue     Actual Revenue
Col expression      "product.name"    0                             "Fact.ACTUAL_Revenue"
In the result tab create a pivote report and set the aggregation of fact column as sum.
Add a calculated column and write the expression as
Farecast_Revenue - Actual_Revenue
You are done.
2. Use the advance tab in the report and write a custom SQL to join these two subject area.
eg.
select product, A.forecast_reveneu, B.Forecast_Reveneue, A.forecast_reveneu-B.Forecast_Reveneue
from SA1 A join SA2 B on (A.product=B.PRODUCT)
You are done.
Best of Luck,
Kashi

Similar Messages

  • Error in Dropping columns from Subject Area to selected Columns section

    While Dropping columns from Subject Area to selected Columns section in Analytics nothing is happening.There is no error in the RPD.I am using OBIEE 11g and windows7.I am also getting page error like below:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
    Timestamp: Tue, 4 Sep 2012 08:31:07 UTC
    Message: 'kmsgPickerUIJSCantAddColumns' is undefined
    Line: 1
    Char: 1781
    Code: 0
    URI: http://localhost:7001/analytics/res/b_mozilla/picker.js
    Message: 'kmsgPickerUIJSCantAddColumns' is undefined
    Line: 1
    Char: 1781
    Code: 0
    URI: http://localhost:7001/analytics/res/b_mozilla/picker.js
    Can you guys please help?

    That error usually means it is still mapped, maybe it is used in another interface if you say the mapping has definitely been removed.
    You can expand the datastore > Used In > "As a Target" or "As a Source" or "In a Package" - that should tell you if it being used anywhere else.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Report using Data from different tables

    Hello,
    I am trying to convert a Cobol batch program to Oracle 6i tabular report.
    The data is fetched from many different tables and there are lots of processing(i.e, based on the value of a column from one table need additional processing from different tables) required to generate the desired columns in the final report.
    I would like to know what is the best strategy to follow in Oracle Reports 6i. I heard that CREATE GLOBAL TEMPORARY TABLE is an option. ( or REF CURSOR ?) I do not know much about its usage. Can somebody guide me about this or any other better way to achieve the result.
    Thank you in advance
    Priya

    Hello,
    There are many, many options available to you, each of which has advantages and disadvantages. This is why it is difficult to answer "what is best?" without alot more details about your specific circumstances.
    In general, you're going to be writing PL/SQL to do any conditional logic that cannot be expressed as pure SQL. It can executed in the database, or it can executed within Reports itself. And most reports developers do some of both.
    As a general rule, you want to send only the data you need from the database to the report. This means you want to do as much filtering and aggregating of the data as is readily possible within the database. If this cannot be expressed as plain SQL queries, then you'll want to create a stored procedures to help do this work.
    Generally, the PL/SQL you create for executing within the report should be focused on control of the formatting, such as controlling whether a field is visible, or controlling display attributes for conditional formatting.
    But these are not hard and fast rules. In some cases, it is difficult to get all the stored procedures you might like installed into the database. Perhaps the dba is reluctant to let you install that many stored procedures. Perhaps there are restrictions when and how often updates can be made to stored procedures in a production database, which makes it difficult to incrementally adjust your reports based on user feedback. Or perhaps there are restrictions for how long queries are allowed to run.
    So, Reports offers lots of options and features to let you do data manipulation operations from within the report data model.
    In any case, Oracle does offer temporary table capabilities. You can populate a temp table by running stored procedures that do queries, calculations and aggregations. And you can define and initiate a dynamic query statement within the database and pass a handle to this query off to the report to execute (ref cursor).
    From the reports side, you can have as many queries as you want in the data model, arranged in any hierarchy via links. You can parameterize and change the queries dynamically using bind variables and lexicals. And you can add calculations, aggregations, and filters.
    Again, most people do data manipulation both in the database and in Reports, using the database for what it excels at, and Reports for what it excels at.
    Hope this helps.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Can we hide the tables and columns from subject areas in the front end

    Hi,
    Is there any way to hide the tables and columns from the subject area in front end.I need to create a report with some tables which the user does not want to see.So after creating the reprot can I hide those tables and columns in the front end

    Hi,
    Your question is not that clear to me...do you want to hide the entire table/column that dont want to show up in the front end then you could do in Presneation Layer in the RPD by going Permissions in the property of that object.
    But if you want to hide the column in the report that can be visible in the subject Area: go to column properties -> Column fomat...thereis Hide option.
    Can you please elaborate your question...what exactly you are looking for...
    --SK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Crystal report using ABAP from SAP ECC6.0 EHP 3.0

    Hi Gurus,
    Can i create crystal report using ABAP in SAP ECC 6.0 EHP 3 . as i am not able to see this link in SPRO.
    IMG > SAP NetWeaver > Application Server > SAP List Viewer > Maintain SAP GUI Specific Settings.
    Kindly guide me urgently.

    http://help.sap.com/saphelp_slc/helpdata/en/27/c9ee1951fc4fb9ac322ac7e6fa7372/content.htm
    If I understood your question correctly.
    Have a look in the link above.
    It is possible to use Crystal Reports from ALV.
    Tammy Powlas also has some good guides on how to do this.
    The ABAP however is not covered that much.
    Best Regards
    Ingrid

  • Can I build report based on 2 subject areas?

    Hi,
    How can I build report or analytics basedon 2 subject areas.
    Example:
    I have opportunity-Products and Activities
    Thanks
    Pallavi

    1. I would suggest you create a Union Report. This could be little confusing
    2. Another way would be to create a dashboard report that would show both

  • How to buld Crystal report using data from Bex query

    Hi,
    I have requirment where the end user wants the query in Crystal.I built a Bex query in Bex query designer.I would like to know how to create crystal report based onthe Bex query.
    Thanks,
    Chandra

    Hi Chandra,
    Here is the docuemnt which explains you in detail about the steps to create Cyrstal Report using BEX Query.
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/004aacbb-4983-2b10-8da7-cdff5dcbb948&overridelayout=true
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Regards
    SIndhu

  • Development of alv tree report using classes from basics

    Hi,
    Need a simple ALV tree report by showing the reason for why we are using the classse so that i can build a ALV report in the same manner.
    i have the data from MARA for given materials and their descriptions.Now in the basiv out put MARA information should come and tree out put for the material description when the user selects the maerial.
    A hot spot should come on the material and if he opts click the material then MM03 out put should come.
    Help me out in this regard
    Regards
    Naren

    Ok, but the importance of ABAP OO, should not be taken from an example ALV tree, but more in general. There are several good  articles on this on SCN. But for example in this particular case (ALV Tree), you should already see the importance as far as object instances and inheritance is concerned. Without much work, you can create an instance of an ALV tree, and all the attributes, methods etc. are there for use. Some of the methods / attributes are inherited from other superclasses.
    There are propably even more things to be mentioned here which emphasizes the importance of ABAP OO in ALV tree, but as far as I'm concerned, this is about it for me.

  • I need help I want to analyze and create reports using data from my firefox history files .

    I am not quite sure where to post this. I had a program for analyzing my firefox history which no longer works due to the change in how firefox stores history data. I am not an sqlite user. Any help will be greatly appreciated.
    I downloaded the sqlite manager addon and it is now installed on my firefox browser. I have tried it out and can make some sense of it. I would like to know how to decode the time/date storage system.

    It uses Unix time, which is the number of seconds that have elapsed since January 1, 1970 00:00 UTC /GMT.
    http://en.wikipedia.org/wiki/Unix_time <br />
    Here is an online converter tool for Unix times. <br />
    http://www.esqsoft.com/javascript_examples/date-to-epoch.htm

  • Historical Reporting With Multiple Subject Areas

    Hi All,
    I am working on to decide the best way to create repository. I do have a requirement from my client that they need to see both Current and Historical Reporting via OBIEE. I am keeping Type 2 SCD. My model consists of about 30 fact tables - each of them represents a business process/event.
    Following are my options:
    1) One Subejct Area to keep current/historical reporting. Here the joins would be based on PK/FK relationships with Effective Start and Effective End dates. There is a flag in all tables to find the most updated record. Users can use the flag to find the most updated record or use Effective Start and Effective End dates to go point in time.
    2) Create two Subject Areas - Current and Historical reporting. Current one will include the flag logic to get the most updated record in RPD
    3) Create multiple Subject Areas for each Fact table and use Combining Multiple Subject Area approach to join Subject Areas. Additionally, create one Subject Area for Historical Reporting (that will have all the tables in one SA)
    I am thinking of going ahead with option 3) This will have Subject Areas for all logical facts (for Current reporting) and one Subject Area for Historical reporting.
    Is this a standard design? Any inputs?

    You should try both Complex folders as well as custom folders and see which gives you better performance. Discoverer SQL optimizations for example apply only on Complex folders and not on simple folders.
    If you define the joins between the two tables, you can still use items from them in your Discoverer report without having to create a complex folder on them.
    And finally, you can always create a view or materialized view and use that MV in your Discoverer query.
    thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI - http://www.oracle.com/bi
    BI - http://www.oracle.com/technology/bi
    Blog - http://blogs.oracle.com/
    BI Blog - http://oraclebi.blogspot.com/

  • Navigate to BI content. Report in different Subject Areas

    I have a requirement where I have to navigate to a detailed level report when I click on the column. When I place the reports in the same subject area it works absolutely fine. But according to the requirement the reports cannot be in the same subject area. So when I click on the column, all the filters on the dashboard prompts pass through the main report in SubArea1 to Detail Report in SubARea2 but the attribute value that clicked on does not pass through as a filter. I see all teh records at a detailed level and not just that attribute's records.
    We are trying to implement 'Navigate to BI content' Action link from one report to another.
    Both these reports are not in the same subject area (Presentation layer) though. How can be make OBIEE pass the appropriate filters to show only the needed subset of data in the second report.
    This is needed for our CL, PL and Agency details report. The dashboard is from one subject area, the detail report is from another subject area. We now want to pass what the user clicked in one to the other. Please note that the dashboard prompts would get passed correctly. It is only the 'attribute' on the left side that would not.

    All the columns whose values you want to pass to the detail report should be prompted in detail report and the column names should be same.
    For example
    If you are clicking on Period.Year column in master report then the detail report should have Period.Year column is prompted.
    Subject Areas may be different but the presentation table name and column name should be different.
    Thanks

  • Report using narrative to filter another report

    I am trying to build a report that will be embedded in the campaign object. I want the report to display the campaign recipients for the campaign record, using detailed inforamtion from the contact record.
    I have built a report that contains the relevant contact data that needs to be displayed.
    I have built a second report that will be embedded in the campaign record that has a column displaying the contact id of the campaign recipients. The report will have a filter for campaign id 'is prompted' but for testing I have hard coded a campaign id with a total of 469 campaign recipients.
    I have included a narrative in the layout. The report correctly displays, however the prompt does not seem to work. All contacts are included in the report, rather than the 469 contacts limited by the campaign ID filter.
    The narrative I have used is
    <iframe src=https://secure-ausomxxxx.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=%2fusers%2fanqa-djlqt%2fCampaign+Recipient+-ContactInfo&Options=&Action=Navigate&p0=1&p1=eq&p2=Contact.%22Contact+ID%22&p3=@1 frameborder =0 width="100%"></iframe>
    Rows to display is set to 1
    Earlier attempts I included a contact id is prompted filter on the report included in the narrative, however that brings back one value only. I can change the rows to display to 5 for example, however it gives me 5 contacts in separate reports rather than a list report.
    Any help would be great.

    Hello Mel,
    My understanding is that you are trying to display the contact and their details for the particular campaign. Since these details are not available in the Campaign Subject Area you are using the narrative view.
    I would suggest you can use the Contact Subject area to populate the campaign id and campaign name along with the Contact details and embed this report in the Campaign page by prompting the Campaign Id.
    Let me know if this works else please explain the requirement once again and I would be able to help you.
    Regards,
    Paul Swarnapandian

  • Changing date format for some of the date columns in a subject area

    Hi,
    I have a requirement to change the date format for some of the date columns to dd-mon-yyy for only a particular subject area. Is there a feature available in the RPD which can help me do this?
    In Answers - Column Properties for a Particular column of a report, we can save the style and formatting as system wide default for the particular column or the data type, but that applies across subject areas.
    I tried with the config files too , but that too applies to all suject areas.
    Thanks in Advance,
    Gaurav

    Why don't you create 2 logical column derived from same date physical col and then change the format for one logical column and use it in Subject Area ?

  • Swithcing Subject Areas

    Hi Experts,
    I want to use all the reports created for one Subject Area A for another Subject Area B as I am removing Subject Area A from repository. Is there any way to remove rework of creating all the reports again for SA B.
    Thanks
    Meera

    Ummm are you saying Subject Area A and B are basically the same hence you want to re-use the reports? Otherwise how do you expect reports with different attributes to work? If they are the same or similar and the same attributes exist then you should look into "Renaming A Subject Area" so that your reports get migrated to the new SA. Once you done that you can copy them to another installation where you din't rename the SA they they should point to the new SA.

  • How to know dependecies of Subject area

    Hi,
    I have a project in which there are 30 subject areas and thousands of reports, I wonder if it is possible from one subject area to know that analytics reports(or dashborards) are fed(dependencies).
    thanks

    open web catalog manager and select the folder where your reports are stored. Now go to tools>create report and chose Request Subject Area and Request Name.
    this will create a report showing all the reports belonging to corresponding subject area.
    assign points if found useful.

Maybe you are looking for

  • SAP 4.1 SP2 - Dashboards Error in Query Browser

    Hello Experts, I am using SAP Business Objects 4.1 SP2. I am getting attached error while trying to access Universe/Bex query through Query Browser. Please see below the exact steps that I am following - 1. Open SAP Dashboards. Select Query Browser o

  • Help! iCal randomly rearranging To Do's!

    I just upgraded to Leopard last week, and ever since, iCal has been randomly rearranging my To Do's, even though I have the To Do panel set to "sort manually". I've sat here and watched iCal, and every five minutes or so, one of my To Do's will rando

  • KP26 Planned Actvity

    Dear All, Can you let me know what is the use of Planned activity / Capacity in KP26  and also Price(fixed) and Variable,etc and how it influence while executing the transaction( Cost Extimation). How the system makes the calculation. explain with an

  • Invalid URL message

    HI Friends, MSS Issue In Manager Services > Manager Resources > My Inbox is one approval item in this test manager id inbox When I click on item then View Detail however I get an additional window and an invalid URL message Please help me it is high

  • OEL 6.0 and 10gR2

    Just curious if anyone knows if OEL 6.0 and 10gR2 are compatible? From what I can tell OEL is still relatively new and the documentation I'm seeing still says OEL 4 and 5 are compatible, but no word on 6 that I can find. Thanks!