Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Cost per hire

Hello all,

 

I'm a bit new with Power BI and trying some stuff. I want to calculate the cost per hire per recruitmentchannel.

 

The situation: 

I got 1 table with the dates(dimension), 1 table with all new employee (fact) over time with the recruitmentchannel they got recruited and 1 table with the cost of the recruitmentchannel in total(year) per recruitmentchannel (dimension). 

 

DateHired        NewTraineeID    Traineeship Gender    Age    Recruitmentchannel       

01.01.20191474ComplianceMan22LinkedIn 
01.01.20191711ZorgVrouw30Campus Recruitment 
01.04.20191454ComplianceMan25LinkedIn 
01.05.20191179Bank & VerzekeringenVrouw23LinkedIn 
01.06.20191994ComplianceVrouw27LinkedIn 

 

Recruitmentchannel          Cost

LinkedIn61000
Campus Recruitment52800
Website/Google30000
Social Media39000

 

Date                            Year          MonthNr Qtr         MonthName

01-01-201920191Q1Januari
02-01-201920191Q1Januari
03-01-201920191Q1Januari
04-01-201920191Q1Januari

 

Does anyone know how i can calculate the cost per hire per recruitmentchannal in Power BI? And also want to filter a month. The cost can be divided /12, because it's every month the same. Hope anyone understands. 🙂

 

Greetings,

 

Kjell

 

ps. sorry for the bad English

  • So put RecruitmentChannel column from the 2nd table in a visual and then this measure (assuming your 2nd table has a relationship with the 1st table on RecruitmentChannel.

    Measure = MAX('2ndTable'[Cost]) / 12 / COUNTROWS(RELATEDTABLE('1stTable'))

1 Reply

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion
    So put RecruitmentChannel column from the 2nd table in a visual and then this measure (assuming your 2nd table has a relationship with the 1st table on RecruitmentChannel.

    Measure = MAX('2ndTable'[Cost]) / 12 / COUNTROWS(RELATEDTABLE('1stTable'))