Forum Discussion

anoomohan's avatar
anoomohan
Helper III
2 years ago
Solved

HR COUNT

HI ALL,

 

I need a simple chart to show the total count of sales staff per month as per below table

 

a- active; in - inactive

so for June - total active is 10, inactive is 2 - in a simple matrix or column chart. 

 

Please help how to do this

 

 

  • i think you are supposed to have an employeeid or name column.

     

    select that column and unpivot other columns in PQ

     

    then create a dim table.

     

     

    pls see the attachemnt below

7 Replies

  • I saw more than 10 As and 1 IN in the first column. Why the total active is 10 and inactive is 2?

    could you pls elaborate this?

    What's more , could you pls paste the sample data here(not the screenshot)?

     

    • anoomohan's avatar
      anoomohan
      Helper III

      active is who are still working, inactive - staff who left 

       

      Jun-23Jul-23Aug-23Sep-23Oct-23Nov-23Dec-23Jan-24Feb-24Mar-24Apr-24May-24Jun-24
      AAAAAAAAAAAAA
      AAAAAAAAAAAAA
      AAAAAAAAAAAAA
      AAAAAAAAAAAAA
      AAAAAAAAAAAAA
      AAAAAAAAAAAAA
      AAAAAAAAAAAAA
      AAAAAAAAAAAAA
      ININININININININAAAAA
      AAAAAAAAAAAAA
      • ryan_mayu's avatar
        ryan_mayu
        Super User

        same question, how to get 10 for active and 2 for inactive in Jun?