Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Aladdin777
Frequent Visitor

Rolling 12 month staff turnover

Aladdin777_1-1689861919362.png

 

Aladdin777_0-1689925571925.png

 

 

Hi I have the table above, where the leavers and total are 2 status types in my column section. Trying to create DAX formula for  staff turover by sum(12 months leavers)/average(12 months total). I know I have to filter by leaver type and total type to get this to work but can't seem to. Yellow column is example of result I want to see. Help appreciated as always.

7 REPLIES 7
Anonymous
Not applicable

Hi @Aladdin777 ,

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Aladdin777_0-1690271286483.png

This is what my data table looks like. I have Type in my columns section of my matrix and HC as my values as per below pic. I want to calculate staff turnover % by sum(12 months [type] leavers)/average (12 months [type] total). Apologies if my query was not clear.

Aladdin777_1-1690271401243.png

 

foodd
Community Champion
Community Champion

Thank you for helping to clarify your request.   However, the screenshot of your data table is of poor quality and not legible.   Would you please add a work-in-progress Power BI Desktop file instead of images?  Also, please add source data in Excel format.

I have a desktop file, not sure how I can share this in this forum

foodd
Community Champion
Community Champion

Just shared the file now, hopefully you can access it.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.