BookmarkSubscribeRSS Feed
Saleem
Calcite | Level 5
Hi Team,
I have data set coloumn like Bank,Tax,IDMs three columns and also division coloum how to find out each Division wise total.

Thanks in advance
2 REPLIES 2
PaigeMiller
Diamond | Level 26

Please show us a portion of the data and the desired output.

 

Please go back and change the subject line to something that is descriptive of the problem (we're all SAS programmers, so your subject is not descriptive and not useful)

--
Paige Miller
maguiremq
SAS Super FREQ

Look into PROC MEANS. Here's how you could do it with PROC MEANS with some sample data in SAS.

proc means data = sashelp.cars n mean stddev min max sum;
	var msrp;
	class make;
run;

You would put your `division` variable next to the class statement.

You could drop all those statistics except SUM after the PROC MEANS statement.

 

Without data, this is the best I can provide.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 355 views
  • 0 likes
  • 3 in conversation