06-01-2025 06:42 AM
Hello Gurus,
I am working on the following scenario involving four tables:
a | aref |
b | bref |
a | x |
b | y |
Join: Table A.Col1 = Table B.Col1
x | 100 |
y | 200 |
Join:
Table C.Col1 = Table B.Col2
Table D.Col1 = Table B.Col2
I want to generate the following aggregated result set:
aref | 100 |
bref | 200 |
Grouping Dimension: Table A.Col1
Measure Expression:
This approach does not yield the expected result. It either shows a value for a or for b, but not both correctly.
Solved! Go to Solution.
06-02-2025 12:24 AM - edited 06-02-2025 12:25 AM
Hi msinha,
Create a bridge table containing key columns from Table A and Table B. Join these two tables (Table A and Table B) in the bridge table using the appropriate join type based on their relationship(e.g., inner join or left outer join) using MV. This bridge table can then be used to connect to Table A, Table B, Table C, and Table D.
This is one of the possible approach.
Thanks
Venkat
06-02-2025 04:21 AM
Hi Venkat,
I had already implemented the same approach. While it was functioning as expected, I encountered performance issues.
Thanks
MS