cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Rolling Employee Turnover by Fiscal Year

Hi all,

 

I'm trying to create a power bi report that monitors the organisations employee turnover rate. The Turnover calculation I'm using is below.

 

No of Leavers Divided by

 

(Headcount Start of Fiscal Period / Headcount End of Fiscal Period) / 2

 

I've enclosed a spreadsheet with 2 tabs that I hope will explain what I am trying to achieve.

 

Spreadsheet ==> https://drive.google.com/drive/folders/1znTXUDMOk4XminoH17c1Jt0spPnQWodC

 

Tab 1 - The sample of Data

Tab 2 - The desired output.

 

I hope someone can help

 

Thanks in advance.

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I've amended the link to the data and desire output. I hope the link now works.

View solution in original post

5 REPLIES 5
Community Support
Community Support

Hi @Anonymous,

 

I'm not so clear for your table structure to coding formula, can you please share some sample data? (your link seem not works)


Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

Apoligies forgot to set the data sample to share, hopefully the below link will work;

 

https://drive.google.com/drive/folders/14bJJqeIeLiB-jNcyWIcdbpIdDCI92PQI?usp=sharing

 

 

 

Thanks

Anonymous
Not applicable

I've amended the link to the data and desire output. I hope the link now works.

View solution in original post

Hi @Anonymous,

 

Please try to use following dax formulas to achieve your requirement:

Calculate table formula:

Output Summary =
SUMMARIZE (
    Data,
    Data[FiscalMonthFull],
    Data[YearMonth],
    "StartOfMonth", SUM ( Data[HeadcountStartofMonth] ),
    "EndofMonth", SUM ( Data[HeadCountEndofMonth] ),
    "Leavers", SUM ( Data[LeaverinMonth] )
)

Calculate column formula:
Monthly Turnover = DIVIDE([Leavers],([StartOfMonth]+[EndofMonth])/2,-1)

YTD Turnover =
CALCULATE (
    SUM ( 'Output Summary'[Monthly Turnover] ),
    FILTER (
        ALL ( 'Output Summary' ),
        YEAR ( [YearMonth] ) = YEAR ( EARLIER ( [YearMonth] ) )
            && [YearMonth] <= EARLIER ( [YearMonth] )
    )
)

19.png

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Super User IV
Super User IV

I clicked the link and requested access.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
secondImage

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

secondImage

Power BI Women

Join our monthly meetings and learning sessions.

secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors