Author Topic: Reporting from a Cube - Rollup Issue  (Read 208 times)

Offline andy_mason_84

  • Senior Member
  • ****
  • Join Date: Feb 2012
  • Posts: 57
  • Forum Citizenship: +0/-0
Reporting from a Cube - Rollup Issue
« on: 27 Feb 2013 04:16:24 am »
Hi All,

OK I have a Category Count Measure in the cube that counts the amount of Employees for example: -

Employees Count in the cube displays as: -
A 1
B 2
C 2
D 15
_____
Total 15

Which is correct there are 15 employees but some of them work for more than one department.

Where as when reporting from the cube in Report Studio just adds up the figures, it seems you can;t do count distincts like you can when reporting straight from the framework. 
A 1
B 2
C 2
D 15
_____
Total 20

Any ideas how to resolve this and get the total to be 15 in report studio.

Offline PaulM

  • Global Moderator
  • Statesman
  • *****
  • Join Date: Jan 2009
  • Posts: 870
  • Forum Citizenship: +125/-1
Re: Reporting from a Cube - Rollup Issue
« Reply #1 on: 27 Feb 2013 06:46:48 am »
The problem is the way you're doing the roll up. My guess is that you're doing something like total([Employee Count] within set [DepartmentLevel]) Try changing that to aggregate([Employee Count] within set [DepartmentLevel]).

Offline andy_mason_84

  • Senior Member
  • ****
  • Join Date: Feb 2012
  • Posts: 57
  • Forum Citizenship: +0/-0
Re: Reporting from a Cube - Rollup Issue
« Reply #2 on: 06 Mar 2013 10:00:17 am »
Fantastic

Thanks.

 



         
Twittear