Date: Mon, 24 Mar 2003 11:35:20 -0800
Reply-To: Nancy Kay <notawahoo@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nancy Kay <notawahoo@YAHOO.COM>
Organization: http://groups.google.com/
Subject: Use variable twice in PROC REPORT
Content-Type: text/plain; charset=ISO-8859-1
I want to summarize my data by Region and print a report showing both
the Region code and the Region Description. The Region Description is
determined by looking up the region code in a FORMAT, and it does not
exist as a variable on the incoming dataset.
A Central Virginia 150
B Northern Virginia 27
C Other Virginia 71
D Other USA 4
How can I specify the two versions of Region in PROC REPORT, since
they're actually the same variable?
TIA,
Nancy
|