We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I would like to check on how to do this.
| Employee | Target | Target Reduction | MTTR |
| Director | 18% | 18.00 | 100 |
| +Senior Manager | 25% | 58.50 | 234 |
| ++Manager | 12% | 68.04 | 567 |
| +++Team Lead | 10% | 43.50 | 435 |
If you click the DIRECTOR, you will get 18%, and when you click down further, you will see their corresponding TARGET %. Plus the target reduction would be the target % * MTTR. This table is developed using MATRIX. Direcotr, Sr Mgr, Mgr, and Team Lead have their own columns in one table. I hope this information is enough for you guys to check on how to do this. I tried doing the isfiltered and switch but I couldn't get that result. Appreciate it!
I used the following sample data and then created two measures using the following DAX expressions:
DynamicTarget =
SWITCH(
TRUE(),
ISFILTERED('EmployeeData'[Team Lead]), MAX('EmployeeData'[Target]),
ISFILTERED('EmployeeData'[Manager]), MAX('EmployeeData'[Target]),
ISFILTERED('EmployeeData'[Senior Manager]), MAX('EmployeeData'[Target]),
ISFILTERED('EmployeeData'[Director]), MAX('EmployeeData'[Target]),
BLANK()
)TargetReduction =
VAR CurrentTarget = [DynamicTarget]
RETURN
IF(
NOT ISBLANK(CurrentTarget),
CurrentTarget * MAX('EmployeeData'[MTTR]),
BLANK()
)
The matrix results are as follows:
If this post helps, then please consider Accept it as the solution and kudos to this post to help the other members find it more quickly
Thank you for this one but based on your example,
John (Director) should have 18% (sample only),
Mary (Sr Mgr), should have 20% while Steve should have 19%
Robert (Mgr), 18%
Alice (team lead) 15%
@rkee10 , First create a measure
Proud to be a Super User! |
|
@bhanu - for the employee, like what I have mentioned, it is coming from different columns.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 40 | |
| 34 | |
| 25 |