I have 3 fact tables and using in built context creation, i have created three contexts ( all dimension table joined to the fact as one context).
Now i have 3 measures, one each in one fact table which i need to pull in front end.
The measures itself are from three different contexts and the query in the front end gives me the option of selecting only one context.
What can i do? As for a temporary measure, we have dumped all the measures in one fact table itself. Is there any better way to do this ?
Hi Mak,
You should then see joined SQL statements if you are using conformed dimensions in the query
I am new to BOBJ. So, it will be really helpful if you guide me a little.This is what I have done till now -
1)defined cardinalities
2)integrity check - automatic alias creation - made an alias
3) detect contexts - made one context each fact table -(as it is a star schema, it detects all dimensions joined to a fact as context)
4)checked - whether all loops are covered either by alias or context -all loops covered
Now, the requirement is to pull two measures in the report, but unfortunately they reside in different fact tables.
Are you sure you needed this alias? Whats it doing?
Have you put a SQL Aggregation function around your measure?
Sum(YourTableName.YourFieldName)
If its a start schema uncheck generate multiple SQL statements for each measure on the SQL tab, under universe parameters.
If you are using Oracle set the connection parameter Join_by_SQL to Yes.
Build a simple query with conformed Dimensions and both measure.
Basically i am making an alias of date dimension. This dimension is joined to two fact tables
Date key in date dimension joined to two keys (start_date and end_date) present in both FACT TABLES
Is it correct to make two joins on the same fact table ?
AND about the measures… i have kept projection as SUM.
MULTIPLE SQL statements for each measure is UNCHECKED.