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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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