Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I need to add work seniority (in years) in my dashboard. In this moment, my DIM_EMPLOYEES look like this:
| SRC_ID | DIM_EMPLOYEE_ID | EMPLOYEE_NAME | EMPLOYEE_EMAIL | EMPLOYEE_PROFESSION | EMPLOYMENT_START_DATE | EMPLOYMENT_END_DATE | DATE_FROM | DATE_TO |
| 1234562546125 | 40051 | ANA ANNA | ana.anna@yahoo.ro | Risk Control Specialist | 10/23/2018 | NULL | 10/23/18 12:00 AM | 10/1/20 12:00 AM |
| 1234562546125 | 48257 | ANA ANNA | ana.anna@yahoo.ro | Business Intelligence Specialist | 10/23/2018 | NULL | 10/8/21 11:57 AM | 3/25/22 6:08 AM |
| 1234562546125 | 51124 | ANA ANNA | ana.anna@yahoo.ro | Acting Head of BI | 10/23/2018 | NULL | 3/25/22 6:08 AM | NULL |
How I can add employee seniority?
Is another dimension necessary, because the frequency of recordings increases?
Thanks,
Ana
Yes
Add a new calculated column to the table:
employee seniority = DATEDIFF(DIM_EMPLOYEE[EMPLOYMENT_START_DATE],TODAY(),YEAR)
Kind regards,
José
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂
Check out the April 2026 Power BI update to learn about new features.
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 |
|---|---|
| 40 | |
| 39 | |
| 31 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 30 | |
| 27 | |
| 25 |