Hey all,
I have several charts on a report that are populated using code similar to that which is found below.
Code:
SELECT (Format([ShipDate],"WW" )),Sum([AmtUnits]) AS [SumOfAmtUnits] FROM [q_MonthlyShip]
GROUP BY (Year([ShipDate])*CLng(54) + DatePart("ww",[ShipDate],0)-1),(Format([ShipDate],"WW" ));
When I have sales data for each week, all the charts populate normally. If I fail to have sales data for that week, the entire week is omitted from my graph. See attached picture below (pardon the scale issue):

My goal is to have the Product2 x-axis mirror the Product 1 graph despite the fact that there are no sales for that product for weeks 21,22,25,26,28,29.
My first thought was to try and shove an ISNULL [AmtUnits],0 in there to set the number of units sold per week to 0 but I can't seem to get it to work. After thinking about it however, is what I am trying to do even possible given that Access doesn't "know" that those weeks exist without [ShipDate]s to go off of?
If I can provide more information please let me know.
Thanks a bunch!