Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Statement based on monthslicer

Hi all,    I'm new with Power BI and queries. The situation is as folllowed:   I'm using the following measurement to calculate the cost per hire over a year. CPH = SUM(Recruitmentchannel[cost])...
  • Greg_Deckler's avatar
    6 years ago

    CPH = IF(HASONEVALUE('Table'[Month]),SUM(Recruitmentchannel[cost])/12/Countrows(NewEmployees),SUM(Recruitmentchannel[cost])/Countrows(NewEmployees))