<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tagattr using percentage in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagattr-using-percentage/m-p/319621#M17528</link>
    <description>&lt;P&gt;data test(keep=&lt;FONT face="Courier New"&gt;contg_mult&lt;/FONT&gt;);&lt;/P&gt;
&lt;P&gt;set test1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample Data&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;contg_mult &lt;/FONT&gt;&lt;BR /&gt;5000&lt;/P&gt;
&lt;P&gt;10000&lt;/P&gt;
&lt;P&gt;150&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In ods I have this&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DEFINE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; contg_mult / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;Display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(column)={tagattr=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"format:00000.00"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; cellwidth=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt just=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;right&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;} &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Contingency Percent"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;I am attempting to display as&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;contg_mult &lt;BR /&gt;&lt;/FONT&gt;50.00&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;100.00&lt;/P&gt;
&lt;P&gt;1.50&lt;/P&gt;
&lt;P&gt;with no percentage sign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I achieve this desired format in ods or is there a way to do this in the dataset itself&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 19:15:15 GMT</pubDate>
    <dc:creator>Q1983</dc:creator>
    <dc:date>2016-12-16T19:15:15Z</dc:date>
    <item>
      <title>tagattr using percentage</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagattr-using-percentage/m-p/319621#M17528</link>
      <description>&lt;P&gt;data test(keep=&lt;FONT face="Courier New"&gt;contg_mult&lt;/FONT&gt;);&lt;/P&gt;
&lt;P&gt;set test1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample Data&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;contg_mult &lt;/FONT&gt;&lt;BR /&gt;5000&lt;/P&gt;
&lt;P&gt;10000&lt;/P&gt;
&lt;P&gt;150&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In ods I have this&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;DEFINE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; contg_mult / &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;Display&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(column)={tagattr=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"format:00000.00"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; cellwidth=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;80&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt just=&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;right&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;} &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Contingency Percent"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;I am attempting to display as&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New"&gt;contg_mult &lt;BR /&gt;&lt;/FONT&gt;50.00&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;100.00&lt;/P&gt;
&lt;P&gt;1.50&lt;/P&gt;
&lt;P&gt;with no percentage sign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I achieve this desired format in ods or is there a way to do this in the dataset itself&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 19:15:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagattr-using-percentage/m-p/319621#M17528</guid>
      <dc:creator>Q1983</dc:creator>
      <dc:date>2016-12-16T19:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: tagattr using percentage</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagattr-using-percentage/m-p/319626#M17530</link>
      <description>put a new define statement like below in proc report along with compute block and the newvar will have the values as expected.&lt;BR /&gt;&lt;BR /&gt;define newvar / computed Display style(column)={tagattr="format:000.00" cellwidth=80pt just=right} "Contingency Percent"; &lt;BR /&gt;&lt;BR /&gt;compute newvar;&lt;BR /&gt;newvar=contg_mult/100;&lt;BR /&gt;endcomp;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Dec 2016 19:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagattr-using-percentage/m-p/319626#M17530</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-12-16T19:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: tagattr using percentage</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagattr-using-percentage/m-p/320852#M17567</link>
      <description>Hope you checked it and it worked.</description>
      <pubDate>Fri, 23 Dec 2016 01:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/tagattr-using-percentage/m-p/320852#M17567</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-12-23T01:29:42Z</dc:date>
    </item>
  </channel>
</rss>

