Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a dataset which is trended and has employee information from Jan 2021 upto Jan 2023. I have calculated an attrition rate which is total leavers in 12 month period/average headcount in 12 month period. So in my case - Terminations from Feb 2022-Jan 2023/(headcount Feb 2022 + headcount Jan2023/2).
This number calculates correctly however I would like to plot this in a line graph showing month by month how the attrition rate changed. The attrition rate month to month should still show a 12 month attrition rate not monthly attrition (for e.g., 15 % in jan, 14% in feb and so on). How can i do that? I have tried calculating measures in various ways but it doesn't work. Would really appreciate some help with this.
Thank you
in a line graph showing month by month how the attrition rate changed
A line chart may not be a good visual for that unless there is a correlation between those monthly rates.
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.