hi,
i want allign my data to get proper proc report output
data have
so every row in this case shoud be alligned to 217/336 (64.6%)
thank you for your help
Have you created some sort of character variable to hold a composite value like that?
If so, the only possibility of getting this to work at all would involve displaying the value with a fixed width font like Courier or SAS Monospace and then inserting blanks into the data value.
If not, then show your proc report code.
Have you created some sort of character variable to hold a composite value like that?
If so, the only possibility of getting this to work at all would involve displaying the value with a fixed width font like Courier or SAS Monospace and then inserting blanks into the data value.
If not, then show your proc report code.
Agreeing with @ballardw . You seem to have missed his point, character strings cannot be aligned on decimal points or parenthesis unless you use a fixed width font like Courier. Where the character string is created (data set or PROC REPORT or anywhere else) is irrelevant to this problem.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.