Hi All
I'm struggling with calculating a daily/weekly/monthly time duration field based off a single date/time column. I've got a table which monitors website activity, recording every change of page within the website with fields like:
IP Address
URL
Date/Time Requested
I've managed to produce a calculation which calculates the duration an IP address spent on our website by doing something like:
CalculatedColumn1: =1.*[Date/Time Requested]
MaximumDateTime:=MAX([CalculatedColumn1])
MinimumDateTime:=MIN([CalculatedColumn1])
MaxMinDifference:=[MaximumDateTime]-[MinimumDateTime]
Duration:=24*[MaxMinDifference]*60
Which calculates the duration in minutes any given IP address spent on the site. What I'm struggling with now is essentially accumulating the sum of all these durations in a daily/weekly/monthly format.
Anybody able to help?
Many Thanks!
Rich
I'm struggling with calculating a daily/weekly/monthly time duration field based off a single date/time column. I've got a table which monitors website activity, recording every change of page within the website with fields like:
IP Address
URL
Date/Time Requested
I've managed to produce a calculation which calculates the duration an IP address spent on our website by doing something like:
CalculatedColumn1: =1.*[Date/Time Requested]
MaximumDateTime:=MAX([CalculatedColumn1])
MinimumDateTime:=MIN([CalculatedColumn1])
MaxMinDifference:=[MaximumDateTime]-[MinimumDateTime]
Duration:=24*[MaxMinDifference]*60
Which calculates the duration in minutes any given IP address spent on the site. What I'm struggling with now is essentially accumulating the sum of all these durations in a daily/weekly/monthly format.
Anybody able to help?
Many Thanks!
Rich