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.
My problem is the following. I need to calculate the time difference between the start of an interview, and the end of the previous interview. My idea is to make a calculated column that will show the previous interview end date, and then simply calculate datediff. As you can see from my screenshot, some rows in my calculated column are showing the right data, and some are wrong. What is wrong with my function?
Solved! Go to Solution.
Hi @IvanMislav
Modify with this formula
C = CALCULATE ( MAX ( timediff[end] ), FILTER ( timediff, timediff[index] = EARLIER ( timediff[index] ) - 1 ) )
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @IvanMislav
Modify with this formula
C = CALCULATE ( MAX ( timediff[end] ), FILTER ( timediff, timediff[index] = EARLIER ( timediff[index] ) - 1 ) )
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |