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-wordmark-2025-midnight.png

Register Today!

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.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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