Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
i have measure for this avg tenure question is is this the right way on how to AVG this tenure
measure:
AVG Tenure days:=
"AVG " & CALCULATE(FORMAT(AVERAGEX(
VALUES(vw_Employee_Attrition[biometric id]),
CALCULATE(AVERAGE(vw_Employee_Attrition[Active Tenure year]))
),"##.0") & " Years",FILTER(vw_Employee_Attrition,vw_Employee_Attrition[IsActive] = 1))
active tenure year
= DATEDIFF(vw_Employee_Attrition[Hire Date],TODAY(),YEAR)
thanks.
Are you only looking at the tenure of those who are still employed in the company?, if not, then you would need to identify leavers, and if it is a leaver then calculate date diff not versus today but the exit date and if it is an active headcount then tenure will be calculated the way you did.
yes tenure whos still in the company. thanks.
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.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 10 | |
| 5 | |
| 5 |