In the tutorial of Microsoft - the intermediate table (between the fact
table and the dimension table) has 3 fields Primary Key:
the 2 Fields of the fact table primary key
and 1 field of the dim table PK..
That make sense and thus things are going on also in a relational database.
My question: Is it a must? Always in Many2Many relationship in OLAP the
intermediate table will has a PK combined of the PKs of the two tables
related to it 1:N?
The example in the above mentioned tutorial works fine,
but whe I try to implement it in a different environment where the
intermediate table is not related to the Fact PK - it doesn't work..
Look at this: http://www.sqlbi.com/manytomany.aspx
It is a document dedicated to this feature (it also explores advanced
modeling techniques based on this type of relationship).
Marco Russo
http://www.sqlbi.com
http://sqlblog.com/blogs/marco_russo