Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare to: previous year always returning a range #15194

Closed
tassoman opened this issue Nov 25, 2019 · 1 comment · Fixed by #15583
Closed

Compare to: previous year always returning a range #15194

tassoman opened this issue Nov 25, 2019 · 1 comment · Fixed by #15583
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@tassoman
Copy link
Contributor

I've expected to compare a day period with same day period in year before. Two pre-archived reports. So I checked in the calendar-dropdown:

  1. 2018-11-05 (day)
  2. «compare to:» and «previous year»

I expected to have two day period comparison like happend on «previous period» but worked like «custom», returning a range.

On huge websites, ranged report must be calculated on the fly by Matomo, while day, week, month, year periods are pre-calculated during cron archive.

Screenshot_2019-11-25 ER-portale - 2018-09-03 - Web Analytics Reports - Matomo
Screenshot_2019-11-25 ER-portale - 2018-09-03 - Web Analytics Reports - Matomo(1)

Then I've expected some missing features:

  • week periods comparison between years (for example 43th week of 2018 vs 43th week of 2017)
  • month period comparison between years (november 2018 vs november 2017), not ranged from 2017-11-01 and 2017-11-30

The problem with ranged data is the server gets overloaded on big amounts of data. You can feel it by comparing «period year» with «previous year», then «period year» with «previous period». The second (pre archived) is faster.

@tassoman
Copy link
Contributor Author

Related to #15193

@sgiehl sgiehl self-assigned this Feb 17, 2020
@mattab mattab added this to the 4.0.0 milestone Feb 24, 2020
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants