Unix Technical Forum

Time and Expenses

This is a discussion on Time and Expenses within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> We're building a data warehouse to report on consulting revenue (HoursWorked*BillRate) and Expenses. We need to do things like ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 06:42 PM
=?Utf-8?B?U2NvdHQ=?=
 
Posts: n/a
Default Time and Expenses

We're building a data warehouse to report on consulting revenue
(HoursWorked*BillRate) and Expenses. We need to do things like determine
Gross Profit (GP) based on a consultant's loaded rate and by subtracting the
non-reimbursable expenses and costs from the revenue. Should this be one
fact table for both Hours and Expenses or two fact tables, one for Hours and
one for Expenses? Is there a best practice? They seem like different data
to me. I'm a relational database administrator learning the ropes of
dimensional modeling and data warehousing. Using SQL Server 2005 SSIS, SSAS
and SSRS. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 06:42 PM
MC
 
Posts: n/a
Default Re: Time and Expenses

Probably one fact table. It depends on how do you want to implement
Expenses. They dont have Hours attached to them so you would have to put 0
as a value for Hours. If 0 hours is not a problem, dont see why you wouldnt
go with one fact.

If, however, there are different attributes attached to those two objects
(lets call them Payment and Expenses) then you should probably go with two
facts.


MC


"Scott" <Scott@discussions.microsoft.com> wrote in message
news:3C1B54BC-B0E4-4A91-AFDC-85A861296A19@microsoft.com...
> We're building a data warehouse to report on consulting revenue
> (HoursWorked*BillRate) and Expenses. We need to do things like determine
> Gross Profit (GP) based on a consultant's loaded rate and by subtracting
> the
> non-reimbursable expenses and costs from the revenue. Should this be one
> fact table for both Hours and Expenses or two fact tables, one for Hours
> and
> one for Expenses? Is there a best practice? They seem like different
> data
> to me. I'm a relational database administrator learning the ropes of
> dimensional modeling and data warehousing. Using SQL Server 2005 SSIS,
> SSAS
> and SSRS. Thanks.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com