BookmarkSubscribeRSS Feed
Calcite | Level 5
I'm running a report which puts out several pie charts grouped by a numerical "order" field. The problem is this outputs an ugly "order=1", "order=2", etc on the top of every chart which is causing confusion amongst my users. I'd like to be able to remove this or change the text there to something that will be more user friendly.

Thanks for any guidance that you can provide.

Quartz | Level 8

You could use proc format to create labels for the order values. To eliminate the "Order=", try label order='00'x;
Lastly, pie charts are a rather ineffective and inefficient way to present data and especially so when trying to make comparisons across "Orders". Consider the use of vbar or hbar charts by "order". Label the response axis or the title with a statement that indicates that each bar represents a proportion of the whole. The resultant display will be much more effective. For a "treatise" on circular charts and alternatives, see



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 2 in conversation