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.
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
FROM
(
(Select A.MEMBER, C.EXPIRY_DATE
From ABC.MEMBER A - - - - - - -- - - - Part 1Inner 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