Count incidents when a date_group and count(*) is used
Content
I have a report with 3 columns
- DATE - date_group(incidents.created,'YYYY-MM-DD')
- SOURCE - incidents.source_lvl2
- COUNT - count(*)
So this shows how many incidents of each source type were raised in a day. What I am looking for is a 4th column to show a total number of incidents raised in that day - so this number will be all of the 3rd column added together for a day
How would I do this? I need it sorting like this and not in a rollup as I will be using ConnectPHP to expose it to a web page.
Tagged:
0