Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

SSRS Group Totals - Newbie please help Expand / Collapse
Posted Thursday, August 7, 2014 8:04 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Sunday, August 24, 2014 6:58 AM
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.
Post #1600644
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse