Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bigfun
Helper I
Helper I

Time Spent on a Page in a Session

Alright, so I am trying to calculate the average time spent on each page, and the only way I could think of doing it would be by way of looking at each session and calc the time difference between rows.

 

URL is the Column that identifies best which page the user is spending time on.


My Datatable has the following columns:

bigfun_1-1653063414354.png

Here is a sample of the data

 

I'm just not clear how I go about managing the calculation when I have the start time and end time within the same column

 

 

 

2 REPLIES 2
tamerj1
Super User
Super User

Hi @bigfun 
This is  sample of the data filtered for one userID and sourted by URL. Can you please advise which advise how to decide which one is the start time and which one is the end time for each URL and what is the criteria?

1.png

Hey thank you for taking a look at it.... I was chatting with my data folks Friday about this exact thing (found that sessions weren't as unique as I thought they were).. I am going to concat the sessionID and InstanceID.. That should break down the sessions in the correct manner.

I want to grab the earliest time per UnqSession calc the time spent per page, till the last page in the session.

A session that is over 3600 seconds we will call an abandoned sesson.

I updated the sheet with the new column 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.