DATA Step, Macro, Functions and more

Left Align Number Formatted Column in Proc Report

Accepted Solution Solved
Reply
Super Contributor
Posts: 480
Accepted Solution

Left Align Number Formatted Column in Proc Report

Is there a way to left align a numeric value that is formatted to a text value?  I am converting numbers to text values so that I can assign ordering, after the conversion the text is right aligned because it came from a number.


Accepted Solutions
Solution
‎06-28-2017 02:16 PM
Super Contributor
Posts: 480

Re: Left Align Number Formatted Column in Proc Report

left is an option in the define statement.

View solution in original post


All Replies
Super Contributor
Posts: 480

Left Align Number Formatted Column in Proc Report

Is there a way to left align a numeric value that is formatted to a text value.  I am converting numbers to text values so that I can assign ordering, after the conversion the text is right aligned because it came from a number.

Trusted Advisor
Posts: 1,610

Re: Left Align Number Formatted Column in Proc Report

You can use the LEFT function

Super Contributor
Posts: 480

Re: Left Align Number Formatted Column in Proc Report

Is this an option in proc report?

Solution
‎06-28-2017 02:16 PM
Super Contributor
Posts: 480

Re: Left Align Number Formatted Column in Proc Report

left is an option in the define statement.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 115 views
  • 0 likes
  • 2 in conversation