Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

How to include a LTS filter as part of an outer join (instead of the Where clause) in OBIEE RPD 11g

Received Response
11
Views
2
Comments
PraveenKumar R-Oracle
PraveenKumar R-Oracle Rank 3 - Community Apprentice

We have and outer join between two tables - let's say TableA and TableB - where TableB currently have a filter in the Content definition in the BMM of the RPD. This filter is negating the outer join, which then behaves as a normal inner join. A SQL statement from this join looks like this:

SELECT * FROM TableA A
LEFT OUTER JOIN TableB B ON B.TableA_Wid = A.Row_Wid
WHERE B.Category = 'ASSESSMENT';

Is there a way to configure TableB, so the filter is part of the outer join instead? We would like a SQL statement from these tables to look like this:

SELECT * FROM TableA A
LEFT OUTER JOIN TableB B ON B.TableA_Wid = A.Row_Wid AND B.Category = 'ASSESSMENT';

Answers

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    The physical join condition must be in the physical layer - not in an LTS filter. That latter one will only ever add a WHERE clause and never change the join condition.

  • Joel Acha
    Joel Acha Rank 8 - Analytics & AI Strategist

    You only specify the join type (inner, left outer join, right outer join or full outer join) in the LTS and the actual join condition is defined in the physical layer.