Hi
I have a query which was working well but no the ball park as changed slightly.
The query below is a view that displays data for sales for the next 7 days if there are any on that day. If there are not any it does not display anything, so if I run it now it shows information for the dates for
2015-07-10 00:00:00
2015-07-13 00:00:00
2015-07-14 00:00:00
2015-07-15 00:00:00
2015-07-16 00:00:00
Ideally I would like it to show the 11 and 12th even though there may be no sales for that date
I then use the view to update a graph in a back end system that uses this small query
SELECT DateRequired AS Drillcaption1, SUM([Total Volume]) AS Daily
FROM dbo.[148-vwVolumebydateCP]
GROUP BY DateRequired
ORDER BY Drillcaption1
Could someone advise how I get the main query to show dates as a result even if sales are 0.00 for that date.
Thanks in advance
I have a query which was working well but no the ball park as changed slightly.
The query below is a view that displays data for sales for the next 7 days if there are any on that day. If there are not any it does not display anything, so if I run it now it shows information for the dates for
2015-07-10 00:00:00
2015-07-13 00:00:00
2015-07-14 00:00:00
2015-07-15 00:00:00
2015-07-16 00:00:00
Ideally I would like it to show the 11 and 12th even though there may be no sales for that date
I then use the view to update a graph in a back end system that uses this small query
SELECT DateRequired AS Drillcaption1, SUM([Total Volume]) AS Daily
FROM dbo.[148-vwVolumebydateCP]
GROUP BY DateRequired
ORDER BY Drillcaption1
Could someone advise how I get the main query to show dates as a result even if sales are 0.00 for that date.
Thanks in advance