Forum

Measure to calculat...
 
Notifications
Clear all

Measure to calculate employee turnover

4 Posts
2 Users
0 Reactions
293 Views
(@shellsyt)
Posts: 7
Active Member
Topic starter
 

Hello

I am currently using power pivot for calculate employee turnover.  I currently have the employee calculations for each month in a separate worksheet, however I would like to add to the pivot table.  I have tried to work out the measure that I would need to add for this to happen each month. 

The current calculation that I am using is Terminated employees/ average(EmpCount, Active Employees Total) as this is quite a big spreadsheet I have attached print screen of the pivot table and the current measures that I have in use. 

I am using excel 365

Your help with this would be greatly appreciated 🙂

 
Posted : 15/11/2023 6:13 am
Riny van Eekelen
(@riny)
Posts: 1195
Member Moderator
 

Could you please upload an Excel file with example data, though with the same structure (table name, column names etc.) 

So much easier to create and test measures with some realistic data.

 
Posted : 15/11/2023 9:19 am
(@shellsyt)
Posts: 7
Active Member
Topic starter
 

Hello

I have created a sample file, hopefully this works for you. 

 

Thank you

Sheralee

 
Posted : 16/11/2023 12:26 am
Riny van Eekelen
(@riny)
Posts: 1195
Member Moderator
 

To avoid connection errors upon a Refresh, I copied the data from your DM to an Excel table and used that one to build a new DM from with measures that do what you ask for. I trust you can apply similar measures to your real data. If not, come back here.

By the way, when working with calculations comparing current periods with previous periods you can add a calendar table to the DM and use many of the built-in time intelligence functions such as PREVIOUSMONTH, PREVIOUSQUARTER and PREVIOURYEAR. In your model, if I understood it correctly, you don't need it is your beginning head count for a month is in the column called 'Current' and closing head count is the 'Active' column.

 
Posted : 16/11/2023 4:03 am
Share: