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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 696 views
  • 0 likes
  • 3 in conversation