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,
I have
- a table with the absences of the agents of my enterprise : start and end dates, number of hours missed
- a table with the contracts of the agents : start and end dates, number of work hours per day
My goal is to have the number of absence days for each absence by retrieving the right contract line (if there is 2 consecutives contracts lines for one absence, we consider only the first).
Example for the tables :
Thank you!
Still nobody to help me? 😞
Frankly, this might not be a easy thing for DAX. You may also consider using SQL script.
How can I do that?
@AnthonyXelya , Are you looking , somthing similar to what I have done here
Thank you for your answer, but no, there is no subjet with continuous dates, but with joining two tables based on the intersection of their dates fields.
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 |
---|---|
44 | |
28 | |
21 | |
12 | |
8 |
User | Count |
---|---|
74 | |
51 | |
45 | |
16 | |
12 |