Hi:
In a define statement for a numeric variable, the default usage is "analysis" with a default statistic of "sum". Therefore, all of these DEFINE statements are the same:
[pre]
define sales/ 'Sales' ;
define sales/ sum 'Sales' ;
define sales/ analysis sum 'Sales' ;
define sales/ analysis 'Sales' ;
[/pre]
...and I would get a sum on the Sales column even if I had the first DEFINE statement.
So if your date variable does NOT have a usage, then you are telling SAS to use the SUM statistic for the date variable. Try explicitly putting a usage of DISPLAY for the date variable (in which case, it won't be summed up) or a usage of ORDER or GROUP:
[pre]
define Pi_In_Grndate / display 'Date Goods Received';
define Pi_In_Grndate / order 'Date Goods Received';
[/pre]
Remember that a usage of order will maintain the report as a detail report. A usage of group would "collapse" all the rows into a summarized report -- with the same date into one row (depending on the usage of the other variables in the COLUMN statement).
Cynthia