I'm creating an application that should show a bar chart in the dashboard displaying count of records by week_1 to week_n in a month:
Example (July):
Week 1 (2014-07-01 to 2014-07-05) = 30 records
Week 2 (2014-07-06 to 2014-07-12) = 15 records
Week 3 (2014-07-13 to 2014-07-19) = 50 records
Week 4 (2014-07-20 to 2014-07-26) = 24 records
Week 5 (2014-07-27 to 2014-07-31) = 6 records
I have seen several examples but they all seem to be focusing on Week of the Year. if no record was added for that week, the report should show 0 for the week. All examples I have seen use Group By Date, this will only output a count if there's a corresponding record for the week.