Vreports & Dashboard by VTExperts
  • 1. Do Vreports support UNION in the SQL Report
  • 2. VReports & dashboard extension is working slow
  • 3. Can a user change the default tab name in Vreports and Dashboard extension?
  • 4. Report on dashboard only shows records assigned to the current user
  • 5. Do Vreports supports 3rd level relationship
  • 6. Vreports malfunctions creating reports on "Transactional" modules with respect services/products
  • 7. How to make a Pivot report data Selectable
  • 8. New feature: Scheduled Vreports, now supports formatting of the reports
  • 9. Charts are missing in scheduled reports
  • 10. Setting VReports Dashboard as Homepage
  • 11. Adding widget to Reports & dashboard
  • 12. Generating SLA reports
  • 13. Access Vreport's Dashboard through My Dashboard button
  • 14. Is it possible to show non-integer values as stacked bars in Vreports?
  • 15. VReports Date picker not working in Vtiger 7.4
  • 16. How to check on how many mails, in TOTAL, are being sent on a day/week/month
  • 17. How To Access Vreports Through My Dashboard Button.
  • Efficient Reporting With Vreports
Powered by GitBook
On this page
  • Question
  • Answer

16. How to check on how many mails, in TOTAL, are being sent on a day/week/month

Question

Can we check how many emails, in TOTAL, are being sent on a day/week/month?

Answer

You can check how many emails are being sent in total per day, week, or month using the SQL report in our extension Report and dashboard.

It will give counts per year/month/day, but you need to pick which one you want by - see lines 2,3,4.

SELECT
-- DATE_FORMAT(c.createdtime,'%Y') as dt, /* Count per Year */
-- DATE_FORMAT(c.createdtime,'%Y-%m') AS dt, /* Count per Month */
DATE_FORMAT(c.createdtime,'%Y-%m-%d') AS dt, /* Count per Day */
COUNT(*) num
FROM vtiger_crmentity c
INNER JOIN vtiger_activity a ON a.activityid=c.crmid
INNER JOIN vtiger_emaildetails e ON e.emailid=c.crmid
WHERE c.deleted='0'
AND c.setype='Emails'
AND c.createdtime > '2024-01-01 00:00:00'
GROUP BY dt
ORDER BY dt DESC;
Extension
Reports & Dashboard

Description

How to check/track/report on how many emails, in TOTAL, are being sent on a day/week/month

Created By

Chris (Jan 16, 2025)

Previous15. VReports Date picker not working in Vtiger 7.4Next17. How To Access Vreports Through My Dashboard Button.

Last updated 3 months ago