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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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