<?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 column percentage within class variable in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/column-percentage-within-class-variable/m-p/507416#M1441</link>
    <description>&lt;P&gt;My code looks as following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc tabulate data=invand(where=(fodelselandgrupp^='Sverige')) order=formatted missing;&lt;BR /&gt;title 'GFB och ålder inkl missing';&lt;BR /&gt;class gfb alderinv kon ;&lt;BR /&gt;table (kon='' all='Totalt')*(alderinv='' all='Alla'),(gfb='GFB' all='Alla')*(N='' rowpctn='Row %' pctn&amp;lt;kon all&amp;gt;='Col %')/box= 'Ålder vid invandringsår';&lt;BR /&gt;format alderinv aldkat. gfb gfbgrupp. kon $kon.;&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With output attached&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I want the column percentage to sum up into 100% witihin the variable "kon", (witihin "Kvinnor" and "Män").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Oct 2018 07:31:55 GMT</pubDate>
    <dc:creator>TobbeNord</dc:creator>
    <dc:date>2018-10-25T07:31:55Z</dc:date>
    <item>
      <title>column percentage within class variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/column-percentage-within-class-variable/m-p/507416#M1441</link>
      <description>&lt;P&gt;My code looks as following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc tabulate data=invand(where=(fodelselandgrupp^='Sverige')) order=formatted missing;&lt;BR /&gt;title 'GFB och ålder inkl missing';&lt;BR /&gt;class gfb alderinv kon ;&lt;BR /&gt;table (kon='' all='Totalt')*(alderinv='' all='Alla'),(gfb='GFB' all='Alla')*(N='' rowpctn='Row %' pctn&amp;lt;kon all&amp;gt;='Col %')/box= 'Ålder vid invandringsår';&lt;BR /&gt;format alderinv aldkat. gfb gfbgrupp. kon $kon.;&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With output attached&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I want the column percentage to sum up into 100% witihin the variable "kon", (witihin "Kvinnor" and "Män").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Oct 2018 07:31:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/column-percentage-within-class-variable/m-p/507416#M1441</guid>
      <dc:creator>TobbeNord</dc:creator>
      <dc:date>2018-10-25T07:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: column percentage within class variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/column-percentage-within-class-variable/m-p/507432#M1448</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166093"&gt;@TobbeNord&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please replace&lt;/P&gt;
&lt;PRE&gt;pctn&amp;lt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;kon&lt;/FONT&gt;&lt;/STRONG&gt; all&amp;gt;&lt;/PRE&gt;
&lt;P&gt;with&lt;/P&gt;
&lt;PRE&gt;pctn&amp;lt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;alderinv&lt;/FONT&gt;&lt;/STRONG&gt; all&amp;gt;&lt;/PRE&gt;
&lt;P&gt;and check if the new results meet your expectations.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 09:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/column-percentage-within-class-variable/m-p/507432#M1448</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-10-25T09:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: column percentage within class variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/column-percentage-within-class-variable/m-p/507438#M1449</link>
      <description>Great!! Of course! Stupid of me.</description>
      <pubDate>Thu, 25 Oct 2018 09:59:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/column-percentage-within-class-variable/m-p/507438#M1449</guid>
      <dc:creator>TobbeNord</dc:creator>
      <dc:date>2018-10-25T09:59:08Z</dc:date>
    </item>
  </channel>
</rss>

