BookmarkSubscribeRSS Feed
ramak
Calcite | Level 5

Dear Sir / Madam,

 

I want to arrange the defined across variable headers in order manually in proc report but by default it has come in alaphabatic order. 

 

also i want to interlink the report like eg. when i click a state in a proc reort summary it will show the districts summary under the state and when I click on to district it will be show the citys summarys under district in sas 4.3 and sas studio programming. 

 

Please help me sir.

4 REPLIES 4
Cynthia_sas
SAS Super FREQ
Hi:
SAS Enterprise Guide is version 4.3, 5.1, 6.1 or 7.1. They all work with various version of SAS. The most current version of SAS is SAS 9. So the chances are good that you are using Enterprise Guide 4.3 with SAS 9 (probably 9.2, 9.3 or 9.4) at your company.

I don't remember the List Report Wizard from Enterprise Guide 4.3. I know that you could use ACROSS variables, but I'm not sure whether they surfaced the ability to change ORDER= on the DEFINE statement.

At any rate, you cannot change the across variable headers manually -- you have to use ORDER= to control the order. But you might have to do that using PROC REPORT code with EG 4.3.

As for your other question about "interlinking" the report -- clicking in a state and then going to a district, we call that "drill down" and one way to do it with PROC REPORT will require code to do -- either with a user-defined format to link the drill-down file to the summary report or using a CALL DEFINE technique as shown in this Tech Support note: http://support.sas.com/kb/25/394.html.

cynthia
ramak
Calcite | Level 5

this support note is not opening.

ballardw
Super User

@ramak wrote:

this support note is not opening.


The link probably came with the period from Cynthia's post. Delete it in the browser address bar or copy and paste to the browser without the period.

Cynthia_sas
SAS Super FREQ
oops, sorry, who cares about grammatically correct sentences, anyway?
Here's the link:
http://support.sas.com/kb/25/394.html

cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 4 replies
  • 1106 views
  • 0 likes
  • 3 in conversation