- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 05-23-2022 01:22 PM
(498 views)
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.