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.