Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

query equivalent to table created based on merged dimensions

$
0
0

Hi,

 

We are migrating webi report to direct database reports. So one of my webi report contains me rged dimensions.

I know the basic behavior of the merged dimensions i.e if u create table using all the merged dimensions then the equivalent query is nothing but full outer join of query1,2

Or if table is created based on dimensions from only on one of the query then we have to use outer join on that partucular query (query 1 left outer join on query2 on dim1=dim2)etc

 

these scenarios are working fine but my requirement is, i have table created based on one merged dimension and one individual query based dimension and measure from both queries

 

sometimes one dimension from 1st query and oen object from the 2nd query

How to achieve this? what is the equivalent query of this requirement


Am attaching the sample data and required output and also the query which i wrote.

Is there any better way to do the same


Viewing all articles
Browse latest Browse all 2878

Trending Articles



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