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.
Hello -
I am using an employee's tenure in months to set targets for efficiency.
3 efficiency measures are being calculated, and there are different targets for each. Let's call them: Efficiency Measure 1, Efficiency Measure 2, and Efficiency Measure 3
I created the following table in Power BI to avoid endless IF or SWITCH statements to pick up the correct efficiency target. Also makes it easier when things change.. The "No" column is so I can sort correctly when I display the targets in a visual.
No | Range Start | Range End | Tenure Bucket | Efficiency Measure | Efficiency Target |
1 | 0 | 3 | 0-3 Mos | Efficiency Measure 1 | 0.65 |
2 | 3 | 6 | 3-6 Mos | Efficiency Measure 1 | 0.75 |
3 | 6 | 12 | 6 mos-1 yr | Efficiency Measure 1 | 0.95 |
4 | 12 | 24 | 1-2 yrs | Efficiency Measure 1 | 1 |
5 | 24 | 36 | 2-3 yrs | Efficiency Measure 1 | 1 |
6 | 36 | 3 yrs + | Efficiency Measure 1 | 1 | |
1 | 0 | 3 | 0-3 Mos | Efficiency Measure 2 | 0.65 |
2 | 3 | 6 | 3-6 Mos | Efficiency Measure 2 | 0.75 |
3 | 6 | 12 | 6 mos-1 yr | Efficiency Measure 2 | 0.95 |
4 | 12 | 24 | 1-2 yrs | Efficiency Measure 2 | 1 |
5 | 24 | 36 | 2-3 yrs | Efficiency Measure 2 | 1 |
6 | 36 | 3 yrs + | Efficiency Measure 2 | 1 | |
1 | 0 | 3 | 0-3 Mos | Efficiency Measure 3 | 0.8 |
2 | 3 | 6 | 3-6 Mos | Efficiency Measure 3 | 0.9 |
3 | 6 | 12 | 6 mos-1 yr | Efficiency Measure 3 | 0.9 |
4 | 12 | 24 | 1-2 yrs | Efficiency Measure 3 | 0.9 |
5 | 24 | 36 | 2-3 yrs | Efficiency Measure 3 | 0.9 |
6 | 36 | 3 yrs + | Efficiency Measure 3 | 0.9 |
If I have a table by date, employee, Line of Business with the tenure in months calcuated for each employee, how do I link to this table to get the correct target - should I use a filter?
Date | Employee ID | Tenure in Months | Line of Business |
1/1/2022 | 123456 | 27 | LOB1 |
1/1/2022 | 345678 | 8 | LOB1 |
For example, if an employee's tenure is 27 months, and I'm looking at Efficiency Measure 1 (which is selected on the page), the target is 1.
Thanks in advance for any help.
Solved! Go to Solution.
You can tackle this with a measure using a combination of CALCULATE with filters and LOOKUPVALUE.
It would look something like
Proud to be a Super User! | |
Awesome. Thank you.
You can tackle this with a measure using a combination of CALCULATE with filters and LOOKUPVALUE.
It would look something like
Proud to be a Super User! | |
User | Count |
---|---|
117 | |
75 | |
62 | |
50 | |
44 |
User | Count |
---|---|
174 | |
125 | |
60 | |
60 | |
57 |