Outer Joins in physical layer

Hello BI people - I'm new in this issue and I need help.
I'd like to do sth like outer join in physical layer between two tables and I can't :(
For example
Table CUSTOMERS and table REGIONS for customers. Table CUSTOMERS has colum: POSTAL_CODE and in table REGIONS I have primary key:POSTAL_CODES. till now everything looks simply PK to FK 1:n relation but sometimes happens that in table customers there are nulls or mistakes in this field (reason: bad written application, dirty data etc)
and when I don't use OUTER JOIN I'll lose some records about customers - I would like to see that records even with cleared region informations. How to do it in BI -use VIEWS ? Can I join two physical tables with outer join?
Thanks for help

Ok. You have to resolve this in the logical layer as wel.
When you click on custumers and then on sources.
What do you see there?
Do you only see one source or 2 sources?
If you see 2 sources, then just delete one and double click on the source that is left over. In here you can join with the other table and choose outer join.
Good luck ;)

Similar Messages

  • How can we achieve the outer join in physical layer

    Hi,
    Can any one can suggest ,how do we handle the outerjoin criteria in obiee.
    thanks
    B.kumar

    Its not advisable as such to use complex join in physical layer......Use physical primary-foreign key relationship join on the tables.
    But looking at your where condition
    where tab1.date between tab2.start_date and tab2.end_dateIt is not possible because you are taking table1 date and giving the table 2 dates for evaluation.
    it should be this way if its primary key relation ship.
    where tab1.date between tab1.start_date and tab1.end_dateIf it is equi-join then you need to write what you have mentioned in your query.
    Cheers,
    KK

  • Join in Physical Layer

    hi all,
    is it possible to give right outer join in physical layer? if so how can we do that? actually Type options is not visible in physical diagram.
    thanks

    No, outer joins are created in the bmm layer.

  • Can we create a multiple joins in physical layer

    Hi,
    I have a requirement that i want to create a multiple joins in physical layer.
    Ex:
    Table a (custid,name,sal) and tableb (custid,ced_id, loc)
    i had requirement that cust id is joining with custid and cedid from table b
    i.e a.custid=b.custid AND
    a.custid=b.ced_id (Note data types are same across all the joins here).
    When am trying to handle it form physical joins, getting an issue that The column'cusid' is used twice.
    Regards,
    Malli

    As Daan said use complex join in physical layer that should work. Just in case its not working then go with 1 join condition physical layer and create foreign key join in BMM layer, this would override join in physical layer.

  • Left outer join in presentation layer

    Could I do left outer join in presentation layer? I have 2 reports. They both have a common column - "Month". The first report have columns - "Month" and "Measure1" and the second report have columns - "Month" and "Measure2". I would like to put them together so the final report would have "Month", "Measure1" and "Measure2".
    Thanks,
    Ted

    Ted,
    It is not clear to me, why you want to do an outer join. If the dimension Month is shared by both "Measure1" and "Measure2", then it will work without any problem (assuming the RPD is configured correctly).
    An outer join comes into play if you need to preserve the dimension records. Let's assume you want to run an analysis like "Show me all months were there was no sales". In plain SQL you would to do a left-outer join between the Month dimension table and the sales fact table. If you want to know how this can be achieved in OBIEE you might want to have a look here [Outer join style report - OBIEE 10g|https://forums.oracle.com/forums/message.jspa?messageID=9805768#9805768]. This should be still valid for OBIEE 11g.
    Best regards,
    Peter

  • Complex join in physical layer

    Hi Experts,
    In which scenarios we will use complex join in physical layer i saw in many blogs that when we are using expressions and other than equality.
    For better under standing can any one post few scenarios on this.
    Regards,
    Rafi

    Hi,
    Always use “Foreign Key” joins, not “Complex Joins” on the Physical Layer
    Refer-http://obiee101.blogspot.com/2011/10/obiee11g-golden-rules-rpd-physical.html
    If your join looks like D_DATE = TRUNC(S_DATETIME) try add a extra column S_DATE in your DWH. Any matching processing done by the BI-server costs time and you often loose the advantage of an index in your DWH.
    For all others relationships other than a Primary Key-Foreign Key Relationships (expression other than equal to perform an equi join), you have to use a complex join otherwise you have to use a foreign key

  • Use of complex join in BMM and Physical Join in Physical layer ?

    Hi All ,
    Why we need to use complex join in BMM layer not the Physical Join ?
    Why we need to use Physical Join in Physical layer not Complex join ?
    thanks in advance

    Hi,
    A physical join is at the physical layer and defines the join between two physical tables.
    Logical joins live at the BMM (logical) layer and define a join between two logical tables.
    The important differentiation is that at the BMM layer you do not tell the OBIEE server how to do the join,
    you just tell it that there is a relationship between these two logical entities.
    when the server comes to this logical join it will use the information in the physical joins and decides how the two logical tables are joined together.
    thanks,
    pramod.

  • How to define join in physical layer between cube and relational table

    Hi
    I have a aggregated data in essbase cube. I want to supplement the information in the cube with data from relational source.
    I read article http://community.altiusconsulting.com/blogs/altiustechblog/archive/2008/10/24/are-essbase-and-oracle-bi-enterprise-edition-obiee-a-match-made-in-heaven.aspx which describes how to do it.
    From this article I gather that I have to define a complex join between the cube imported from essbase to my relational table in physical layer.
    But when I use Join Manager I am only able to define jooin between tables from relation source but not with the imported cube.
    In My case I am trying to join risk dimension in the cube based on risk_type_code (Gen3 member) with risk_type_code in relation table dt_risk_type.
    How can I create this join?
    Regards
    Dhwaj

    Hi
    This has worked the BI server has joined the member from the oracle database to cube. So Now for risk type id defined in the cube I can view the risk type code and risk type name from the relational db.
    But now if I want to find aggregated risk amount against a risk type id it brings back nothing. If I remove the join in the logical model then I get correct values. Is there a way by which I can combine phsical cube with relational model and still get the aggregated values in the cube?
    I have changed the column risk amount to be sum in place of aggr_external both in logical and phsical model.
    Regards,
    Dhwaj

  • OBIEE 11g - complex join in physical layer

    Hi, I need to create a complex join in the physical layer with join criteria like the following:
    fact.fiscal_year = dim.fiscal_year and fact.accounting_period <= dim.accounting_period
    Every time I try to do this, I get the nQSError: 37005 Transaction Update Failed message. Any ideas what is going on?
    Thanks,
    Scott

    Actually, I (finally) got it to work - wow logical joins are a big pain in the butt in 11g. First off, I had to edit the RPD offline, couldn't get it to work (at all) online.
    Next I had to delete the existing joins...there appears to be no way to change an existing FK join into a logical join.
    Next created the logical joins as stated in my original post - but had to fiddle with it for about 15 minutes to get it to work. You can NOT click the two columns on the dim side, two columns on the fact side, and then just edit the default formula (which defaults to have = sign between the expressions) - because it creates a FK join, and then you start getting errors. Instead, I had to build the expression from scratch.
    All in all, 11g has gotten much less flexible and easy to use in this regard.
    Scott

  • Left Outer Join in Logical Layer

    Dear Gurus,
    I have report like this:
    Absent
    3 31
    Month-Name
    Jan 1 2
    Feb
    March
    I use Master Date as dimension and Transactional Absent as fact
    How if I want to show the date (from 1 to 31) even if there's no transaction?
    How to use driving table and join in the business logical?or there is another alternatif?
    Please help
    Regards
    Maria

    Hi,
    If you want to show all the transactions for the month, even if there is no transactions then you need to use the outer joins present in the BMM layer. Left, right and full outer joins according to your requirement. Driving tables are used when the number of the data is low to pick up the table.
    Hope this helped/ answered.
    Regards
    MuRam

  • Left Outer Join in BMM layer

    Hi All,
    while building the RPD we have to use the join as Left outer join for two tables , we added join condition in BMM layer like evey table we have three tabs like General,Column Maooing and Content.
    In General tab we have to sections like map to these tabls and Joins right. In the Join Scetion we add join conditions for two tables as left outer join.
    Now i need to move the first table as second table and wise versa , how i can?? move these two tables
    Thanks for your help.

    Hi User,
    You will have to remove and add the table as there is no option to reorder the tables.
    Rgds,
    Dpka

  • Do we need to give new joins in physical layer

    hi all,
    due to some back ground problem ,we have deleted the existing table in back end and again we have created the table having different columns names with same table name
    let say ,i have deleted table A and it is having columns (no int ,name varchar,...) in the back end... again i have created table A and different columns name(sno number,sname varchar)...
    like this i have created .. and whatever the content is there in old table same data i copied in to new table.
    so... here my question is do we need to again import that table into physical layer and again we need to give joins... or can we make use of existing table ....???
    now i am running the reports with old table .. reports are not coming up... its giving an error....
    is it mandatory to import the table again .. and again i have to do all joins..
    i did few calculations using that dimension ...... so... any other alternative solution for this ... instead of doing joins.. ..
    i have changed the column names in back end... that's it
    here can we make use of catalog manager to change the column name in the reporting side....after changing the columns name in physical layer..
    i don't knw the process of catalog manager.... please can any one send me the link to change the column names in the reporting side .....using catalog manager
    Thanks

    Hi,
    If you have deleted table in database and you have created a new table with same columns and same structure then you should not face any problem. OBIEE will still have that table intact in physical layer.In your case since you have changed the names of columns in database it is creating problems for you because OBIEE query will use names mentioned in physical layer and those columns are no more in database. SO to resolve the issue go to physical layer and change the names of the columns .That should solve the problem.
    Regards,
    Sandeep

  • How to implement SCD and outer join in OBIEE

    Hi Experts,
    1.How we can implement SCD1 and SCD2 in OBIEE.
    2. How to implement outer join..? Can we implement outer join in physical layer.?
    Regards
    Frnds

    1. Better to implement this as a part of data warehouse/ETL. If you insist there is explanation on how to work with SCD's in Administrator in some Oracle University Student Book, I think it's for Siebel Analytics version.
    2. Implement outer joins using complex joins in BMM (type option). It's possible to implement in physical layer only in obiee views (new physical table/table type - select), otherwise not, you cannot specify outer join in the physical layer using complex joins.
    Regards
    Goran
    http://108obiee.blogspot.com

  • Joins in the physical layer

    Hi,
    I have a small doubt:
    Is it possible to to give the Outer joins in the physical layer+ of the RPD.i.e.,left outer join,right outer join and full outer join.
    If yes can you pls provide me any links related to that.
    Thanks,
    Chinna

    Hi,
    No we cannot have outer joins in Physicla layer.
    We can outer joins in BMM layer.
    In BMM layer - complex join can be full inner join or full outer join or whatever your criteria was,but in physical layer - physical join is always an inner join.
    Check this....http://nerdsofobiee.wordpress.com/2010/07/06/obiee-interview-questions/
    http://gerardnico.com/wiki/dat/obiee/physical_layer
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Oct 15, 2010 1:29 AM

  • Outer join issue

    Hi all,
    I have a question regarding to Outer joins. This is my situation:
    Sales (fact table)
    id_company
    id_product
    yearmonth
    units
    dollars
    Products (dimension table)
    id_company
    id_product
    The 2 tables joins by id_company and id_product.
    For a month, I need to get the units and dollars of all the products, if a product is not sold in that month the units and dollars will be zero.
    The following query doesn't retrieve the correct results, because a product that is not sold in a month could be in another.
    select
    p.id_company, p.id_product, sum(s.units), sum(dollars)
    from
    products p, sales s
    where
    p.id_company = s.id_company(+)
    and p.id_product = s.id_product(+)
    and s.yearmonth = 200805
    group by p.id_company, p.id_product
    So this query gives the correct results:
    select
    p.id_company, p.id_product, sum(s.units), sum(dollars)
    from
    products p,
    (select * from sales where yearmonth = 200805) s
    where
    p.id_company = s.id_company(+)
    and p.id_product = s.id_product(+)
    group by p.id_company, p.id_product
    My question is, how can I implement the 2nd query in OBI? Is there an easier way to perform the select without sub-select?
    Thanks in advance.

    You need to bring in the yearmonth from the product table itself for this to work.
    e.g. if you product has 100 rows and you have 10 yearmonths, then your new product table will have 100*10 = 1000 rows. You can achieve this by snowflaking in physical layer (time --> product on 1=1 complex join) . keep the time-fact join in physical layer.
    (If you don't want above, then create a view in db or physical layer with time full outer join product and joinng the resultant view to fact on yearmonth, id_companyand id_product )
    Then bring the yearmonth column in product logical table in the same LTS with outer join specified.
    In answers, use p.id_company, p.id_product, sum(s.units), sum(dollars)where p.yearmonth is filtered.

Maybe you are looking for

  • How can I find ringtones for sale in iTunes? I don't see it as a category anywhere.

    how can I find ringtones for sale in iTunes? I don't see it as a category anywhere.

  • Why can't I download large files on Windows 7 in Bootcamp?

    I am running Bootcamp on a New iMac running Lion. Everything on the Apple side of my partition works brilliantly. I need Windows to run some old programs which are not available to Mac. I successfully loaded Windows 7 on Bootcamp after many attempts

  • Can't drag and drop adresses in mail anymore

    Hello, Since I upgraded to Maverick (OS X 10.9 (13A603)), I can't drag and drop adresses from the adressbook to mail anymore (even Cc or Cci). (I did the last update of Mail) Never had this problem with Lion or Mountain Lion. I've seen in the forums

  • Drawing with carbon (agl) to NSWindow

    I need to update a legacy library so that it can draw to an NSWindow with agl and Carbon. I actually have no problem drawing, the problem is that I am drawing over the window decorations and don't know how not to. Has anyone run into this problem? Th

  • Call Timer + Intro to CTI

    I built a small Cisco IP Phone Service in .NET that simply pulls contacts out of an API for a sales program we use and lets you search and display contacts, and then call them from the Service. I want to extend it so that I can save the info for each