BookmarkSubscribeRSS Feed
Itharaju
Fluorite | Level 6
Hello Team,
I was trying to display percentages through proc report .
1.I have used format=perception8.2 for but in out it was showing only % symbol instead 0.39%.
2. One of the columns was not displaying in output result even it is available on table and in column of proc report and it was last column.

Kindly help me here.

Thanks,
Veeraswamy
2 REPLIES 2
Oligolas
Barite | Level 11

Hi,

 

hard to say without seeing your code. 

Do you see the percentages here?

proc report data=sashelp.class;
column name height heightpct;
define height / display ;
define heightpct / computed format=percent8.2;
compute heightpct;
   heightpct=height/100;
endcomp;
run;

 

________________________

- Cheers -

andreas_lds
Jade | Level 19

Interesting problem. Please post the code you have and data so that we can run the code. "data" refers to a data step using datalines, it does NOT refer to attached files.

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

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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