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 need to calculate time intervals beetween rows with the same user_id.
For example:
for 1st row value is 23:42 (diiference between dates in 4th and 1st rows)
for 4th row value is 5:49 (diiference between dates in 5th and 4th rows) etc
Solved! Go to Solution.
Do it myself 🙂
CALCULATE(MIN([datetime]); FILTER('export ONLINE'; EARLIER([user_id]) = [user_id] && EARLIER([datetime]) < [datetime])) - 'export ONLINE'[datetime])
Do it myself 🙂
CALCULATE(MIN([datetime]); FILTER('export ONLINE'; EARLIER([user_id]) = [user_id] && EARLIER([datetime]) < [datetime])) - 'export ONLINE'[datetime])
Hi @wicker,
Congratulations, you resolved your issue by yourself, please mark your reply as answer, so more people will benefit from here. Thanks for understanding.
Best Regards,
Angelia
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 |
---|---|
111 | |
107 | |
88 | |
76 | |
67 |
User | Count |
---|---|
125 | |
111 | |
100 | |
83 | |
71 |