<?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: how to produce two columns for the same variable in define statement in proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-produce-two-rows-for-the-same-variable-in-define/m-p/438470#M20426</link>
    <description>&lt;P&gt;I don't think that's a matter but I need to produce another row for the same variable to compute the percentage.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2018 19:36:51 GMT</pubDate>
    <dc:creator>mona4u</dc:creator>
    <dc:date>2018-02-19T19:36:51Z</dc:date>
    <item>
      <title>how to produce two rows for the same variable in define statement in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-produce-two-rows-for-the-same-variable-in-define/m-p/438464#M20424</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to produce a second row for each variable in my define statement that's the aimed result&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Site&lt;/TD&gt;&lt;TD&gt;6-Feb-18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sites Contracted:&lt;/TD&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sites Initiated:&lt;/TD&gt;&lt;TD&gt;37&lt;/TD&gt;&lt;TD&gt;108.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sites Qualified:&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;17.6%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sites Supplied:&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;20.6%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code that I want to enhance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc report data=auto3;&lt;BR /&gt;column Sites_Contracted site_number1 Site_Approved1 Date_Supplied3;&lt;BR /&gt;define Sites_Contracted / analysis mean "Sites Contracted";&lt;BR /&gt;define site_number1 / analysis n "Sites Initiated";&lt;BR /&gt;define Site_Approved1 / sum "Sites Qualified";&lt;BR /&gt;define Date_Supplied3/ sum "Sites Supplied" ;&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;this is my current result&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sites Contracted Sites Initiated Sites Qualified Sites Supplied&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;TD&gt;37&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 19 Feb 2018 19:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-produce-two-rows-for-the-same-variable-in-define/m-p/438464#M20424</guid>
      <dc:creator>mona4u</dc:creator>
      <dc:date>2018-02-19T19:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to produce two columns for the same variable in define statement in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-produce-two-rows-for-the-same-variable-in-define/m-p/438468#M20425</link>
      <description>&lt;P&gt;What does your input&amp;nbsp;data look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 19:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-produce-two-rows-for-the-same-variable-in-define/m-p/438468#M20425</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-19T19:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to produce two columns for the same variable in define statement in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-produce-two-rows-for-the-same-variable-in-define/m-p/438470#M20426</link>
      <description>&lt;P&gt;I don't think that's a matter but I need to produce another row for the same variable to compute the percentage.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 19:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-produce-two-rows-for-the-same-variable-in-define/m-p/438470#M20426</guid>
      <dc:creator>mona4u</dc:creator>
      <dc:date>2018-02-19T19:36:51Z</dc:date>
    </item>
  </channel>
</rss>

