Staff Cube with Movement Analysis - Feeders & Consolidations
Posted: Wed Jan 30, 2013 2:56 am
Hi All,
I've been working on this Staff Cube thing on & off for some time and I'm almost there!!
Can anyone advise if this possible?
The logic is that the Direct Staff are always either 1 or 0 since this is the true count of actual staff in the business that is paid by our own Payroll department.
Full-Time Equivalents is where we add in all of the Overtime, Contractors, Consultants & Temporary Staff to provide the full picture of the level of resources that we have in the business.
What I need is for the Overtime to roll up properly to the FTE Consolidation & nothing to be displayed for the Direct Staff like so:

The Rule is:
Note: The Code "DB('Biz_Staff_Map',!Period,!Staff,'Local Org Code - OT')" is just pulling the Cost Centre code from a Lookpup table as Overtime is paid in arrears and there are some instances where staff have transferred between Cost Centres between months, so this is making sure the Overtime is recorded in the correct Cost Centre in the report.
Note Note: Overtime is loaded to the GL Account '9905100000-D909005' which rolls up into the FTE Consolidation only.
Thanks,
RJ
I've been working on this Staff Cube thing on & off for some time and I'm almost there!!

Can anyone advise if this possible?
The logic is that the Direct Staff are always either 1 or 0 since this is the true count of actual staff in the business that is paid by our own Payroll department.
Full-Time Equivalents is where we add in all of the Overtime, Contractors, Consultants & Temporary Staff to provide the full picture of the level of resources that we have in the business.
What I need is for the Overtime to roll up properly to the FTE Consolidation & nothing to be displayed for the Direct Staff like so:

The Rule is:
Code: Select all
SKIPCHECK ;
['Overtime'] = N:
If (DB('Biz_Staff',!Version,!SectionCode,!SectionA,!SectionB,!SectionC,!Staff,!Product,!ResponsibilityCentre,'9905100000-D909005',!Period,'EOP','HeadCount')=0, STET,
DB('Biz_Staff',!Version,!SectionCode,!SectionA,!SectionB,!SectionC,!Staff,!Product,DB('Biz_Staff_Map',!Period,!Staff,'Local Org Code - OT'),'9905100000-D909005',!Period,'EOP','HeadCount') ) ;
#----------------------------------------
FEEDERS;
[BalanceType: 'EOP'] => [ BalanceType: 'Overtime'] ;
Note Note: Overtime is loaded to the GL Account '9905100000-D909005' which rolls up into the FTE Consolidation only.
Thanks,
RJ