Combining subject areas: a dimensional challenge

Hi Folks,
I have 2 subject areas: patient occupation and product usage.
Patient occupation: 2 dimensions: department and time.          1 measure: # of patients
Product usage:  3 dimensions: department, time and product.  1 measure: # of products
I want an analysis that shows usage of product per patient. (# of products divided by # of patients)
So I combine those 2 subject areas in my analysis.
I put department, month and product and both measures as columns.
The problem I have is that # of patients is not displayed, which is somehow logical because it is not stored at product level.
Removing the product column gives me good aggregated results, but the information is needed at product.
In other words: how can I achieve that the # of patients measure is displayed as same value across all products for 1 particular department and 1 particular month?
Thanks in advance for your help.
Hans

Hi,
Please refer to the following link. Folllow the design discusees in the article.
Multiple Fact Reporting on (Non-)Conforming dimensions | Oracle BI By Bakboord
Thanks
Venkat
OBIEEDeveloper

Similar Messages

  • Dashboard Prompt to filter multiple Subject Areas (in a Combined Analysis)

    I have a Combined Analysis where I am combining multiple Subject Areas. I want to add this report to a dashboard to use a dashboard prompt to filter by the Year.
    The problem I have is because the 'Year' value in each subject area has a different Column Formula ("Close Date"."Calendar Year" and "- Custom Number/Integer (Custom Object 2)".INDEXED_NUM_0)) I'm unable to have a single 'Year' prompt filter both Column Formulas.
    I have it currently working by creating two dashboard prompts - one for each subject area - that each ask for the Year to filter by.
    Is there a way to have a single prompt for Year and somehow have that filter both subject area's 'Year' value?

    I have tried a bit with no luck.
    In the Dashboard Prompt on that 'Year' filter I set the Presentation Variable to 'FILTER_YEAR'.
    I then set the filter in the report to be Equal to a Presentation Variable with the Variable Expr set to 'FILTER_YEAR'.
    When I run the report and enter the filter year it doesn't bring back any data for that report.
    Anybody have experience using the Presentation Variables?
    Thanks

  • Multiple Subject Areas

    Somewhat new so please forgive me if the question is simple (if it is, please point me in the right direction). I've looked through the documentation and this forum, but have not found what I'm looking for yet.
    I am trying to get a single worksheet to pull data from multiple subject areas (two or more fact tables). I would prefer to not join fact tables together, and so I have not created the joins between the folders (fact tables) because I thought the performance would generally be horrible. (example of functionality I'm looking for: I want to combine Sales and Inventory data on one worksheet).
    I have kind of tried complex folders, but I would prefer to have the tool generate the SQL if possible because it won't just be me creating reports, and if it's possible, I'd like to avoid coding the SQL myself every time I want to join subject areas.
    I also looked at Custom Folders, but my understanding is that they are used primarily to join 1 fact table with multiple dimensional tables, but not multiple fact tables (at least that was the example in the documentation).
    My current setup is a 2 tier environment, with just Disco Admin and Disco Desktop on top of 10g. We don't have AS yet so I can't test anything that way.
    I appreciate any comments in advance.
    Nate

    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/

  • Multiple Facts in single subject area

    Hi everyone,
    Is there an optimal way to get multiple facts into a single subject area? The only way I've managed to get multiple facts into a single subject area is to go the route of creating hierarchies for all dimensions, setting up all the content levels for both the fact and dimension tables and finally creating aggregated measures for all the fact tables. However, when you setup these different hierarchies and content levels, the queries which are generated tend to get fairly nasty and seem to be slow. Another pesky issue is that I've had to create pseudo columns for all facts, so that if a report is using one dimension from FACT A and one dimension from FACT B, then you have to include this pseudo column from both facts so that OBIEE knows which tables are involved in the query. Without including these pseudo columns in the report, the OBIEE engine gets a little confused and puts up an error.
    I'd prefer to find a better way to do the multiple fact implementation without having to have the massive queries and pseudo columns, but I'm not sure what the other options out there are. Anyone know the best way to accomplish this?
    -Joe

    Hi Wildmight,
    You are exactly right.
    Here's an example of what I'm trying to accomplish. We have a TIME SHEET fact table which has things like a work date, an employee ID, a work order number and the hours which were worked. The work orders can be against one or more pieces of equipment. There is a second fact table which models the one to many relationship between work orders and equipment.
    The model would look a little like this:
    Join on WORK ORDER NUMBER Join on WORK ORDER NUMBER
    TIME SHEET FACT <-----------------------------------------------WORK ORDER Dimension ----------------------------------------------> WORK ORDER EQUIPMENT FACT
    We would like to create a report that shows the number of hours from the time sheets fact grouped by the piece of equipment from the work order equipment fact. I've been able to setup this report using the method I described in my first post, but like I said, the generated SQL is massive and seems somewhat unnecessary.
    I think I'd have to say the grains of the facts are different since they providing to different pieces of information.
    I haven't done too much multiple LTS experimentation. I'm working from a single data warehouse source which should be robust enough to handle any reporting requirements. Even though I know OBIEE can do some clever combining of tables using the LTS; if data sets need to be consolidated, I'm trying to keep that work in the database via ETLs in order to keep the work that OBIEE has to do down to a minimum.
    -Joe

  • How to create Analysis from two different subject areas with diff models

    Hello,
    I have problem with create analysis from two different areas with two different models (Model Star and Snowflakes) build in BI Admin tools.
    First Model A = Subject Area A have one fact tables (with measures) and three dimensions tables (Model Star)
    Second Model B = Subject Area B have one fact table (no measures) and five dimensions tables (Model Snowflakes).
    I'm looking solutions how I can give good results. In this case I can't use UNION, INTERSECT etc., because this models haven't the same number column and data type?
    whether it is possible to do in OBIEE?
    Please help me
    Kind regard
    robix

    Hi
    One thing to understand is that if your are imagining having two Subject Areas (SAs) displayed and then dragging columns from each into your Request without any preparation, then no, that can't be done. You would need to do a join in the BMM layer and expose the column from the second Subject Area in the presentation layer.
    But if you indeed interested in UNION (or intersect) queries, then do this:
    Build your first query in the first SA in the usual manner. Note the number of columns and the data types of each column.
    Now at the bottom of the Criteria workspace, there is a button called "Combine with similar request." Click it.
    Select your second SA. You will note that the outlines of the columns in your first query appear. This is to remind you that the number of columns in this second query must be the same as in the first. It also shows the data type of each column for the same reason.
    Once you select your columns and your filters, click on result. (Oh, you will also need to decide what kind of combination you want -- click on the dropdown.) The result will be a new Request that has data from both SAs in the query and combined in the manner you select (union, intersect, etc.)
    That should give you a start.
    http://obiee101.blogspot.in/2010/08/obiee-combine-with-similar-request.html -- Read this link this is good one to understand with screen shots. -- OBIEE 10g
    http://oraclebiee11g.blogspot.in/2011/01/querying-across-multiple-subject-areas.html -- OBIEE 11g
    Award Points it is useful.
    Thanks
    satya

  • How add new column in analysis from two subject area

    which is the right way to add a new column to an existing combined analysis from two subject areas?
    if I add the new column first in my two combined queries, then I saw a new column in the results column panel, but this new column is empty and I can't edit its propreties (the button edit column doesn't work). I can't even save the modified analysis due to a "bad xml" errror.
    if I try to first add a new column from the results panel and then in my combined queries, obiee says that new columns are not of the same type.
    I suppose this is because the new column in results panel has no aggregation formula, unlike new columns in queries.
    But I don't know how to change the properties of the new field in the results panel, with no subject area available.
    I have to restart from a single subject area? possible?
    In this case, there is a way to save/copy filters ecc. from the old analysis?
    If anyone can help.
    Thanks
    Luc

    When you are using union clause in analysis or combining with other subject area you suppose to have same number of columns and their datatypes with other analysis.
    for datatype issues you can use cast in column expression in each analysis. If you want to add a column only from 1 analysis just add and in other analysis use dummy column with exp 0 or ''(for char) based on the datatype.
    These you have to deal with each analysis.
    If helps pls mark

  • Multiple Subject Area - OBIEE 11g

    Hi,
    I have to do cross-subject area operations in OBIEE 11g. Here is what I have found out:
    1. There is an option to use Union/Intersect operations which creates a Union query
    2. There is an option to use 'Add/Remove Subject Area' which can be used to combine Attributes/Facts across multiple Subject Areas.
    I am looking forward more details on second point above but unfortunately there isn't an official document by Oracle on it.
    As I understand, by using 'Add/Remove Subject Area', OBIEE does not create a UNION query but it combines the attributes as if they are used through same Subject Area. So, it is not a typical join as I dont see something like Subject Area 1.Key = Subject Area 2.Key in Query log which brings me to a question:
    Is it possible to use the option to combine attributes across Subject Area based off Multiple BMM in RPD? I think the answer is NO because I don't think there is a way for OBIEE to combine results sets from different BMM.
    Thoughts?

    I am afraid but I am not able to follow your suggestion. I will try to make it very simple:
    1. We create Subject Areas in RPD
    2. Each Subject Area will be based on BMM created in RPD. Now, you can have multiple Subject Areas which are again based on BMM itself.
    3. I can also create multiple BMM within RPD.
    Something like:
    BMM A, Subject Areas - 1A and 2A
    BMM B, Subject Areas - 1B and 2B
    From above, consider you have created two BMM's - A and B and within each BMM there are two Subject Areas. 1A and 2A in BMM A and 1B and 2B in BMM B.
    Now, when I logon to Answers, when I click on New->Analysis, I would see four Subject Areas - 1A, 2A, 1B and 2B. Suppose I select 1A. Now, when I try to use Add/Remove Subject areas option, I can only see 1B (because both of them are from same BMM - A). I won't see 2A and 2B.
    So, this brings me to conclusion that you cannot combine attributes from different BMM using 'Add/Remove Subject Areas'. You can however use UNION/INTERSECT to do the operation but Add/Remove Subject Areas is limited to be used when your Subject areas are connected in the same BMM.
    Is my understanding correct?

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

  • Querying against multiple subject areas

    We would like to write a query against two or more subject areas. Is that possible in OBI EE 10g? Looks like this is a feature available in Business Objects and our users are requesting it. Please suggest how it can be done.

    Hi Nico,
    You are correct, OBIEE 10g will let you use UNION statements in the complex SQL. In fact you can use "Combine with Similar Request" to drive a UNION, UNION ALL and MINUS statement from the Criteria tab without having to go to advanced settings.
    What we were trying to say above was that it doesn't let you JOIN two subject areas together. For example,
    SELECT SUBJECT_AREA1.COLUMN1, SUBJECT_AREA2.COLUMN2
    FROM SUBJECT_AREA1, SUBJECT_AREA2
    WHERE SUBJECT_AREA1.KEY = SUBJECT_AREA2.KEY
    The above just isn't possible.
    One thing you can do that sort of accomplishes it (but it behaves really kludgey) is use the union statement + null/0 place holders + group by statement. This is a pain though. For example:
    1) Your Logical SQL should be something like:
    SELECT SUBJECT_AREA1.COMMON_DIMENSION, SUBJECT_AREA1.MEASURE1, 0 MEASURE2
    FROM SUBJECT_AREA1
    UNION
    SELECT SUBJECT_AREA2.COMMON_DIMENSION, 0 MEASURE1, SUBJECT_AREA2.MEASURE2
    FROM SUBJECT_AREA2
    2) In the criteria tab, create new aggregate columns based on MEASURE1 and MEASURE2 grouped by COMMON_DIMENSION. For example:
    NEW_MEASURE1= SUM(MEASURE1 by COMMON_DIMENSION)
    NEW_MEASURE2=SUM(MEASURE2 by COMMON_DIMENSION)
    ***I think you have to reference the saw name and not the logical name at this point. Hence it may read something like: SUM(saw1 by saw0) and SUM(saw2 by saw0)
    3) Throw the COMMON_DIMENSION, NEW_MEASURE1, NEW_MEASURE2 into a pivot table and you're all set.
    Like I mentioned, it behaves very strangely and is a pain to implement, but it does display the expected results a join would.
    -Joe

  • Cpp error in answers with subject area referencing an essbase Cube

    Hi!
    I'm using obiee 11.1.1.5.0 and essbase cube like subject area.
    I have an error doing a simply report. My report contains three columns:
    First column: Dimension Entity--> This column has 3 different bins so if I edit fx formula I can see different Case statement.
    Second Column: measure (filtered by Scenario=Real)
    Third Column: measure (filtered by Scenario=presentation variable (budget))
    My report not work when I combine a case statement and different measures filtered by different scenarios. If I delete third column my report works but I need two scenarios
    *measure has Sum aggregated in logical layer. (I have tried with default (External Aggr) and doesn't work)
    Maybe I have to activate some option of features of Connection Pool in physical layer?
    Any help??
    thanks!!!

    Hello!
    This is the error that I can see in answers page:
    http://img513.imageshack.us/img513/8479/rq9b.jpg
    I need columns that I typed before: Dimension Entity with Bins / Column filtered by Scenario=Real / Column filtered by Scenario=Budget
    Any help?

  • Column selection from 2 subject area

    Whenever i m selecting column from two subject area then for a perticular column i m getting two values ........ i want only one value which is coming from one subject area as i m having no values for the same in the other subject area......How can i do tht

    When you are using union clause in analysis or combining with other subject area you suppose to have same number of columns and their datatypes with other analysis.
    for datatype issues you can use cast in column expression in each analysis. If you want to add a column only from 1 analysis just add and in other analysis use dummy column with exp 0 or ''(for char) based on the datatype.
    These you have to deal with each analysis.
    If helps pls mark

  • Subtotal in single subject area

    HI Experts,
    i have dim table where i have 5 record like below
    Dim1
    dim2
    dim3
    dim4
    dim5
    for subtotal i am going to split as
    dim1 + dim2 as subtotal 1
    then
    dim3 dim4dim5 as subtoal 2
    now i have already used all records,further if i try to split like
    dim1+dim2+dim3 as subtotal 3 i am not getting last subtotal since i have already used ,this i can do using union,but is it possible to do in single subject area and not combined subject area

    Thanks for reply,
    ok think i have record like this
    dim1 100
    dim2 200
    dim3 300
    dim4 400
    dim5 500
    for subtotal i am going to split as
    dim1 + dim2 as subtotal 1
    then
    dim3 dim4dim5 as subtoal 2
    so my result will be like
    dim1 100
    dim2 200
    subtotal1 300**
    dim3 300
    dim4 400
    dim5 500
    subtoal2 1200 *
    now i need one more subtotal3 like dim1+ dim2+dim3..so my result will be like this
    dim1 100
    dim2 200
    subtotal 1 300**
    dim3 300
    dim4 400
    dim5 500
    subtoal2 1200 *
    subtotal3 600* (dim1+dim2+dim3)
    Note*i have used combined request here,so i cannot use new calculation i belive
    i can use one more combine and do this ,but is it possible to do without additional combine request

  • Doc listing all OBIA RPD Projects and related Subject areas and Presentation tables.

    Hi All,
    Can anyone help with the Oracle document ID which gives the RPD Projects and related Subject areas only and Presentation tables.
    I tried using the documentation utlity but it is unable to give me result according to the RPD Projects.
    Thanks,
    Dev

    It is combination of different activities:
    Product guide, check here cool-bi.com
    RPD documentation based on prod guide.
    There might be a project called Project and try to import rpd contents into another then generate rpd doc.
    if helps mark

  • Google Map Issue in OBIEE - Subject area not getting associated

    Hi Gurus,
    We are trying to integrate Google map and OBIEE via mapviewer. We have done the following already - 
    1. Loaded World Sample data from Navteq.
    2. Configured mapviewer source and added Google map as a tile layer with the API KEY.
    3. Imported one layer (e.g. M_STATES_ABRV) in OBIEE and linked it with BI subject area (tried this step with importing other layers as well)
    4. Added background map.
    Now , in this step when we add the layer in the map, we select M_STATES_ABRV and change zoom levels. But Once we come back to main screen after Clicking OK, we see the background map is not associated with the subject area. Hence any map view report creation with this subject area fails.
    We have the tried the same theme with Oracle Maps (internal type like WORLD  MAP or DEMO MAP), it works fine. only Google Map gives this issue.
    This was not expected. Please suggest what we missed. We tried with cache clear, tile delete and recreation, service restart almost everything .
    We looked into other threads in this community, different oracle support documents - Doc ID 1485088.1,Doc ID 1346805.1 etc  and in different internet blogs -  where it's easy as child's play, but we are still out of luck.
    OBIEE version - 11.1.1.7.140527
    Environment- windows server 2008 R2
    Please suggest.
    Regards,
    Krish

    I have found the solution: You need to *select* zoom levels for the BI Layer.  When a BI Layer is added to a background map, by default no zoom layers are selected.  Once a zoom level is selected, the BI Layer will save.

  • Need Help to develop a Funnel Graph Report using Multiple Subject Areas.

    Hi Everybody,
    Did any body developed Funnel based graph report in Answers..
    Scenario: I need to develop a report which is based on 4 Facts(4 Subject Areas) Report is sectioned with 4 block one blovk with one Fact Metrics like this four blocks.
    If any idea on such scenario it will be huge benefit for me.
    Thanks in advance.
    Thanks,
    Govardhana

    Yes, i can see datatype and number of columns is same in both queries.
    i have challanges to copy message but Error message seems to general. Error says (near to FROM) and I checked there are three FROM in query and all seems to be ok
    Query is something like as below
    select SA1.col1 saw_0,
    SA1.col2 saw_1,
    SA2.col1 saw_2,
    SA2.col2 saw_3,
    FROM
    (select col1 saw_0, col2 saw_1 from "subject area1") SA1
    FULL OUTER JOIN
    (select col1 saw_0, col2 saw_1 from "subject area2") SA2
    ON SA1.col1 = SA2.col1
    I can't see any issue in the query...please comment.

Maybe you are looking for

  • Spry Submenu Not Inline With Vertical Menu in Internet Explorer

    Please could someone help with advice on my website. The spry vertical submenu lines up okay in Safari and Firefox but in Internet Explorer my submenus are shown higher than the the vertical menu item they link to. I have tried changing all that I ca

  • Generate CSR using API method??

    Hi all , I have this piece of code below using JDK 1.3 and BouncyCastel Provider //some other import ... i am using bouncyCastle Provider import javax.crypto.Cipher; import org.bouncycastle.jce.PKCS10CertificationRequest; import org.bouncycastle.asn1

  • Examples of programatic creation of EPN elements

    Hello, I'm looking for examples of how to create things like Channels, CQL Statements, etc programatically, not just statically creating them using the EPN editor in eclipse. For example: I want to have a static processing network that just takes all

  • Want help asap

    So where do i start? Lets see. I am very upset with my iPhone and how there's no support for it. My screen is cracked but that's the least of my problems. I bought the original iPhone when it first came out almost two years ago. I don't know how long

  • How To Replace LOVs With Buttons

    Hi all, can someone please advise if it is possible to replace LOVs with Buttons? Customer has a requirement to replace the LOVs with buttons in Compensation Manager to approve/reject the paysheet. This is for R12.1.3. Many thanks Amanda