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
Diamond | Level 26
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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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