Ask questionsFiltered monthly page views do not sum up to filtered yearly page views
When requesting data from the page url table and filtering it regarding a specific url, the data returned for requests for each month of a year independantly does not sum up to the data returned for a request regarding the whole year. This holds true both for using the webinterface as well as using the API.
Values of a metric for all months of a year should sum up to value of the same metric for the whole year.
Sum of monthly values does not match yearly value (in my case: exceeds it).
Example
In the given (and randomly chosen) example the values are:
| Metric | Year | Sum Month | Difference |
|---|---|---|---|
| nb_visits | 1.672.155 | 1.672.216 | 61 |
| nb_hits | 2.032.618 | 2.032.691 | 73 |
I admit the diifferences are quite low here, but there honestly shouldn't be any at all. Furthermore for our own data it looks like this which is really non-neglectable:
| Metric | Year | Sum Month | Difference |
|---|---|---|---|
| nb_visits | 38.728 | 41.385 | 2.657 |
| nb_hits | 54.366 | 58.026 | 3.660 |
We need total (unique) pageviews for a certain subset of urls. Usually we report them on a yearly bases but we now needed them for every month of a year and realized that the monthly values do not add up to the respective yearly value.
<!-- Include as many relevant details about the environment you experienced the bug in --> <!-- You can find some of that information in the system check -->
Related questions