I have dataset in excel with varaible shop as spaces and & in the data. I want to do some kind of reports and charts based on the shop and also by family.But the client want to keep the shop name as it is. Ex: taba&wv, sup top. how can i add MACRO to generate tables by shop with this kind of names and how to generate reports like PROC REPORT,PROC TABULATE and CHARTS by shop using macro. Please find the sample data below
Shop Year Month Family Value1 Value2 Value3
raoas 2006 january TA12 5 6 0
taba&wv 2008 january TS01 0 1 1
sup top 2008 april TZ05 0 0 1
taba&wv 2006 December TA12 5 6 0
raoas 2008 january TA15 0 2 0
sup top 2008 april TQ05 0 1 1
The tables I want to create should looks like
taba&wv
Year Family sum_value1 Sumvalue2 Sum_value3
sup top
Year Family sum_value1 Sumvalue2 Sum_value3
raoas
Year Family sum_value1 Sumvalue2 Sum_value3