The SAS Output Delivery System and reporting techniques

Sorting -ve percent variables with tableeditor tagset

Reply
New Contributor
Posts: 3

Sorting -ve percent variables with tableeditor tagset

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;
SAS Super FREQ
Posts: 8,864

Re: Sorting -ve percent variables with tableeditor tagset

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
Ask a Question
Discussion stats
  • 1 reply
  • 99 views
  • 0 likes
  • 2 in conversation