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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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