I have the following query which displays information in a bar graph by week number.
However if I change the sql to:
Where the format is change to dd/mm/yy then instead of just displaying the first day of the week, it displays all the days in between with 0 values as well as the total amount for each week on the first day.
How can I show the graph to display the first day of the week and corresponding total(sum of events) for that week without all the days in between.
Hope this makes sense
Thanks
Code:
SELECT (Format([MyGroupDate],"ww")) AS Expr1, Sum(qryrptAWeeklyGraph.CountOfID) AS SumOfCountOfID
FROM qryrptAWeeklyGraph
GROUP BY (Format([MyGroupDate],"ww")), (Year([MyGroupDate])*CLng(54)+DatePart("ww",[MyGroupDate],0)-1);
However if I change the sql to:
Code:
SELECT (Format([MyGroupDate],"dd/mm/yy")) AS Expr1, Sum(qryrptAWeeklyGraph.CountOfID) AS SumOfCountOfID
FROM qryrptAWeeklyGraph
GROUP BY (Format([MyGroupDate],"ww")), (Year([MyGroupDate])*CLng(54)+DatePart("ww",[MyGroupDate],0)-1);
How can I show the graph to display the first day of the week and corresponding total(sum of events) for that week without all the days in between.
Hope this makes sense
Thanks