SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Referenced dimension via factless fact table


Referenced dimension via factless fact table

Author
Message
nsontag
nsontag
SSC Rookie
SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)

Group: General Forum Members
Points: 29 Visits: 30
Scenario:

I have a fact table called FactProjectTransactions, which is linked related to an employee dimension table in two ways: the first is a direct regular relationship through the EmployeeKey column the FactProjectTransaction table. This represent the employee who made the transaction.

The second relationship - which I'll call ResponsibleEmployee - represents the Employee roles with respect to the associated project. This relationship goes first through another dimension table called DimProject, then through a factless fact table called FactlessProjectResposonsibility, which represents multiple types of project roles.

I'm using BIDS 2012, and so far I have tried defining a relationship between my fact table and ResponsibleEmployee as a many-to-many- relationship. This works, except that whenever i try to filter my project dimension based on the responsible employee attribute, it also filters the fact table directly bade on the responsible employee, so my numbers are erroneously filtered.

It seems like what I need is a combination of a referenced relationship and a many to many relationship, but that doesn't seem to be an option in BIDS.

I don't have edit access to the ETL process that creates the DW (It's a third party product), so my only option to modify the structure of the source DW is to tack on another ETL or used named queries in BIDS.

Any thoughts, ideas or insight would be greatly appreciated!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search