BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
CesarOmarHR
Calcite | Level 5

How do i include totals and subtotals when making a summary table on EG?

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

Hi:

  If you are using the Summary Tables Task, then when you are in the table designer, look for an available CLASS variable that is labelled Total (ALL) -- you can drag that item to any dimension in order to produce subtotals and totals. See this example of a table design, there I have AGE nested with SEX as the CLASS variables and get the mean of HEIGHT in the columns, then I have both sub-totals and a total on the table design.

cynthia


use_total.png

View solution in original post

3 REPLIES 3
Cynthia_sas
SAS Super FREQ

Hi:

  If you are using the Summary Tables Task, then when you are in the table designer, look for an available CLASS variable that is labelled Total (ALL) -- you can drag that item to any dimension in order to produce subtotals and totals. See this example of a table design, there I have AGE nested with SEX as the CLASS variables and get the mean of HEIGHT in the columns, then I have both sub-totals and a total on the table design.

cynthia


use_total.png
CesarOmarHR
Calcite | Level 5

Thank you i appreciate it, that really helped!

sasspan
Obsidian | Level 7

STEP 4 of Summary Table Wizard, play with grand total drop down, til you see the totals you want.  Shows up on the right side for each selection

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 3270 views
  • 4 likes
  • 3 in conversation