3 Replies Latest reply: Jun 21, 2011 3:39 PM by John Witherspoon RSS

    Staff Turnover Model

      All,

       

      I have a staff list with essentailly:

      Staff ID

      Staff Name

      Dept

      Date of Joining

      Date of Leaving

       

      I want to be able to track the following:

      Monthly Staff Turnover by Dept (and overall)

      YTD Staff Turnover by Dept (and overall)

      Staff Turnover Rate over Last 12 Months by Dept (and overall)

       

      I also want to be able to track the stability index  which measures how experienced staff are being retained.

      i.e. number of workers with one (or more) year's service divided by the number of workers 1 year ago.

       

      Does anyone have any suggestions of the best way to model this and then how to structure it so that it is easy to count the required headcount.  Has anyone done this before?

       

      Thanks and regards

      Ian

        • Staff Turnover Model

          Thinking about this more, I would be interested in getting your views on the easiest model for holding the data.  I can obviously have the central fact table as listed above, but is this the best format for querying the data?

           

          I assume I would have a date dimension linking to the data . . . but should I be splitting the data?  And then what is the easiest way of querying if an end date falls within a boundary, say May-2011?  I am a little lost here.

           

          Any input would be appreciated.

           

          Cheers

          Ian

            • Re: Staff Turnover Model

              All,

               

              I have posted this simplistic model as I would really appreciate your guidance - there being no immediate help available in Dubai.  I have captured the staff listing and DOJ(oining) and DOL(eaving) and their departments, but I am finding that with this model, all questions that are being asked, need very convoluted calculation steps.

               

              As such, I believe that transform / load steps may be missing something.

               

              Simple questions like department size per month, staff turnover per month, rolling average, staff stability, all need multiple calculated dimensions.

               

              I am sure that I am just seeing this through beginner eyes and am missing the fundamentals.

               

              Please provide your feedback.

               

              Regards

              Ian

                • Re: Staff Turnover Model
                  John Witherspoon

                  Have a look at this thread:

                   

                  http://community.qlik.com/message/122824

                   

                  In particular, have a look at the data model in the example I posted there (reposted below).  There are lots of notes in the script and some on the tab explaining what's going on.  I suspect you'll be able to adapt that data model to your situation fairly readily.

                   

                  I don't actually know the definition of turnover, but if it's a count of hires and fires, just add fire information to my extra table the way I added hire information to it (you probably want either the flag or the fired employee, but not both).  Your breakdowns by department are like my breakdowns by gender.  Department size for a month is a simple count of distinct employees.  Not sure what rolling average you want, or how exactly you're defining staff stability and other things you need.  Still, perhaps with the right data model, you'll be able to figure these things out.