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.
Hi All,
I have a scenario similar to "Events in Progress" but the data is at minute level.
Objective: Calculate total Hours worked by Employee
How can I build this in Dax??
My approach was to compare data in "row 1" with data in "row 2" and update the variables in iterator (sumx(tbl, var true_start_time=...,true_end_time=.. Return, ....some_complex_dax.....)
but even this approach fails for the case, where there is a gap in the overlapping time frames; just as in the case in the img.
Shoot your thoughts or point me to resources if there are any that solves this issue.
Hi @krish003,
Based on your information, I'm still a little confused about your logic.
If it is convenient, could you share your data sample and your desired ouput in power bi.
I would appreciate it if you could describe your logic in more details.
Best Regards,
Cherry
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 |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |