<?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: PCTSUM-proc tabulate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535523#M147066</link>
    <description>&lt;P&gt;Percect!&lt;/P&gt;
&lt;P&gt;This is the solution I searched for&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2019 09:08:21 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2019-02-14T09:08:21Z</dc:date>
    <item>
      <title>PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535142#M146917</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;In the following code I want to calculate PCT of Sum Loan.&lt;BR /&gt;The problem is that I want to get calculation for each&amp;nbsp;quarter_year value separately.&lt;BR /&gt;So....Total for each&amp;nbsp;quarter_year &amp;nbsp;will be 100%.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data rawdata;
input ID quarter_year$	year Sum_Loan  sum_profit  score;
cards;
1 Q1-2017	2017 10 1 2
2 Q1-2017	2017 20 2 2
3 Q1-2017	2017 30 3 3 
4 Q1-2017	2017 40 4 3
5 Q1-2017	2017 50 5 4
6 Q2-2017	2017 60 6 2
7 Q2-2017	2017 70 7 4
8 Q2-2017	2017 80 8 3
9 Q3-2017	2017 90 9 4
10 Q3-2017	2017 100 1 2
11 Q3-2017	2017 110 2 3
12 Q3-2017	2017 120 3 3
13 Q3-2017	2017 130 4 3
14 Q3-2017	2017 140 5 3
15 Q3-2017	2017 150 6 4
16 Q3-2017	2017 160 7 2
17 Q3-2017	2017 170 8 4
18 Q3-2017  2017 180 9 2
19 Q3-2017	2017 190 10 2
20 Q3-2017	2017 200 11 2
;
run;

proc format library=work;
value $qy (multilabel notsorted)
'Q1-2017'='Q1-2017'
'Q2-2017'='Q2-2017'
'Q3-2017'='Q3-2017'
'Q4-2017'='Q4-2017'
;
run;


proc tabulate data=rawdata;
   class score quarter_year /mlf;
   format quarter_year $qy.;
   var Sum_Loan  sum_profit;
   table score='',quarter_year*sum_loan=''* sum='Sum of loans'*f=best8.
                  quarter_year*sum_loan=''* N='Number of loans'*f=best8.
				  quarter_year*sum_loan=''* PCTSUM='PCT of sum loans'*f=best8.

/row=float box='Statistic'
   ;
run;


&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 10:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535142#M146917</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-02-13T10:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535146#M146920</link>
      <description>&lt;P&gt;Please test example data code before posting. I had to remove a lot of tabs in the datalines block to make it work.&lt;/P&gt;
&lt;P&gt;Hint: set your Enhanced Editor to replace tabs with spaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You only need a SQL for this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data rawdata;
input ID quarter_year$	year Sum_Loan  sum_profit  score;
cards;
1 Q1-2017 2017 10 1 2
2 Q1-2017 2017 20 2 2
3 Q1-2017 2017 30 3 3 
4 Q1-2017 2017 40 4 3
5 Q1-2017 2017 50 5 4
6 Q2-2017 2017 60 6 2
7 Q2-2017 2017 70 7 4
8 Q2-2017 2017 80 8 3
9 Q3-2017 2017 90 9 4
10 Q3-2017 2017 100 1 2
11 Q3-2017 2017 110 2 3
12 Q3-2017 2017 120 3 3
13 Q3-2017 2017 130 4 3
14 Q3-2017 2017 140 5 3
15 Q3-2017 2017 150 6 4
16 Q3-2017 2017 160 7 2
17 Q3-2017 2017 170 8 4
18 Q3-2017 2017 180 9 2
19 Q3-2017 2017 190 10 2
20 Q3-2017 2017 200 11 2
;
run;

proc sql;
create table want as
select
  id,
  quarter_year,
  sum_loan,
  sum_loan / sum(sum_loan) format=percent7.2 as pct_sum_loan
from rawdata
group by quarter_year
order by id;
quit;

proc print data= want noobs;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;PRE&gt;       quarter_                pct_sum_
 ID      year      Sum_Loan      loan

  1    Q1-2017         10       6.67%  
  2    Q1-2017         20       13.3%  
  3    Q1-2017         30       20.0%  
  4    Q1-2017         40       26.7%  
  5    Q1-2017         50       33.3%  
  6    Q2-2017         60       28.6%  
  7    Q2-2017         70       33.3%  
  8    Q2-2017         80       38.1%  
  9    Q3-2017         90       5.17%  
 10    Q3-2017        100       5.75%  
 11    Q3-2017        110       6.32%  
 12    Q3-2017        120       6.90%  
 13    Q3-2017        130       7.47%  
 14    Q3-2017        140       8.05%  
 15    Q3-2017        150       8.62%  
 16    Q3-2017        160       9.20%  
 17    Q3-2017        170       9.77%  
 18    Q3-2017        180       10.3%  
 19    Q3-2017        190       10.9%  
 20    Q3-2017        200       11.5%  
&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 11:36:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535146#M146920</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-13T11:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535149#M146922</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;I want to learn to do it via proc tabulate.&lt;/P&gt;
&lt;P&gt;I want to understand PCTSUM option better and calculate it per group and not per global sum&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 11:38:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535149#M146922</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-02-13T11:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535154#M146924</link>
      <description>&lt;P&gt;This solution is good but my question was how to do it without creating another raw data table (Help1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data rawdata;
input ID quarter_year$	year Sum_Loan  sum_profit  score;
cards;
1 Q1-2017	2017 10 1 2
2 Q1-2017	2017 20 2 2
3 Q1-2017	2017 30 3 3 
4 Q1-2017	2017 40 4 3
5 Q1-2017	2017 50 5 4
6 Q2-2017	2017 60 6 2
7 Q2-2017	2017 70 7 4
8 Q2-2017	2017 80 8 3
9 Q3-2017	2017 90 9 4
10 Q3-2017	2017 100 1 2
11 Q3-2017	2017 110 2 3
12 Q3-2017	2017 120 3 3
13 Q3-2017	2017 130 4 3
14 Q3-2017	2017 140 5 3
15 Q3-2017	2017 150 6 4
16 Q3-2017	2017 160 7 2
17 Q3-2017	2017 170 8 4
18 Q3-2017  2017 180 9 2
19 Q3-2017	2017 190 10 2
20 Q3-2017	2017 200 11 2
;
run;

proc format library=work;
value $qy (multilabel notsorted)
'Q1-2017'='Q1-2017'
'Q2-2017'='Q2-2017'
'Q3-2017'='Q3-2017'
'Q4-2017'='Q4-2017'
'Q1-2018'='Q1-2018'
'Q2-2018'='Q2-2018'
'Q3-2018'='Q3-2018'
'Q4-2018'='Q4-2018'
;
run;

proc sql;
create table Help1 as
select quarter_year,
			sum(sum_loan) as Total_sum_loan_per_quarter_year
from rawdata
group by quarter_year
;
quit;
PROC SQL;
	create table want  as
	select  a.*,
             b.Total_sum_loan_per_quarter_year,
             a.sum_loan/b.Total_sum_loan_per_quarter_year*100 as pct_sum_loan 
	from  rawdata as a
	left join Help1 as b
	on a.quarter_year=b.quarter_year
;
QUIT;


proc tabulate data=want;
   class score quarter_year /mlf;
   format quarter_year $qy.;
   var Sum_Loan  sum_profit pct_sum_loan;
   table score='',quarter_year*sum_loan=''* sum='Sum of loans'*f=best8.
                  quarter_year*sum_loan=''* N='Number of loans'*f=best8.
				  quarter_year*sum_profit=''* N='Sum of profit'*f=best8.
				  quarter_year*pct_sum_loan=''*SUM='PCT of sum loans'*f=best8./row=float box='Statistic';
run;


/*Not good!!!!!!!!!!!!!!!!-Why???????????*/
/*proc tabulate data=rawdata;*/
/*   class score quarter_year /mlf;*/
/*   format quarter_year $qy.;*/
/*   var Sum_Loan  sum_profit;*/
/*   table score='',quarter_year*sum_loan=''* sum='Sum of loans'*f=best8.*/
/*                  quarter_year*sum_loan=''* N='Number of loans'*f=best8.*/
/*				  quarter_year*sum_loan=''* PCTSUM='PCT of sum loans'*f=best8.*/
/**/
/*/row=float box='Statistic'*/
/*   ;*/
/*run;*/


&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 11:52:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535154#M146924</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-02-13T11:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535161#M146927</link>
      <description>&lt;P&gt;As I showed you in my first post, you can do it in one SQL:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table want as
select
  *,
  sum_loan / sum(sum_loan) format=percent7.2 as pct_sum_loan
from rawdata
group by quarter_year
order by id;
quit;

proc tabulate data=want;
   class score quarter_year;
   var Sum_Loan  sum_profit pct_sum_loan;
   table score='',quarter_year*sum_loan=''* sum='Sum of loans'*f=best8.
                  quarter_year*sum_loan=''* N='Number of loans'*f=best8.
				  quarter_year*sum_profit=''* N='Sum of profit'*f=best8.
				  quarter_year*pct_sum_loan=''*SUM='PCT of sum loans'*f=percent7.2./row=float box='Statistic';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that your format just reformats all values to themselves, and is therefore useless.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 12:15:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535161#M146927</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-13T12:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535162#M146928</link>
      <description>&lt;P&gt;Try keyword colPctSum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data rawdata;
input ID quarter_year$	year Sum_Loan  sum_profit  score;
cards;
1 Q1-2017	2017 10 1 2
2 Q1-2017	2017 20 2 2
3 Q1-2017	2017 30 3 3 
4 Q1-2017	2017 40 4 3
5 Q1-2017	2017 50 5 4
6 Q2-2017	2017 60 6 2
7 Q2-2017	2017 70 7 4
8 Q2-2017	2017 80 8 3
9 Q3-2017	2017 90 9 4
10 Q3-2017	2017 100 1 2
11 Q3-2017	2017 110 2 3
12 Q3-2017	2017 120 3 3
13 Q3-2017	2017 130 4 3
14 Q3-2017	2017 140 5 3
15 Q3-2017	2017 150 6 4
16 Q3-2017	2017 160 7 2
17 Q3-2017	2017 170 8 4
18 Q3-2017  2017 180 9 2
19 Q3-2017	2017 190 10 2
20 Q3-2017	2017 200 11 2
;
run;

proc format library=work;
value $qy (multilabel notsorted)
'Q1-2017'='Q1-2017'
'Q2-2017'='Q2-2017'
'Q3-2017'='Q3-2017'
'Q4-2017'='Q4-2017'
;
run;


proc tabulate data=rawdata;
   class score quarter_year /mlf;
   format quarter_year $qy.;
   var Sum_Loan  sum_profit;
   table score='',quarter_year*sum_loan=''* sum='Sum of loans'*f=best8.
                  quarter_year*sum_loan=''* N='Number of loans'*f=best8.
				  quarter_year*sum_loan=''* colPCTSUM='PCT of sum loans'*f=best8.
/row=float box='Statistic'
   ;
run;


&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Feb 2019 12:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535162#M146928</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-02-13T12:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535168#M146931</link>
      <description>&lt;P&gt;I think this may be what you are looking for, I did add row and column totals that you may not want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=rawdata;
   class score quarter_year /mlf;
   var Sum_Loan  sum_profit;
   table score='' all='Total',
      quarter_year='Quarter'*
        (sum_loan=''* sum='Loan sum'*f=best8. sum_loan=''*PCTSUM&amp;lt;quarter_year&amp;gt;='Pct Quarter' sum_loan=''* N='Number of loans'*f=best8.)
      sum_loan=''* sum='Total Loan sum'*f=best8. sum_loan=''*PCTSUM='Total Pct Quarter' sum_loan=''* N='Total Number of loans'*f=best8.
      /row=float box='Statistic'    ;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Which will give you this:&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;TABLE class="systitleandfootercontainer" border="0" summary="Page Layout" width="100%" frame="void" rules="none" cellspacing="1" cellpadding="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="c systemtitle"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;BR /&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Tabulate: Table 1" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt; &lt;COL /&gt;&lt;/COLGROUP&gt; &lt;COLGROUP&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt; &lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c m header" rowspan="3" scope="col"&gt;Statistic&lt;/TH&gt;
&lt;TH class="c header" colspan="9" scope="colgroup"&gt;Quarter&lt;/TH&gt;
&lt;TH class="c header" rowspan="2" scope="col"&gt;&amp;nbsp;&lt;/TH&gt;
&lt;TH class="c header" rowspan="2" scope="col"&gt;&amp;nbsp;&lt;/TH&gt;
&lt;TH class="c header" rowspan="2" scope="col"&gt;&amp;nbsp;&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="c header" colspan="3" scope="colgroup"&gt;Q1-2017&lt;/TH&gt;
&lt;TH class="c header" colspan="3" scope="colgroup"&gt;Q2-2017&lt;/TH&gt;
&lt;TH class="c header" colspan="3" scope="colgroup"&gt;Q3-2017&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="c header" scope="col"&gt;Loan sum&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Pct Quarter&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Number of loans&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Loan sum&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Pct Quarter&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Number of loans&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Loan sum&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Pct Quarter&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Number of loans&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Total Loan sum&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Total Pct Quarter&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Total Number&lt;BR /&gt;of loans&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;2&lt;/TH&gt;
&lt;TD class="r b data"&gt;30&lt;/TD&gt;
&lt;TD class="r b data"&gt;3.26&lt;/TD&gt;
&lt;TD class="r b data"&gt;2&lt;/TD&gt;
&lt;TD class="r b data"&gt;60&lt;/TD&gt;
&lt;TD class="r b data"&gt;6.52&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;830&lt;/TD&gt;
&lt;TD class="r b data"&gt;90.22&lt;/TD&gt;
&lt;TD class="r b data"&gt;5&lt;/TD&gt;
&lt;TD class="r b data"&gt;920&lt;/TD&gt;
&lt;TD class="r b data"&gt;43.81&lt;/TD&gt;
&lt;TD class="r b data"&gt;8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;3&lt;/TH&gt;
&lt;TD class="r b data"&gt;70&lt;/TD&gt;
&lt;TD class="r b data"&gt;10.77&lt;/TD&gt;
&lt;TD class="r b data"&gt;2&lt;/TD&gt;
&lt;TD class="r b data"&gt;80&lt;/TD&gt;
&lt;TD class="r b data"&gt;12.31&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;500&lt;/TD&gt;
&lt;TD class="r b data"&gt;76.92&lt;/TD&gt;
&lt;TD class="r b data"&gt;4&lt;/TD&gt;
&lt;TD class="r b data"&gt;650&lt;/TD&gt;
&lt;TD class="r b data"&gt;30.95&lt;/TD&gt;
&lt;TD class="r b data"&gt;7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;4&lt;/TH&gt;
&lt;TD class="r b data"&gt;50&lt;/TD&gt;
&lt;TD class="r b data"&gt;9.43&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;70&lt;/TD&gt;
&lt;TD class="r b data"&gt;13.21&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;410&lt;/TD&gt;
&lt;TD class="r b data"&gt;77.36&lt;/TD&gt;
&lt;TD class="r b data"&gt;3&lt;/TD&gt;
&lt;TD class="r b data"&gt;530&lt;/TD&gt;
&lt;TD class="r b data"&gt;25.24&lt;/TD&gt;
&lt;TD class="r b data"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;Total&lt;/TH&gt;
&lt;TD class="r b data"&gt;150&lt;/TD&gt;
&lt;TD class="r b data"&gt;7.14&lt;/TD&gt;
&lt;TD class="r b data"&gt;5&lt;/TD&gt;
&lt;TD class="r b data"&gt;210&lt;/TD&gt;
&lt;TD class="r b data"&gt;10.00&lt;/TD&gt;
&lt;TD class="r b data"&gt;3&lt;/TD&gt;
&lt;TD class="r b data"&gt;1740&lt;/TD&gt;
&lt;TD class="r b data"&gt;82.86&lt;/TD&gt;
&lt;TD class="r b data"&gt;12&lt;/TD&gt;
&lt;TD class="r b data"&gt;2100&lt;/TD&gt;
&lt;TD class="r b data"&gt;100.00&lt;/TD&gt;
&lt;TD class="r b data"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Feb 2019 12:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535168#M146931</guid>
      <dc:creator>MichaelLarsen</dc:creator>
      <dc:date>2019-02-13T12:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535523#M147066</link>
      <description>&lt;P&gt;Percect!&lt;/P&gt;
&lt;P&gt;This is the solution I searched for&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 09:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535523#M147066</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-02-14T09:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535524#M147067</link>
      <description>&lt;P&gt;Thank you but here the PCT is not per group&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 09:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535524#M147067</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-02-14T09:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535525#M147068</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Percect!&lt;/P&gt;
&lt;P&gt;This is the solution I searched for&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;'s answer is the one that worked for you, you should mark &lt;EM&gt;it&lt;/EM&gt; as the solution; mine just optimised the SQL.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 09:17:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535525#M147068</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-14T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535526#M147069</link>
      <description>&lt;P&gt;Can you please explain the using of symbol "&amp;lt;" in proc tabulate?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 09:17:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535526#M147069</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-02-14T09:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: PCTSUM-proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535527#M147070</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Can you please explain the using of symbol "&amp;lt;" in proc tabulate?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;Look at the section called&lt;/P&gt;
&lt;H4 class="xis-argument" style="box-sizing: border-box; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-weight: bold; line-height: 1.1; color: #333333; margin-top: 0px; margin-bottom: 0px; font-size: 14.08px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;angle brackets &amp;lt;&amp;gt;&lt;/H4&gt;
&lt;P&gt;in the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=proc&amp;amp;docsetTarget=p1g617vn5t3p39n0z9o601rw74jz.htm&amp;amp;locale=en#n068vjo65ip08kn178mvol7b0sdh" target="_blank" rel="noopener"&gt;documentation of the TABLE statement&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 09:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCTSUM-proc-tabulate/m-p/535527#M147070</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-14T09:25:04Z</dc:date>
    </item>
  </channel>
</rss>

