Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
User | Count |
---|---|
102 | |
92 | |
85 | |
78 | |
71 |
User | Count |
---|---|
113 | |
104 | |
101 | |
73 | |
65 |