I have following data :
Data mydata;
Date Time Sales ID
03/01/2008 08:39:18 22.99 0
03/01/2008 08:41:21 12.99 0
03/01/2008 08:42:13 12.99 0
03/02/2008 08:07:19 22.99 0
03/02/2008 09:06:20 22.99 0
02/03/2008 11:51:18 12.99 0
02/01/2008 14:31:42 22.99 1
02/07/2008 12:17:27 22.99 1
02/07/2008 13:42:27 22.99 1
02/07/2008 13:58:37 12.99 1
02/07/2008 15:03:23 12.99 1
I have another column for 'Laptop Model ' and it has two types - Type 1 and Type 2 The price of Type 1 model is $ 5000 and for the Type 2 model its $1000 .I need to find the breakdown of the reneues generated form the two types of laptop.
Kindly suggets me the SAS code that will work in this case