Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi All,
I am trying to create monthly/Yearly PowerBI attrition. Following is data.
Attrition = Total No of employee left for month/No of average employee for month*100
Number of average employee = no of employee at the start of the month + no of employee at the end of the month/2
The desire output is
Thank you!
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
@Ashish_Mathur The design is intuitive, and the data representation is both insightful and impactful. If you're comfortable sharing, I would love if you could send a copy to my mailbox jrajesh61@gmail.com. It would be incredibly helpful for me to explore it further.
Hi,
It is an old post. I do not have that file now. Share some data, explain the question and show the epected result.
Hi @Chandra_maha ,
I have to do a similar task that you did here. I'm trying to find a PBI temlate re HR attrition. Do you still have this file, so I could use it with my data?
Hi Ashish,
In addition to what you have provided, I am looking to create attrition dashboard which could be filtered by department slicer. How can this be achieved?
Thanks,
Arv
Hi,
Share data in a format that can be pasted in an MS Excel file.
Hi,
Employee Id | Name | Start Date | End Date |
1 | A | 01-Jan-15 | |
2 | B | 01-Jan-15 | |
3 | C | 10-Feb-15 | 31-Dec-15 |
4 | D | 12-Mar-15 | |
5 | E | 15-Apr-15 | 31-May-17 |
6 | F | 15-Apr-15 | 30-Apr-18 |
7 | G | 15-Jun-15 | 31-Oct-15 |
8 | H | 20-Jun-15 | 05-Feb-19 |
9 | I | 20-Sep-15 | 10-Mar-19 |
10 | J | 12-Oct-15 | 30-Sep-16 |
11 | K | 05-Jan-16 | |
12 | L | 05-Feb-16 | |
13 | M | 13-Mar-17 | 31-Mar-17 |
14 | N | 20-Mar-17 | 12-Apr-19 |
15 | O | 20-May-17 | 10-Feb-18 |
16 | P | 10-Jan-18 | 10-Feb-18 |
17 | Q | 20-May-18 | |
18 | R | 20-Mar-19 | |
19 | S | 13-May-19 |
Hi,
You may download my PBI file from here.
Hope this helps.
Hi @Chandra_maha , in the data table there is a date column, may I know from where is it derived?
And, also in the matrix visualization, on left under 2015, month start employees, hired, left, ... how was that built? Can you please help?
Please start a new thread. Explain your question in detail there.
Hello Ashish,
That was the great solution for which I was looking for. Also, I want to undestand, If I want to calulate the Attrition for every previous 06 month then, how can I do that?
In your DAX formula, you have used "Previous month" function to get the value of last month, how that can be done if, I want to take the value of last 06th month
Use the DATESBETWEEN() function.
Thank you for that. Actually I am trying to create graph. As shown below
Blue one - Regular month on month Attrition graph. Which we have created already
Red one (Need to create) - Attrition graph for 6 month.
Example - Suppose I am click June then it will give me the attrition percentage of last 06(Jan to June) month and it will be go on.
Suppose I click on Aug then it be from march to Aug. I am trying to get that. Can you help me on this.
You can consider the same data set.
I may not be able to devote so much time to solving this one. May be someone will help you.
Thank, you have helped me a lot 🙂
Ex -
As you can in above January table - at the start of month No. of employee is 1. This is "no of employee at the start of the month"
And if you add all the employee joined in that month then its 32. This is "No of employee at the end of the month".
Hi, could you please upload the attrition file, so I could use it for my data? Thanks in advance!
Should we add all the employees who joined in January and subtract those who left the company to find the no of employees at the end of the month?
and what if December had about 15 employees joined, Should we consider them for the no of employees at start of the month for Jan?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
102 | |
74 | |
42 | |
39 | |
31 |
User | Count |
---|---|
161 | |
87 | |
64 | |
46 | |
42 |