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


Calculated Resource Costs month by month


Calculated Resource Costs month by month

Author
Message
Sol_Web_Solutions
Sol_Web_Solutions
SSC-Enthusiastic
SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)

Group: General Forum Members
Points: 186 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?
Lynn Pettis
Lynn Pettis
SSC-Dedicated
SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)SSC-Dedicated (39K reputation)

Group: General Forum Members
Points: 39912 Visits: 38563
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.

Cool
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)
Sol_Web_Solutions
Sol_Web_Solutions
SSC-Enthusiastic
SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)SSC-Enthusiastic (186 reputation)

Group: General Forum Members
Points: 186 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!
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