Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi - I would like to calculate the headcount number for the latest actual month and compare it with the same period last year.
I already calculated the latest actual month headcount and it is working fine however when I try to calculate last year I get the following error
Latest FTE is headcount number of latest actual month and is working fine. I add MAX to DateAdd function cause I would like to look at latest available date and go back 1 year.
I already checked the following;
Date columns are linked in Model
I appreciate your support, thanks in advance.
hi @dkotiloglu
In DATEADD function, try to use the date column from the calendar table.
Thanks, tried however same, unfortunately.
hi @dkotiloglu
in your screenshot, it shows the calendar table definition. I meant to change in your PY FTE definition to
PY FTE=CALCULATE([Latest FTE], DATEADD('Calendar'[Date], -1, YEAR))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 10 | |
| 7 | |
| 6 |