Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

Calculated Fields

$
0
0
Hi there,

I have recently started in a programming/analysis role after a 6 year hiatus and it's taking a while for me to get back into the swing of things.

I am hoping someone can help with what seems like a simple thing, but I can't think of how to do it!

I need to insert a calculated field to show a percentage based on two rows (eg completed/requested). This is really easy with excel, but I can't work out how to perform the same function in SAS!

I've uploaded attachments of the dataset, along with the proc tab report. I am wanting to put the percentage of completed as another row, to be calculated on number completed / number requested.

Appreciate anyone's help :)
Attached Thumbnails
Click image for larger version

Name:	dnp 2.jpg‎
Views:	N/A
Size:	29.9 KB
ID:	3755   Click image for larger version

Name:	dnp.jpg‎
Views:	N/A
Size:	14.7 KB
ID:	3756  

Viewing all articles
Browse latest Browse all 310

Trending Articles