on 06-16-2014 8:56 AM
I have 3 fact tables and 4 dimension tables in universe. My linking is as below.
All dimension tables have foreign keys in fact tables and one dimension table has foreign key in another dimension table.
Because of loops I have created one context for one fact tables that covers the joins of that fact table with the dimension tables.... so far there is no issue.
My context as:
1st context = 1st fact table
2nd context = 2nd fact table
3rd context= 3rd fact table
Now because one dimension table has foreign key in another dimension table there are loops which I don't require... so what I have done is I have created another context with that dimension table to all other fact tables.. So my join is something like this.
4th context is...
one dimension table --> all 3 fact tables.
because of this context there are no loops in my universe.
Now when I use that universe in webi..and I took one 1st fact table.. I can see the joins of only first context but not the joins of 4th context as 4th context has one join to this table...
I am confused and have no clue how to include join of the 4th context in the webi...
Can experts please help me on this.
I hope I explained clearly.. If I need to provide more info please let me know.
Thanks
siva
Hi,
Try creating alias for that dimension table and you are able to see context on webi once you run the query it will ask for which context you want to use?
Thanks,
Shardendu Pandey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
As best practice you should not create aliases for fact tables.
For 4th context is...
one dimension table --> all 3 fact tables.
so what I have done is I have created another context with that dimension table to all other fact tables.
as suggested by shardendu pandey create
Insted of 4th context ..create three aliases for dimension table and join this tables to 3 fact tables and then include in the
My context as:
1st context = 1st fact table
2nd context = 2nd fact table
3rd context= 3rd fact table
Hi
If you want see the 4th context while running the WebI Q..you need to include 4th context tables related objects into the WebI Q.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In your universe selection have you checked the following option?
go to universe file..>parameterrs...>SQL...>multiple sql statements for each context.
If it is checked then please uncheck it and try.
This will not generate multiple SQl statements and ask you to select the context while running the query
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This context applies when you take 2 measures in same DP.
Measure A from Class 1 and Measure B from Another Context the after unchecking this option it will ask which business scenario you want to go for.
Uncheck the following
1.multiple sql statements for each context.
2.multiple sql statements for each Measure.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.