Monday 10 January 2011

querying across multiple subject areas in obiee 11g

One of the best improvements in obiee 11g Answers is the ability to create a query across multiple subject areas.

In 10g you were constrained to the intersect/union/minus operators which made life very difficult if you just wanted a simple report aggregating two measures from different subject areas across a common dimension. These operators are still there in 11g, but we also have a much more user friendly way of querying.

The steps are:

  • Start by creating a normal Answers request in a single subject area.
  •  In the subject areas pane there is an icon with a green plus on it ("Add / Remove Subject Areas")
  • Select the sujbect area/s you're interested in
  • Choose a common dimension from either subject area and measures from the relevant source


 If you add dimensions that are particular to a subject area, then the measure that is not relevant will return  null - the same as in obiee 10g if these facts and dimensiolns were in a single presentation folder.

This new feature should be understood before the planning of the presentation folder layout - it opens up new possibilities for organisation by allowing cleaner more succinct subject areas without compromising functionality.

7 comments:

  1. Thanks for this blog.

    Just to clarify. In 10g, it is already possible to do a join between several subject area.

    Check here:
    http://gerardnico.com/wiki/dat/obiee/multiple_subject_area

    The GUI in 11g (ie answer) is now able to help you in the creation of the logical SQL where in 10g, it's not the case. You have to write it.

    Cheers
    Nico

    ReplyDelete
  2. Great tip, but I have some problems:
    I choose New>Analysis and choose a subject area. Then I would like to add another subject are, but the button
    "Add/Remove subject area" is greyed out(Disabled). What could the causes be?

    ReplyDelete
    Replies
    1. The Add/Remove Subject area button can be activated by using the option 'Create Subject areas for logical Stars and Snowflake schema' which can be accessed by doing Right click on the BMM folder.

      Then OBIEE creates separate subject areas for each star schema and the button is activated in the Presentation Services.

      Thanks
      Sarina

      Delete
  3. I have set filters with common dimensions & have selected common dimensions but I'm not seeing any measure data from the subject area that was added... what am I missing?

    ReplyDelete
  4. I am new to OBIEE and i am using 11g. I am trying to build a querry to get answers from two different subject areas. But i only see my sujbject area under union symbol can some one guide to build one analysis where i can see one measure for each subject areas

    ReplyDelete
  5. Hello, i'm trying combine two subject areas, but de icon "Add / Remove Subject Areas" is disabled in Answers, can you help me? How to enable this option? I searched in OTN but can not find a manual or demo.

    Regards!
    Sergio

    ReplyDelete
  6. Does OBIEE 12C fix this problem?

    ReplyDelete