DATA Step, Macro, Functions and more

Left Align Number Formatted Column in Proc Report

Accepted Solution Solved
Reply
Super Contributor
Posts: 497
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: 497

Re: Left Align Number Formatted Column in Proc Report

Posted in reply to DavidPhillips2

left is an option in the define statement.

View solution in original post


All Replies
Super Contributor
Posts: 497

Left Align Number Formatted Column in Proc Report

Posted in reply to DavidPhillips2

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,932

Re: Left Align Number Formatted Column in Proc Report

Posted in reply to DavidPhillips2

You can use the LEFT function

Super Contributor
Posts: 497

Re: Left Align Number Formatted Column in Proc Report

Posted in reply to PaigeMiller

Is this an option in proc report?

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

Re: Left Align Number Formatted Column in Proc Report

Posted in reply to DavidPhillips2

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
  • 146 views
  • 0 likes
  • 2 in conversation