BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
gzr2mz39
Quartz | Level 8

I'm using tagsets.excelxp to display a proc report table.

tagattr='format:###%' correctly display the output as xx% (eg 10%).

However 0% shows up as %.

Any ideas? Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Eric_SAS
SAS Employee

A format of ##0% may work.   But the easiest way to get percentages is to format them as percentages in SAS as percent so that they come out the way you want. (eg. 10%)

The tagset automatically detects percentage values and does the right thing with them.

Eric

View solution in original post

1 REPLY 1
Eric_SAS
SAS Employee

A format of ##0% may work.   But the easiest way to get percentages is to format them as percentages in SAS as percent so that they come out the way you want. (eg. 10%)

The tagset automatically detects percentage values and does the right thing with them.

Eric

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 997 views
  • 0 likes
  • 2 in conversation