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

Calculated Resource Costs month by month Expand / Collapse
Author
Message
Posted Monday, April 22, 2013 3:08 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 14, 2013 9:31 AM
Points: 112, Visits: 168
End goal is >> show month by month breakout of resource costs.

We have resource costs that are displayed via 3 columns:

1. TotalCost

2. Start Date

3. FinishDate

I am working with the time dimension that gives me the 12 months out of the year, so the column headers are showing up, but the costs are the same per month. I don't have the month by month splits yet, which is what I'd like to do.

Is this possible via SSAS?
Post #1445198
Posted Monday, April 22, 2013 3:35 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 10:45 AM
Points: 22,475, Visits: 30,147
Sol_Web_Solutions (4/22/2013)
End goal is >> show month by month breakout of resource costs.

We have resource costs that are displayed via 3 columns:

1. TotalCost

2. Start Date

3. FinishDate

I am working with the time dimension that gives me the 12 months out of the year, so the column headers are showing up, but the costs are the same per month. I don't have the month by month splits yet, which is what I'd like to do.

Is this possible via SSAS?


Should be if the data is loaded in the DW correctly. Hard to say from here, can't see what you see.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1445213
Posted Monday, April 22, 2013 3:38 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 14, 2013 9:31 AM
Points: 112, Visits: 168
Do we need to include a time intelligence on month by month basis?
How can we get the splits of costs into monthly buckets?

Right now, it's the total sum repeated in each month for the entire year.

We are actually pulling data straight from our OLTP database (the query we've written from our Cube datasource view pulls directly from the source OLTP tables for live view to get real time reporting).

The records & 5 columns in the database from left to right for individual workers / resources could be as follows:
1.Resource Bob, 50 hours, Calculated cost of $1500, Start Date 01/01/2013, Finish Date 12/05/2013
2.Resource Dan, 55 hours, Calculated cost of $1600, Start Date 05/05/2013, Finish Date 06/05/2013
3.Resource Joe, 50 hours, Calculated cost of $1500, Start Date 01/20/2013, Finish Date 11/05/2013
4.Resource Sam, 40 hours, Calculated cost of $1500, Start Date 10/01/2013, Finish Date 10/05/2013
5.Resource Tim, 30 hours, Calculated cost of $1500, Start Date 11/01/2013, Finish Date 12/05/2013

What we're trying to do is have columns going across from left to right of the calendar we setup >> October is first, and September is the 12th / last column

Each of the 12 "buckets" or months would then spread the resource costs and time

For instance, Sam would have costs and hours in October, November, and December, but nothing from January - September b/c is start and finish date range is now done starting @ January.

Bob would have nothing in the first several month "buckets" because his start date isn't until May...which is the 7th "bucket" or column since October is our first month of the time period.

Thanks!
Post #1445214
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse