Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Union Join in BO Universe derived table used in WEBI

$
0
0

 

Hi have a webi report that is using a derived table in the universe which is using currently using two table and union join to connect these tables, Now i am suppose to add the third table but this table has relation with first part used in derived table and do not have relation with the second part used in derived table.

 

my derived table looks like

 

SELECT MEMBER

FROM
(

(Select A.MEMBER,

FROM ABC.MEMBER A                    - - - - - - - - - - - - - -Part 1

etc.......)

 

UNION

 

(SELECT B.MEMBER

FROM BCD.MEMBER B                    - - - - - - - - - - - - - - Part 2

etc.....)
)

GROUP BY

MEMBER

 

 

 

Now the above table is returning me MEMBER

but now i am suppose to add the EXPIRY_DATE in this derived table which should show up as a object in the report.

but this EXPIRY_DATE is coming from the different table which only have relation with the first table so i am unable to use it with union join.

 

 

So any suggestion how to acheive this,

 

 

i am trying it this way but i am getting error because of union join

 

 

 

SELECT MEMBER, EXPIRY_DATE

 

FROM
(

(Select A.MEMBER, C.EXPIRY_DATE

From ABC.MEMBER A                                                   - - - - - - -- - - - Part 1

Inner Join CDE.DATE
on A.TAX=C.TAX
etc.......)

 

 

UNION

(SELECT B.MEMBER

FROM BCD.MEMBER B                                              - - - - - - - - - - - - - Part 2

etc.....)
)

GROUP BY

MEMBER, EXPIRY_DATE

 

this DT.DATE table do not have any relation with second part

 

 

please suggest how to achieve this

 

 

Thank You


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>