Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |