Forum Discussion

surajde's avatar
surajde
Helper I
2 years ago

custom fields

Hi all, 

 

Need help with all below customer fields that do not have any direct relation with Employee data but it is summary. 
Somehow I'm not able to populate numbers against these fields 

custom fields table created outside using Datatable{} Dax: 

 

raw staffing data. 

 

L4 has common name for all employees but L5 has 5 different managers. they all should appear next the Staffing KPI in individual Columns for each. and numbers should be derived from below table in new datatable. 

 

it should be like below excel version. 

SrNoStaffing KPIL4 ManagerL5 Manager 1 L5 Manager 2L5 Manager 3L5 Manager 4L5 Manager 5
1Total Staff2409845414610
2Senior (Ex Director)1543521
3People Managers      
4Non Managerial      
5Graduate      
6Expat      
7Employee      
8Veterans in same role for 5+ years      
9Same Role/Seniority reporting      
10Managers with LT 5 emps      
11Team Leads with LT 2 emps      
12Gender Diversity - Female population      
13Staff at approved locations (DLS, ATL, Mx, IND, STL)      
14Working from home      
15Customer site      
16Senior Non Manager      

 

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi surajde ,

    I can't understand you correctly. please provide more details with your desired output and pbix file without privacy information (or some sample data).

    How to Get Your Question Answered Quickly 

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

     

     

    • surajde's avatar
      surajde
      Helper I

      Anonymous please share your email so that I can send you sample raw data and expected output in BI using reference tables or calculation from raw data. 

    • surajde's avatar
      surajde
      Helper I

      Anonymous 

      I have created Datatable using below dax for my custom values that are not present in the raw data. 

      Scorecard = DATATABLE("SrNo",INTEGER,"Priority",STRING,"Staffing KPI",STRING,"Type",STRING,"Target",DOUBLE,{
          {1,"","Total Staff","",Blank()},
          {2,"Hiring Cycle","Senior (Ex Director)","LT",0.05},
          {3,"Correction","People Managers","LT",0.2},
          {4,"Correction","Non Managerial","GT",0.75},
          {5,"Hiring cycle","Graduate","GT",0.05},
          {6,"Renewal cycle","Expat","LT",0.02},
          {7,"Hiring cycle","Employee","GT",0.9},
          {8,"Hiring cycle","Contractor","LT",0.9},
          {9,"Correction","Veterans in same role for 5+ years","LT",0.2},
          {10,"Correction","Same Role/Seniority reporting","EQ",0},
          {11,"Correction","Team Leads with LT 2 emps","EQ",0},
          {12,"Correction","Managers with LT 5 emps","EQ",0},
          {13,"Hiring cycle","Gender Diversity - Female population","GT",0.3},
          {14,"Correction","Staff at approved locations (DLS, ATL, Mx, IND, STL)","GT",0.9},
          {15,"Correction","Working from home","LT",0.05},
          {16,"Tracking","Customer site","",0},
          {17,"Tracking","Senior Non Manager","",0}
          })
       
       
      Reference Tables:
      For count of People manager Use below reference. 
       
      Employee Managerial Type
      Manager of Managers
      Manager
      Manager of Org

       

      for Senior Ex Director count use below reference

      RoleEmployee Role Seniority
      Solution Integration & Implementation Line ManagerOne level of Seniority
      Services Business LeaderExperienced
      Program ManagerExperienced
      Technologies Line ManagerOne level of Seniority
      Software Engineering Line ManagerOne level of Seniority
      Service Delivery LeadAdvanced
      Software ArchitectAdvanced

       

      using this I should get count against each L4 or L5 manager as shown in the last image of the original post. 

       

      it should be like below 

      SrNoStaffing KPIL4 ManagerL5 Manager 1 L5 Manager 2L5 Manager 3L5 Manager 4L5 Manager 5
      1Total Staff2409845414610
      2Senior (Ex Director)1543521
      3People Managers351015532
      4Non Managerial      
      5Graduate      
      6Expat      
      7Employee      
      8Veterans in same role for 5+ years      
      9Same Role/Seniority reporting      
      10Managers with LT 5 emps      
      11Team Leads with LT 2 emps      
      12Gender Diversity - Female population      
      13Staff at approved locations (DLS, ATL, Mx, IND, STL)      
      14Working from home      
      15Customer site      
      16Senior Non Manager