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-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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