<?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 Re: Issue with numeric always 0 in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-with-numeric-always-0/m-p/67717#M7834</link>
    <description>Fixed it - Needed "meets_target.sum"</description>
    <pubDate>Fri, 12 Mar 2010 10:45:57 GMT</pubDate>
    <dc:creator>VOSA_Andy</dc:creator>
    <dc:date>2010-03-12T10:45:57Z</dc:date>
    <item>
      <title>Issue with numeric always 0</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-with-numeric-always-0/m-p/67716#M7833</link>
      <description>I'm having an issue with conditional logic with a numeric field, no matter what I do/change the logic insists on returning a result as if the field hold zero.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;BR /&gt;
&lt;BR /&gt;
proc report data=work.TMP_KEY_TARGETS;&lt;BR /&gt;
  COMPUTE meets_target;&lt;BR /&gt;
	if meets_target &amp;gt; -1 then do;&lt;BR /&gt;
       call define('meets_target.sum','style','style=[background=red]');&lt;BR /&gt;
	end;&lt;BR /&gt;
    if meets_target &amp;lt; -1 then do;&lt;BR /&gt;
       call define('meets_target.sum','style','style=[background=yellow]');&lt;BR /&gt;
	end;&lt;BR /&gt;
&lt;BR /&gt;
  ENDCOMP;&lt;BR /&gt;
 run;

Fixed it - needed "meets_target.sum"&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: VOSA - Andy</description>
      <pubDate>Fri, 12 Mar 2010 09:36:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-with-numeric-always-0/m-p/67716#M7833</guid>
      <dc:creator>VOSA_Andy</dc:creator>
      <dc:date>2010-03-12T09:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with numeric always 0</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-with-numeric-always-0/m-p/67717#M7834</link>
      <description>Fixed it - Needed "meets_target.sum"</description>
      <pubDate>Fri, 12 Mar 2010 10:45:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issue-with-numeric-always-0/m-p/67717#M7834</guid>
      <dc:creator>VOSA_Andy</dc:creator>
      <dc:date>2010-03-12T10:45:57Z</dc:date>
    </item>
  </channel>
</rss>

