Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello Everybody,
Please I need your help again.
I want to calculate holidays based on four columns.
Data base:
The basic calculation is Vacation demanding (Hours) / Daily target hours for each Name.
Solution in the end:
The problem is that I need the value “Daily target hours” just once and based on the first date, which contains a Value > 0 in the column “Daily target hours”.
Does somebody has a solution for my problem?
I hope I have explained my problems understandable. If not, please ask!
Thanks for your help!
Chris
Hi,
First sum both the hour columns and minus daily hours from vacations. then convert it into days using dax.
Below is the expected result as per my understanding.
please mark if it is correct.
Thanks,
Surya Teja
Hi Chris,
you could use a second table with "name" and "daily target hours" and then put it in a relationship with your first table.
Regards
Peter
User | Count |
---|---|
128 | |
109 | |
100 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |