[Skip to main content](#vessel-content)

#   Dashboard statistics don't add up

##

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

7 years 9 months ago [\#303785](#303785) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#303785 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.2

Hi,

I have noticed some odd things about the dashboard statistics. Here are a few:

Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and "main statistics" the figure is different?

Dashboard: Best Category - always empty?

Dashboard: Conversion rate 0 sometimes this figure is over 100% ?

Dashboard: Total orders - what period, when does it reset?

If you could let me know some details that would be good thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

7 years 9 months ago [\#303789](#303789) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#303789 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Hi,

It's the last 30 days. The statuses taken into account are the ones enabled under the "statistics" column of the System&gt;Order statuses menu.
Reports have their own order status restriction setting so they don't take into account that "statistics" column.

No the best category is not always empty. It is if there weren't any order with the correct statuses from the beginning of the month to now.

The conversion rate is the number of orders with a status enabled in the "statistics" column divided by all the orders, from the beginning of the month to now. I don't see how it would be possible for that number to be higher than 100%.
If you have that right now, please provide a backend and FTP access so that we can look into it as that should not be possible.

The total orders number is the number of orders with a status enabled in the "statistics" column for the last 30 days.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

7 years 9 months ago [\#303811](#303811) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#303811 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Hi,

Thank you for your reply.

> It's the last 30 days. The statuses taken into account are the ones enabled under the "statistics" column of the System&gt;Order statuses menu.

Can we edit this anywhere?

> No the best category is not always empty. It is if there weren't any order with the correct statuses from the beginning of the month to now.

I've got a few shops running taking daily orders for months and nothing shows up in that section.

> The conversion rate is the number of orders with a status enabled in the "statistics" column divided by all the orders, from the beginning of the month to now. I don't see how it would be possible for that number to be higher than 100%.
> If you have that right now, please provide a backend and FTP access so that we can look into it as that should not be possible.

At the moment its not over 100%, when it does I'll sent you FTP details/ - thank you.

Many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

7 years 9 months ago [\#303824](#303824) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#303824 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Hi,

1. If you want to edit the statuses, you can do that in the menu System&gt;Order statuses.
If you want to change the period, you would have to do an override of the file "listing" of the view "dashboard" via the menu Display&gt;Views and change the array in $this-&gt;statistics at the beginning. You can look at the function getDashboard in the file administrator/components/com_hikashop/classes/statistics.php to look at how this variable is generated.

2. It's only the orders of this month.
Could you activate the debug mode of the Joomla configuration and provide a copy of the debug data at the bottom of the dashboard page on your website ?
That way, we could check what MySQL query is generated to load the best category of your website.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 9 months ago -  7 years 8 months ago [\#304133](#304133) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#304133 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

@grayt7

Hello,

We have received your elements and keep them aside, but this isn't what Nicolas asked.
If you want help us to help you, please simply follow instructions.
Plus, I note that the last Nicolas message goes back more than 1 week, nothing news around your subject ?

Awaiting precise answer from Nicolas request on the point 2.

Last edit: 7 years 8 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

7 years 9 months ago [\#304136](#304136) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#304136 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Hi,

Please refer to the first reply where Nicholas says

> The conversion rate is the number of orders with a status enabled in the "statistics" column divided by all the orders, from the beginning of the month to now. I don't see how it would be possible for that number to be higher than 100%.
> If you have that right now, please provide a backend and FTP access so that we can look into it as that should not be possible.

This is why I sent you the details.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

7 years 9 months ago [\#304194](#304194) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#304194 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Hi,

Please refer to the first reply where Nicholas says

> The conversion rate is the number of orders with a status enabled in the "statistics" column divided by all the orders, from the beginning of the month to now. I don't see how it would be possible for that number to be higher than 100%.
> If you have that right now, please provide a backend and FTP access so that we can look into it as that should not be possible.

This is why I sent you the details.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

7 years 8 months ago [\#304446](#304446) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#304446 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Any update on this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

7 years 8 months ago [\#304469](#304469) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#304469 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Hi,

Sorry, I didn't had the time to look at the issue yet. It's a complex issue which will require several hours of my time and I was too busy the past week to work on that.
I didn't forget you though. I'll do it as soon as I can.
Sorry for the wait.

The following user(s) said Thank You: [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

7 years 8 months ago [\#304473](#304473) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#304473 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Thanks for getting back to me.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

7 years 8 months ago [\#304620](#304620) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Dashboard statistics don't add up](/forum/25-install-update/896905-dashboard-statistics-dont-add-up#304620 "-- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2  Hi,  I have noticed some odd things about the dashboard statistics. Here are a few:  Dashboard: Order this month - When do the months run? When does the period reset? At the begging of a month shouldn't this start at 0? What status is that based on? Looking in the reports and &quot;main statistics&quot; the figure is different?  Dashboard: Best Category - always empty?  Dashboard: Conversion rate 0 sometimes this figure is over 100% ?  Dashboard: Total orders - what period, when does it reset?  If you could let me know some details that would be good thanks.")*

Hi,

I finally had the time to look at the issue today and found the problem.
I've added a patch on your website and it looks like it's working fine now.
We'll also add the patch on our end.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NjkwNS1kYXNoYm9hcmQtc3RhdGlzdGljcy1kb250LWFkZC11cD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.080 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
