BookmarkSubscribeRSS Feed
QZone
Calcite | Level 5
I am trying to sort the columns of the html output using tableeditor tagset.
The sorting works fine for all the columns but two columns.

Those columns has negative values formatted as percent .

Here is the code I am using.The two variables I am having trouble with are growth and contrib.

Does anyone have similar problem or is it something in my code ?

Please help.



ods listing close;
ods tagsets.tableeditor file="//testfilter.html" style=sasweb
options(sort="yes" sort_arrow_color="brown" exclude_summary="yes"
data_type="String,String,Number,String,String,Numberx,Numberx"
autofilter="yes"
frozen_headers="yes"

autofilter_width="7em"
autofilter_table="1"
);
proc report data=tempGrp3 nowd;
title "Bxxx Fxxx Item Level Exceptions";
Columns Category Sub_Category Item Part_Number Description growth contrib;
define growth / format=percent10.1 'GROWTH';
define contrib / format = percent10.3 'IMPACT';
*rbreak after/summarize;
run;
ods tagsets.tableeditor close;
ods listing;
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
You may find that you get more help on using TAGSETS.TABLEEDITOR if you open a track with Tech Support for this issue. They can look at your specific data and test your code to see what the issue is. Then, if there's a problem with the way the tagset template operates, they can report the problem to the person who wrote this tagset template.

cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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