Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Multiple Fact Table / Calculated Measure Expand / Collapse
Author
Message
Posted Monday, September 30, 2013 8:43 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 9:25 AM
Points: 1,301, Visits: 1,005
Hi
I have the following structure currently a fact With Order details in and multiple dimensions (customer, date, product etc) in a star schema, I now have a requirement to show the cost of the job broken down by the sales person / employees percentage ownership associated with the order there are multiple types of ownership e.g. coordinator, sales person etc and there can be multiple people assigned to each order. I currently have the following design;

---------
---------
Order
---------
OrderPK,
Value
---------
---------

and am looking at the following new table

------------
------------
Order Owner
------------
------------
OrderFK
OwnerTypeFK
OwnerFK
OwnershipPercentage
-------------

and then creating a calculated measure in the cube which will work out the value * ownership percentage to show the value split against each sales person / employee however I am having problems when adding this data in to the cube as it is duplicating the values. I am using SSAS and have set the dimensions as many-to-many where referenced through the other fact table the only shared dimension is the Order dimension (and the employee dimension is referenced by both but this is not shared) can anyone offer any advise on where I may be going wrong? Is it possible to have calculated measures based on different measure groups? Or should I be looking at a different design completely?.
Post #1500041
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse