I have a problem with dashboard's 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.
Another Snap :
Can any body help me???
Best Answer
If I remember correctly, the graph for the dashboard used the default timezone (not your store timezone), whereas the reports use your timezone. So the figures could be as much as 12 hours out either way. But its normally fairly insignificant.