Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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 |
---|---|
125 | |
106 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |