The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I have a table like in the picture:
In each session, a user visits a few pages
How can I calculate the average time between pages in each session?
I try:
but this not work (
@Anonymous , Create a new column like
new column =
datediff(maxx(filter(Table, [session_id] = earlier([session_id]) && [page] = earlier([page])), [Date/Time]), [Date/Time], second)
User | Count |
---|---|
14 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
13 | |
7 | |
5 |