BookmarkSubscribeRSS Feed
raja777pharma
Fluorite | Level 6

Hello Team,

 

I am facing order issue and group display in proc report.

 

I need to rtf file output as per below screen shot 1 & 2 (both are same table but need in tow pages) and data was attached excel sheet

i have created titles and foot notes

In excel sheet also i mentioned rows orders (gpx gpx1) as per shell

 

2020-02-12_15-46-35.png2020-02-12_15-48-52.png

1 REPLY 1
ballardw
Super User

At least provide the code you have so far for proc report.

 

If I have to create data from an Excel spreadsheet it is very likely that I will make choices such that my SAS data set is not the same as yours.

Provide example data in the form of a data step. Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.

 

Proc Report supports an option Called Preloadfmthat will force display order. I can't tell if you may also want/need a Multilabel format because without ANY values or description it is not possible to determine if your "decision" blocks are supposed to have a total for subgroups or not.

 

Statistics indicated with (xx.x%) are not defined as to what the denominator should be and I'm not going to guess.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1 reply
  • 341 views
  • 0 likes
  • 2 in conversation