BookmarkSubscribeRSS Feed
Mirisage
Obsidian | Level 7

Hi EG Forum,

I am very new to EG.

I created a small table using EG with the purpose of getting the "Proc tabulate code" for further manipulation.

Q:

Under "Summary Tables", there is a box like thing called "Available Statistics".

I wanted to drag the "mean" statistic from that "Available Statistics" box to the table "Preview" place but it doesn't allow.

(I was able to drag and drop only "N" statistic which I do not want).

Could any one help me.

Thanks

Miris

3 REPLIES 3
BrianDoesSas
Obsidian | Level 7

Is your data definitely all numeric? Presumably if it was character, but looking numeric ("1" instead of 1) then you could count the distinct values, but not average them.

On checking mine: if I drag a numeric variable into the preview I can count and average it.

If I drag a character variable in I can only count.

Is your "classification variable" in the data tab, character?

Fugue
Quartz | Level 8

If you've only defined a class variable(s), then I believe the only available statistic will be N.

Have you defined any analysis variables?

Mirisage
Obsidian | Level 7

Hi Brian and Fugue,

Thanks to both of you.

I got the problem overcome by first dragging the mumeric analysing variable.

Thanks to both of you anyway.

Regards

Mirisage


sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1908 views
  • 1 like
  • 3 in conversation