The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I'm a new user and I saw that you helped a lot of people
Could you please help me out with my problem?
I have an employee database and I would like to have a my visual report showing FTE per month.
On the database, I have start and end date and FTE per employee.
I have created a Table Date.
My current code is the following:
@Anonymous , try with Max
FTE Actual =
CALCULATE(
sum('FTE database'[FTE]),
FILTER(VALUES('FTE database'[Hire Date]),'FTE database'[Hire Date]<=MAX('Table Dates'[Date])),
FILTER(VALUES('FTE database'[Termination Date]),OR('FTE database'[Termination Date]>=Max('Table Dates'[Date]),ISBLANK('FTE database'[Termination Date])))
)
also refer
Hi @amitchandak
Thanks a lot for your help!!
It's working
I miss just the precision when someone starts or ends during the month, it is rounded to 1, while the FTE should be prorated to the working days per month.
If you have something for this, it would be great, otherwise I'll live with it
In excel the formula I used was quite complex.
Regards
Yen
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |