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


SSRS Group Totals - Newbie please help


SSRS Group Totals - Newbie please help

Author
Message
william.rees.howells
william.rees.howells
Valued Member
Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)Valued Member (61 reputation)

Group: General Forum Members
Points: 61 Visits: 280
Hi guys, I am a total newbie when it comes to SSRS and OLAP cubes.

I am building an SSRS report on top of an SSAS cube, which in turn pulls data from a data warehouse.

The original OLTP is structured like this Client -> Projects -> Tasks -> Time logged on tasks

The data warehouse is used to track time logged by developers on tasks. I have a star schema with a timesheet fact table. The timesheet fact table has dimensions client, projects, tasks. Simple enough.

Here comes the SSRS part. My measure is time logged. I am then grouping in my report by dimensions client -> child group project -> child group tasks. So grouping three levels deep here.

The tricky part is that the bottom group tasks have a property called Max Effort. This is the time that the task should take. Basically what I want to do is in the tasks parent group (project group), sum the max efforts for the tasks in that project.

So for example if a project has three tasks at an hour max effort each, the sum in the project group should show 3 hours. The problem is that if I run this sum in the project group I get a ridiculous amount of hours because it is basically summing more than 3 rows. I believe that because in my projects group it will be summing non distinct values, basically meaning that it is summing multiple timesheet rows with the same max effort for the task.

I would be so happy if somebody could help me, I've been pulling my hair out all day trying to figure out how to sum just on the 3 distinct values.
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