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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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]))
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 25 | |
| 21 | |
| 19 | |
| 16 | |
| 10 |