Hello All ,
I use the code -
/*Generate a table for the total number of units sold over each week*/
proc tabulate data=WEEK f = comma8.;
class week Laptopmodel;
var UnitsSold;
table week*Laptopmodel,
Unitssold;
run;
proc print data = Tabulate;
run;
This gives me :-
Sorted Sales Data 08:54 Saturday, March 6, 2010 65
----------------------------------
| | UnitsSold
| | |
| |--------|
| | Sum
|-----------------------+--------|
|Week |LaptopModel|
|-----------+-----------| |
|Week1 |AP3965 | 67
| |-----------+--------|
| | AT3600 | 36
|-----------+-----------+--------|
|Week2 |AP3965 | 73
| |-----------+--------|
| | AT3600 | 35
|-----------+-----------+--------|
|Week3 AP3965 | 102
| |-----------+--------|
| | AT3600 | 31
|-----------+----------+--------|
|Week4 AP3965 | 127
| |-----------+--------|
| | AT3600 | 40
----------------------------------
I want to obtain a Histogram that shows me the Number of units sold for two periods - period 1 ( week 1 + week 2 ) and period 2 ( week 3 + week 4 )
Kind Regards ,
mark