Here's what I'm hoping to acheive:
--------------------------------------------------------------
Department | Name | # Users
---------------------------------------------------------------
Marketing | Jon Williams
---------------------------------------------------------------
| Sally Frued
---------------------------------------------------------------
| Chris Farley
---------------------------------------------------------------
Subtotal | 3
----------------------------------------------------------------
HR | Clark Kent
----------------------------------------------------------------
| Barry Allen
---------------------------------------------------------------
Subtotal | 2
----------------------------------------------------------------
IT | Hal Jordan
----------------------------------------------------------------
| Peter Parker
----------------------------------------------------------------
Subtotal | 2
----------------------------------------------------------------
Sales | Bruce Wayne
----------------------------------------------------------------
| Peter Rasputin
----------------------------------------------------------------
| Marla Evans
----------------------------------------------------------------
Subtotal | 3
----------------------------------------------------------------
Grand Total | 10
-----------------------------------------------------------------
RowCount/PARENTGROUPVAL(RowCount,User.S_Department__c,ROW_GRAND_TOTAL)
There is another row-level formula field (days since last log-in) in this report. However, it is generating a sum (by Department) of this field which I don't want. I think this is potentially complicating things. I would rather sum and sort by this row count by department.
I can't seem to figure out how to make this work. Any ideas, point me in the right direction?
4 件の回答