Invalid combinations of joins involving outer joins

Hi all, I have the following problem
Scenario: I created 6 custom folders:
Tasks (with measures)
Type
Criticity
Status
Owners
Assignees
The first folder is used to retrieve how many tasks (COUNT(tasks)) have a particular type or status or a combination between them, and the others 5 are dimensions.
I create 6 joins starting always from the dimensions in this way (radio buttons):
Detail item values always exist in master folder (Typical)
Outer join on detail
where the master is always a dimension and the detail is always the custom folder with the measures.
I put the outer join on the custom folder with the measures because I want to show '0' in case I don't have any record on this folder for a specific attribute on a dimension (the join fails).
I saw that if I put the outer join on the master (dimensions), when the join fails I don't see at all the information regarding that particular dimension.
For example
I select 2 folder: Tasks and Assignee
join: Tasks.task_id (+) = Assignee.task_id
Result:
TASK ASSIGNEE
10 Mr. A
20 Mr. B
30 Mr. C
0 Mr. D
Just to make a test, If I change the join on Administrator putting :
Detail item values might not exist in master folder
Outer join on master
...the result is this
TASK ASSIGNEE
10 Mr. A
20 Mr. B
30 Mr. C
...I don't see the last record.
The customer asked to see always the record with task =0 (if exists), so I joined all the custom folders as I expalned above, but when I try to link (on Discoverer Plus) more than two tasks I have the following error:
Invalid combinations of joins involving outer joins
So, my question is this: how can I avoid this error ? Does it exist any trick or another way to link the custom folders (showing always the records with '0' when the join doesn't retrieve nothing ) ?
Thanks in advance
Alex

Well I will take a stab at answering this. The problem is not knowing what is in your custom folders. Also not knowing the specifics on your Discoverer Join definitions. On something like this you may be better going to Oracle support, since they can start a Web Conference and see exactly what you see, and can check out the various possibilities. All we here can do is make guesses, and the guesses could be wrong.
You do have to be careful in your join definitions in Discoverer. You have to pick the correct table as the Master table, and the correct table as the Detail table. Mess that up and you can mess yourself up. So my first though is check your join definition. Sounds like you want assigned to be the master table. Then tasks would be the detail table.
Then you want to pick the option that detail items might not exist in master. Which it looks like you have done.
Then for the other options, Oracle, in my mind, does the opposite of what I would think to pick. If you pick OUTER JOIN ON DETAIL, that will include the Master items with no detail items. So that is what you need to pick.
Looks like you did the OUTER JOIN ON MASTER, which means will include detail items with no master. Since you had a master with no detail, it will not show, and that is why the Mr. D does not show.
I always have to do the help on this because it is opposite of what I would expect - my mind thinks outer join on master should include all masters. Nope, it has to be the outer join on detail to do that.
The master with no detail will probably show a NULL value in the column for the detail, instead of 0. You could convert the null value to display as a 0.
Hope this helps a bit. Just remember that I am guessing/speculating on a possible cause.
John Dickey

Similar Messages

  • Invalid combination of joins

    Hi all
    When a report is executed in discoverer desktop 9i it runs perfectly whereas in 10g desktop it gives 'Invalid combination of joins with different join keys - Query cannot be resolved'.
    Database, EUL are same.
    Can anyone help.
    Prasath.

    FYI.
    Mentioned prob is resolved by selecting Disable fan-trap detection in Advanced tab.
    Prasath.

  • Combine and Join Two Closed Paths With A Straight Path

    Hi,
    I have two closed path and I need to combine or join them with a straight path. When I selected all and right click to join, it did not join. Please refer to my screen shot. Thank you.

    You can't create Y-junctions.
    You can do one of two possbilities:
    Just place the open path wherever you need and leave it there.
    convert all of the shapes with Object > Path > outline stroke and then use the pathfinder functions.

  • BI IP-Characteristic Relationship- invalid combinations are shown

    Dear all,
    we need to create a query ready for input but we need to avoid that the invalid combinations of two characteristic on wors are shown.
    In fact the system presents the inconsistent combination as not editable.
    Could you please suggest how to avoid this?
    Many thanks in advance for help!
    Stefania

    Hi
    the link is ueseful, but I try to explane what we really need.
    We have in the level two chars (ZC1 and ZC2; ZC2 is attribute of ZC1) and here you can see the values
    ZC1               ZC2 
    PREVAI     AI    
    GUASAI     AI    
    PREVBT     BT   
    GUASBT     BT   
    The requiremet is that the user can plan by ZC1 and ZC2, but that he has a total row by ZC2 (not editable).
    That's why I defined a structure on the rows with restrictions for ZC1 and ZC2, according to the master data relationship, and put the structure on the rows.
    I defined a hierarchy for ZC1 where nodes are values of char ZC2 and I set this in the characteristic relationship for the provider. here is the hierarchy.
    AI
        PREVAI
        GUASAI
    BT
        PREVBT
        GUASBT
    The result is that in the best option I see in the query invalid combinations such as BT PREVAI.
    Any suggestion?

  • Invalid combination of Sales org,document type,division

    Hi Gurus,
    I entered sales area in the salles area header but when when i am entering customer it is saying
    "Invalid combination of Sales org,document type,division "
    Can anybody tell the reason of it.

    Ensure that both the material code and customer code are created in the same sales area.  To check this, go to MM02, key in the material code, select any sales view and check in which sales area, the material has been created.  Similarly, go to XD02, key in the customer code and below you can see a tab "Customer sales area".  Click that so that you can see in which sales area, the customer has been created.
    thanks
    G. Lakshmipathi

  • SP2-0714: invalid combination of STARTUP options

    Hi;
    I have oracle 9.2.0.8 db on solaris. I am following one document and it mention below step:
    SQL> conn / as sysdba
    SQL> Shutdown Immediate;
    SQL> Startup upgrade;
    When i run starup upgrade it through:
    SP2-0714: invalid combination of STARTUP options
    I have spfile what is that error ? I could not find anything in metalink

    SQL> Startup upgrade;
    When i run starup upgrade it through:
    SP2-0714: invalid combination of STARTUP optionsIn 9i you have to use startup migrate and there do not available upgrade option.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96530/upgrade.htm#1009472
    Edited by: Chinar on Oct 25, 2010 2:35 AM

  • Invalid leaf record count, keys out of order?

    Yesterday I returned home from a month long trip which I did not bring my 13 inch 2011MacBook Pro on.
    I plugged it in and turned it on, and connected my phone to it so i could retrieve some photos. I looked away and looked back to see the grey  "You must hard shut down your computer" error message. Possibly because i think the phone may have been disconnected without being properly ejected? So i turned it off and then later the next day, when I try to turn it on it is stuck on the white apple loading screen forever. When I startup with Command+R and enter disk utility, it tells me:
    Invalid Leaf record count, keys out of order, volume could not be repaired. When I startup in single user mode and use fsck -fy it tells me the same.
    I got it used less than a year ago. I have some pretty heavy applications like MS Office, Photoshop and a few other adobe applications, and The Sims 3.
    Help!

    When Disk Utility can't repair a hard drive, with an error like that, many buy Disk Warrior to do the repair. You can see an answer on the Disk Warrior site here.
    Or, if you have a system backup, erase the hard drive (I would probably do a secure erase and write zero's to the hard drive) and restore it.

  • Re: 907 Invalid COD Local connection timed out after ~ 120000

    I tried to download facebook, it just said “907 Invalid COD
    Local connection timed out after ~ 120000”
    I really need it with all of my heart, can anyone pls help me out?????

    its a network issue most likely.
    feel free to press the like button on the right side to thank the user that helped you.
    please mark posts as solved if you found a solution.
    @SimonHain on twitter

  • Combine Paths - Join = problem  HELP!!!

    Hi all
    When I join 2 or more rectangles it seems to enlarge the
    rectangles after joining. Why does it do this and how can i stop
    this from happening.
    I've included before and after pictures for examples.
    Anyone can help before I pull more of my hair out.???
    Many thanks
    Johnny
    BEFORE -
    http://img74.imageshack.us/my.php?image=example1fu1.jpg
    AFTER -
    http://img230.imageshack.us/my.php?image=example2tr4.jpg

    What is happening there is not really clear. You need to post
    some
    fireworks PNG files from before and after. Please don't use
    imageshack to
    do so.
    Tony
    "zenmasterjohnny" <[email protected]> wrote
    in message
    news:eh3kr0$ib3$[email protected]..
    > Hi all
    >
    > When I join 2 or more rectangles it seems to enlarge the
    rectangles after
    > joining. Why does it do this and how can i stop this
    from happening.
    >
    > I've included before and after pictures for examples.
    >
    > Anyone can help before I pull more of my hair out.???
    >
    > Many thanks
    >
    >
    > Johnny
    >
    > BEFORE -
    http://img74.imageshack.us/my.php?image=example1fu1.jpg
    > AFTER -
    http://img230.imageshack.us/my.php?image=example2tr4.jpg
    >

  • Reasons for Add a combined query being grayed out?

    I want to create a combined query but the option is grayed out. This report is a duplicate of an already existing document. I have checked that all the queries in this document are based on the same universe. Are there any other reasons that this may be the case? I have tried creating a document from scratch and the option to combine the queries is available to me.

    Do you perhaps have "scope of analysis" set on the data provider? You can check by counting the number of objects visible on the query panel and then open the SQL and see how many select values there are. I have seen cases where the scope of analysis (which adds extra dimensions to the query in an invisible fashion) interferes with the combine queries option.
    Note that normally you can check the scope by clicking the appropriate button on the query panel toolbar and invoking the scope panel. However, I have seen some cases where objects are in the SQL even without showing up on the scope panel... it's worth a check.

  • Combining multiple libraries with out duplicates

    Greetings
    I have 3 libraries -
    one on my laptop
    one on my 1tb external
    one on my wife's machine -
    I just put a 500GB drive in my laptop and would like to combine all three of these
    WITHOUT duplicating the files that exist in more than one location -
    is there any way to do this?
    thanks
    jamie

    sorry posted in wrong forum

  • Mono audio combined with lightning line out audio issue

    Hello, there! I am a single-side hearing person, so to enjoy musics mono audio is important to me. Since I use iPod touch 5 and ios 7, and connected it to a dac or amp through its lightning line out, I hear crackling sound, especially in the mids or vocals. The crackles are gone when the "mono audio" off. No problem when hearing through the 3.5 jack, w/ "mono audio" on. I do not know whether this issue was exist w/ ios 6, since I updated to ios 7 at once after I bought it. But, w/ my 4th gen touch and ios 6, there was no issue like this at all. So, is there anyone else could confirm this issue? Apple, would you please address this issue in the next u update? Thank you for any attention.

    You are not addressing Apple here. We are all just users like yourself. To tell Apple go here:
    Apple - iPod touch - Feedback
    I would make an appointment at the Genius Bar of an Apple store and discuss it with them
      Apple Retail Store - Genius Bar

  • Is there a button combination that will wipe out all phone data

    I'll be turning in my iPhone 4  to Verizon to obtain the $200 credit against an iPhone 6. What is the recommended way to wipe out all my personal data that is currently on the phone?
    Mark

    Go to settings>general> reset > erase all content and settings.
    there is also an article from apple:
    What to do before selling or giving away your iPhone, iPad, or iPod touch

  • Drill across (joining facts) using Discoverer

    Hi,
    I've read a few books and article on DW talking about drilling across. It seems a good idea to build multiple star schemas with "conforming" dimensions and then join fact tables (drill across) when needed.
    I have tried this solution, and afer a few tests, got to the conclusion that it is preferable to UNION ALL the related facts using a view or a custom folder. Of course this solution is less flexible because we need to find all the required combinations of facts.
    Any comments?

    OK,
    I have 3 dimensions : D1, D2, D3 and 2 facts : F1, F2.
    Dimensions D1, D2 are related to fact F1.
    Dimensions D1, D2, D2 are related to fact F2.
    I want to query on fact F2 based on values of dimensions D1 and D2, and then join F1 to get corresponding measures.
    When running the query I get the following error:
    Invalid combination of joins using different join keys - query cannot be resolved.
    I use Oracle Discoverer 9.0.2.53.12.
    What would be the best way to work around this restriction?

  • Error while building report

    I need to create a report that have 2 columns, which are sum of sales and count of customer (from 2 difference tables).
    where i create a caculation-->COUNT_DISTINCT(customer_id)
    and sum of sales. I hit the below error :-
    "Invalid Combination of joins using different join keys - query cannot be resolved."
    Is there any way to solve the error without using partition? I dont wan to use partition, because I need to create a new calculation when i create a new report.
    Thanx for any suggestion or solution.

    It is do with the fact that you have two different join conditions joining this table. Try disabling the
    "the multiple join path detection option" in Discoverer Plus or Discoverer Desktop.

Maybe you are looking for

  • Spry Menu Bar Positioning Problem in IE

    I have a Dreamweaver-created Spry Menu Bar drop down menu which works perfectly in every browser on my Mac and on my PC . . . EXCEPT Internet Explorer (who woulda thunk it?!!) In all browsers except for IE, the 3 submenu items under "Door Systems" an

  • Why is there no True Duel Monitoring in SG?

    Why dose SG disable the video on my Mac's screen when I enable the video out through my matrox card? Is there something that I am not enabling correctly? It says Duel Screen or SDI output Activated where the image used to be... Why can't the image st

  • IPod Touch stopped detecting Wifi

    Hi, I've had my iPod for a while now and recently it hasn't detected any wifi around the house, or anywhere at all. I've turned it off, reset settings, and restored it. I don't think the problem is my router because I have 3 laptops around the house

  • [SOLVED] Gray box instead of flash in rekonq, konqueror.

    Hi, I've succesfully installed kde 4.5.2 and everything's fine except flash doesnt seem to work. e.g. i get gray box instead of video in youtube, altough sound is playing.: Anyone know whats the problem? in chromium everythings fine. Last edited by s

  • Widget world clock shows incorrect time

    widget world clock shows incorrect time.. how can i fix this?