on 10-27-2014 1:24 PM
HI
Scenario:
--> I have 6 fact tables, so created six contexts.
--> All fact tables are having one dimension called -"Ref_Source"
--> We should apply filter on - "Ref_Source" field
Problem:
If I pull data from more than one fact/context [Each fact is having one context] table, the filter should apply for all the context/sql's generated.
But it's not happening in my queries. HOw to achieve this.
Note: if i use one fact table at a time it's working fine but if i try to use multiple facts it's not working.
Filter condition defined in universe:
Ref_Source = @aggregate_aware(fact1.ref_sourece,fact2.ref_sourece,fact3.ref_sourece,fact4.ref_sourece,fact5.ref_sourece,fact6.ref_sourece).
-----------
Note:
Suppose if we try to query from context1 and Context2, sql engine will generate 2 sql's one for each context
Expected:
the query generated should be-
select * from context1 where fact1.ref_source='abc'
select * form context2 where fact2.ref_source='abc'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.