Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I have problem finding average employees work experience by position. I have two tables: Employees and Contracts.
Employees table:
EmpID
Name
Surname
Date of employment
Date of dismissal
Contracts table:
EmpID
Position
Department
Dax measure for employees work experience:
Work experience = YEARFRAC(Employees[Date of employment],Employees[Date of dismissal])
Example:
Employee Position Work experience
Emp1 CEO 10,1
Emp2 Administrator 2
Emp3 Administrator 8
Emp4 Administrator 6
Desired DAX measure result (measure will be used in column diagram):
CEO average experience = 10
Administartor average experience = 5.3
Solved! Go to Solution.
@Anonymous , is one of the two measures not working
Average(Employees[Work experience])
AverageX(Employees,YEARFRAC(Employees[Date of employment],Employees[Date of dismissal]))
@Anonymous , is one of the two measures not working
Average(Employees[Work experience])
AverageX(Employees,YEARFRAC(Employees[Date of employment],Employees[Date of dismissal]))