BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi. I am running a proc freq and I would like to change the format of the results (e.g. I want to change the results to show only 1 decimal place and maybe a percentage sign after the value). Note that it is the results from the proc freq that I want to format, not the variable itself. Thanks.
3 REPLIES 3
deleted_user
Not applicable
You can output the results of the proc freq to a dataset and then use that dataset in a proc print or proc report where you can customize the results to your hearts content.
Cynthia_sas
SAS Super FREQ
Hi:
You can either do as Chuck suggests and create your report from a dataset created by PROC FREQ or you can change the TABLE template for this run of PROC FREQ and tell the template what format to use for the calculated statistics. This Tech Support note talks about doing something simliar (it shows one decimal place but not the percent sign):
http://support.sas.com/kb/25/058.html

cynthia
deleted_user
Not applicable
That's great, thanks! Message was edited by: RobD

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 867 views
  • 0 likes
  • 2 in conversation