1

I have a problem with dashboard, Lifetime Sales and Revenue displays different figure.i have tried displayed lifetime sales by following code:

Mage::getResourceModel('reports/order_collection')->calculateSales()->load()->getFirstItem()->getLifetime();

and it is displaying correct, same amount as Lifetime Sales on dashboard.

so i am getting confused whether lifetime sales is wrong or /revenue is wrong.

Can any body help me???

Keyur Patel
  • 255
  • 3
  • 15
  • Just to check the easy stuff first, have you tried re-indexing the site? If so, how about going under "Reports" > Refresh Statistics and refreshing lifetime statistics for all of them? – Mike Mar 12 '13 at 14:04
  • I did it with: Go to System → Config → Sales → Sale → Dashboard And mark Use Aggregated Data (beta)="Yes" – Keyur Patel Mar 15 '13 at 09:32

2 Answers2

4

I did it with: Go to System → Config → Sales → Sale → Dashboard And mark Use Aggregated Data (beta)="Yes"

Keyur Patel
  • 255
  • 3
  • 15
1

I had the same issue but had to set Use Aggregated Data to ‘No’ to fix it.

bc tech
  • 11
  • 2