Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Multiple Fact Table / Calculated Measure


Multiple Fact Table / Calculated Measure

Author
Message
Nick_UK
Nick_UK
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1465 Visits: 1181
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?.
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