Forum Discussion
Help with Turnover Rate Calculation – Keeping Headcount Stable While Filtering
- 1 year ago
Hi snwileu7 ,
Thank you for reaching out to Microsoft Fabric Community.
You can fix this by making your headcount measure ignore filters from the Terminations table while still responding to Employee filters.
Average Headcount =
CALCULATE(
AVERAGEX(VALUES('Date'[MonthYear]), [Monthly Headcount]),
REMOVEFILTERS('Terminations'),
KEEPFILTERS(VALUES('Employees'))
)This keeps the denominator stable while reflecting attributes like career stream or location.
Ensure relationships flow Date --> Employees --> Terminations (single direction).
Your turnover rate = Terminations / Average Headcount will then behave correctly across all filters.
Hi snwileu7 ,
Thank you for reaching out to Microsoft Fabric Community.
You can fix this by making your headcount measure ignore filters from the Terminations table while still responding to Employee filters.
Average Headcount =
CALCULATE(
AVERAGEX(VALUES('Date'[MonthYear]), [Monthly Headcount]),
REMOVEFILTERS('Terminations'),
KEEPFILTERS(VALUES('Employees'))
)
This keeps the denominator stable while reflecting attributes like career stream or location.
Ensure relationships flow Date --> Employees --> Terminations (single direction).
Your turnover rate = Terminations / Average Headcount will then behave correctly across all filters.