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.

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.

  • Creating filtered view on the physical layer ussing session variable USER

    Hi:
    I´m creating a view on the physical layer, the view needs to be created dynamically. So depending on the user (using the session variable USER) the view is created with the data a particular user is able to see.
    Fisrt I imported the table and changed it´s properties to be created through a "Select Statement" so i don´t needed to change the mapping on the bussiness model layer.
    The consistency check was OK but i´m not able to see data in answers, even using the Administrator user. Have anyone tried to do this? Here is my query.
    Thanks
    A Garcia
    Select * from D_ESTRUCTURA_RH2 where Region_ID
    IN
    select distinct a.REGION_ID from APP_INDPERSONAL_DM.D_ESTRUCTURA_RH2 a
    inner join (
    select distinct b.REGION_ID from APP_INDPERSONAL_DM.D_ESTRUCTURA_RH2 b
    where exists (select 1 from APP_INDPERSONAL_DM.Autorizacion a, usuarios c
    where a.app_id = 1
    and a.usuario_id = c.Usuario_Id
    and UPPER(c.Nombre_Usuario)=UPPER(':USER')
    and a.miembro_id = 'REGION_ID'
    and a.operador = '='
    and (b.REGION_ID = (case when valor = 'Todo' then 0 else valor end) or valor='Todo'))
    ) seguridad
    on
    a. REGION_ID = seguridad.REGION_ID
    )

    whay not use the same filter in the content tab of the logical table source?
    check the physical sql sent to databse using web-admin-manage sessions-view log and see if there is any unexpected behavior. also run the same query in db and see iff you get the results in databse itself.

  • 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 ;)

  • 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

  • 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

  • Can't create a multiple file PDF from PDF forms created in Designer

    Hi
    I want to create a single PDF which combines 6 pdf forms created in Adobe Designer (all as separate pages).
    When I try to create a single PDF from these multiple files using the "Create a PDF from Multiple files" command, my A-3D won't let me do this returning a dialog box saying
    "The file "filename.pdf" is protected. It cannot be used for this command".
    I can't find any properties that control this, either in the original file or in A-3D. Can I overcome this and how?
    Many thanks in anticipation.
    Phil

    Designer-created files aren't really PDF files any more and cannot be
    edited or combined in Acrobat (including Acrobat 3D). You CAN make a
    package of them, however, in Combine Files.
    Aandi Inston

  • HT4798 How can I create/ set multiple Mac IDs if the same Macbook is required to be used by Multiple users?

    Can Anyone let me know if have to alllow multiple users with their own apple ids for the same macbook pro, how do I need to go about it?

    data.
    At least your query seems to get data where MODIFIED_BY IS NULL, doesn't it?
    So if the reccount is>0 there is a reason to inform your employees.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH
    http://www.tmn-systemberatung.de

  • Can you create a multiple page website in Edge Animate?

    Would like to have a home and just one other page for my website. Is this possible in EA? I assumed it would be easy but cant figure how to do it. Thanks

    Please check Re: 2014.1 issue with multiple compositions on page . It also has a sample attached. The reference can also be found @ Adobe Edge Animate CC JavaScript API

  • Can I create a multiple waypoint route in Maps?

    I would like to be able to define my own route in the Maps App instead of picking from one of the 3 offered.  Is there any way that I can force a route to go through a specific location?

    Hi HAMADART and welcome to our community
    I'm a bit fuzzy on what you are looking for.
    If you are asking if you can create a hyperlink from a text
    caption that will open a URL or something, the answer is that you
    can, but not like you think. You would insert a caption and place
    it, then insert a click box object and program it to point to the
    URL. Then place the click box object over where you want your user
    to click.
    If you are asking if you can create a link that forces the
    Closed Captioning to display, first off I'd wonder why a link when
    clicking the CC button is so easy. But if you are asking if there
    is a way to cause Closed Captioning to display without user
    intervention, you need to take a look at fellow Adobe Community
    Expert Paul Dewhurst's site and use one of his widgets.
    Click
    here to visit Paul's site.
    Cheers... Rick

  • How can I create a script to delete all Layer Comps?

    I know this has to be pretty easy but I'm flummoxed on the syntax. Thanks, in advance!

    // 2012, use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    while (myDocument.layerComps.length > 0) {
    myDocument.layerComps[0].remove()

Maybe you are looking for

  • IMPORT is taking Long Time

    Greeting EveryBody... Importing a Dump of a table ,Dump File Size is 2.14 GB, How much time it takes to finish the Import Process using Oracle 10g Release 2(1002000300) on Hp-Unix platform, Many thanks

  • RG registers and PLA registers - Extraction Problem

    Hi, We have updated balances in table J_2IACCBAL for initial entries for RG registers and PLA registers but the same is not available for extraction in J2I5. Could you please advise what the problem is? Regards Santosh Hegde

  • When I click on to a site . . . I get that page plus an empty Firefox page.

    Whenever I use Firefox . . . and, click onto an item to get more information or whatever . . . I always get the page I want but then I get a minimized page which has all the tool bars but is otherwise blank. Now, some times I get a full page which ju

  • Looking for All on one with USB Flash Drive Print/Scan support

    I am looking for an All in One Print/scan/copy. It should support print from USB Flash drive and scan to the same. Thanks

  • Where condition problem in select statement.

    Hi, I am trying to write select statement as below   SELECT objectclas objectid FROM cdhdr INTO CORRESPONDING FIELDS OF TABLE ltab_chgdocu                    WHERE objectclas IN ('STUE' , 'STUE_V')                    AND   ( TCODE eq 'CS01u2019 or tc