BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I'm having trouble getting my proc report output to sort correctly (using tableeditor).
It currently sorts my values as: 9, 8, 7, 2, 16.
I tried this, but it didn't help:
define osha_rate1 / analysis 'OSHA Rate' format=5.2 style(header)={tagattr="type='Number'"};
Thank you.
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I think that TAGSETS.TABLEEDITOR builds and HTML file with embedded JavaScript to load the HTML file into Excel. I'm not sure that TAGATTR style override works with TAGSETS.TABLEEDITOR. You'd have to check that with Tech Support.

However, in your other posting on this topic, you showed OSHA_RATE1 nested UNDERNEATH a YEAR (ACROSS) item. This means that YEAR order is primary and OSHA_RATE1 is not really being sorted, so much as it is being PLOPPED underneath each year.

I still recommend that you work with Tech Support on this issue.
cynthia

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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