<?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: Crosstab report with calculated column in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325239#M17742</link>
    <description>&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6751i56D76854AE25EBE2/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screenshot_20170117-110509.png" title="Screenshot_20170117-110509.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2017 11:06:35 GMT</pubDate>
    <dc:creator>cxkev182</dc:creator>
    <dc:date>2017-01-17T11:06:35Z</dc:date>
    <item>
      <title>Crosstab report with calculated column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325195#M17737</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following dataset:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have;&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="blue"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Skillset $ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Year &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Offered &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Answered &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Abandoned;&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="blue"&gt;cards&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL1 2014 1116 952 164&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL1 2015 1579 977 602&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL1 2016 1475 936 539&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL2 2014 1422 876 546&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL2 2015 1545 810 735&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL2 2016 1200 988 212&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL3 2014 1332 855 477&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL3 2015 1071 836 235&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;SKILL3 2016 1020 837 183&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt; &lt;BR /&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Is it possible to create a report in SAS 9.2 with year down the side, skillets going across the top, then within each skill set the a column for offered, answered, abandoned and also a calculated column PCA which is answered/offered as a percentage.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;See attachment for desired report.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thanks for any help,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;cxkev&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 09:06:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325195#M17737</guid>
      <dc:creator>cxkev182</dc:creator>
      <dc:date>2017-01-17T09:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstab report with calculated column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325224#M17738</link>
      <description>can you paste the picture in message itself, I am unable to download it.</description>
      <pubDate>Tue, 17 Jan 2017 10:18:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325224#M17738</guid>
      <dc:creator>Vish33</dc:creator>
      <dc:date>2017-01-17T10:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstab report with calculated column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325239#M17742</link>
      <description>&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6751i56D76854AE25EBE2/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screenshot_20170117-110509.png" title="Screenshot_20170117-110509.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 11:06:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325239#M17742</guid>
      <dc:creator>cxkev182</dc:creator>
      <dc:date>2017-01-17T11:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstab report with calculated column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325367#M17745</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;Yes, you can do this kind of crosstab report using PROC REPORT and ACROSS items. This paper&amp;nbsp;&lt;A href="http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf&amp;nbsp;" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf&amp;nbsp;&lt;/A&gt; discusses using ACROSS items, absolute column numbers and COMPUTE blocks -- starting on page 9 approximately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here is an example using SASHELP.SHOES with 3 rows (1 for each region) and 2 PRODUCTS shown on report #1, then report #2 code illustrates how the absolute column numbers need to be used for the calculated column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6763iA52C176B9E586458/image-size/original?v=v2&amp;amp;px=-1" alt="show_abs_col.png" title="show_abs_col.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 17:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325367#M17745</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-17T17:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Crosstab report with calculated column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325489#M17749</link>
      <description>Thank you very much for your help Cynthia</description>
      <pubDate>Tue, 17 Jan 2017 21:41:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Crosstab-report-with-calculated-column/m-p/325489#M17749</guid>
      <dc:creator>cxkev182</dc:creator>
      <dc:date>2017-01-17T21:41:07Z</dc:date>
    </item>
  </channel>
</rss>

