Hi,
I just want to see if you guys have any better idea than what i'm thinking
I have 2 tables like table1 and table2
Table1 has(Fld1,fld2 are attribute and fld3 as measure)
fld1 fld2 fld3
A B 1
X Y 8
Table2 has(Fld1,fld2,fld4 are attribute and fld5 as measure)
fld1 fld2 fld4 fld5
A B C 2
D E F 3
so i want output as
fld1 fld2 fld3 fld4 fld5
A B 1 c 2
x y 8
D E F 3
Calc View
My approach has been do a union between table1 and table 2 with fld1 fld2 and fld3(with manage mapping coming from table 1 and other value as constant 0 ) and fld5(with manage mapping coming from table2 and other value as constant 0 )
O/P of union
fld1 fld2 fld3 fld5
x y 8
a b 1 2
d e 3
I'm doing an left outer join with union output to table 2 to get fld4 then output will be
fld1 fld2 fld3 fld5 fld4
x y 8
a b 1 2 c
d e 3 f
Please let me know how would you approach this
Thanks