<?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: Subtotal percentage on a proc tabulate in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530875#M5819</link>
    <description>&lt;P&gt;Post test data in the form of a datastep:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why does your "Total" = sum(n column) and sum(subgroup percentage)?&amp;nbsp; What is it a percentage of?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jan 2019 09:44:14 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2019-01-29T09:44:14Z</dc:date>
    <item>
      <title>Subtotal percentage on a proc tabulate</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530866#M5818</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a proc tabulate procedure which i have 12 generations from 201801 to 201812 and i want to calculate for each generation the percentage as :&lt;/P&gt;&lt;P&gt;9/152=...%&lt;/P&gt;&lt;P&gt;72/152=..%&lt;/P&gt;&lt;P&gt;72/152=..%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried this code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;PROC TABULATE&lt;BR /&gt;DATA=work.QUERY_REQ_VDR3&lt;BR /&gt;;&lt;BR /&gt;CLASS Generation / ORDER=UNFORMATTED MISSING;&lt;BR /&gt;CLASS magazin / ORDER=UNFORMATTED MISSING;&lt;BR /&gt;CLASS SCOREFEU / ORDER=UNFORMATTED MISSING;&lt;BR /&gt;TABLE&lt;BR /&gt;/* ROW Statement */&lt;BR /&gt;(magazin *(SCOREFEU all = 'Total' )&lt;BR /&gt;all = 'Total' ) ,&lt;BR /&gt;/* COLUMN Statement */&lt;BR /&gt;(Generation all = 'Total')*&lt;BR /&gt;(N*f=8.&lt;BR /&gt;pctn&amp;lt;SCOREFEU*Generation&lt;BR /&gt;SCOREFEU*all&lt;BR /&gt;all*Generation all&amp;gt; ='Subtotal Percent'*f=8.4) / rts=20;&lt;BR /&gt;;&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;RUN; QUIT;&lt;BR /&gt;TITLE; FOOTNOTE;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but is not working to calculate this thing for each SCORE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you help me with a solution please ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 183px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26655i825D162CF5B9D5DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:06:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530866#M5818</guid>
      <dc:creator>rimob</dc:creator>
      <dc:date>2019-01-29T09:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal percentage on a proc tabulate</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530875#M5819</link>
      <description>&lt;P&gt;Post test data in the form of a datastep:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why does your "Total" = sum(n column) and sum(subgroup percentage)?&amp;nbsp; What is it a percentage of?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 09:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530875#M5819</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-01-29T09:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal percentage on a proc tabulate</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530883#M5824</link>
      <description>&lt;P&gt;I tried to run the following code as you suggested to me :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;*************** TEST*******************;&lt;BR /&gt;data WORK.CLASS(label='Student Data');&lt;BR /&gt;infile datalines dsd truncover;&lt;BR /&gt;input Name:$8. Sex:$1. Age:32. Height:32. Weight:32.;&lt;BR /&gt;datalines;&lt;BR /&gt;Alfred M 14 69 112.5&lt;BR /&gt;Alice F 13 56.5 84&lt;BR /&gt;Barbara F 13 65.3 98&lt;BR /&gt;Carol F 14 62.8 102.5&lt;BR /&gt;Henry M 14 63.5 102.5&lt;BR /&gt;;;;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*data set you want to create demo data for;&lt;BR /&gt;%let dataSetName = sashelp.Class;&lt;BR /&gt;*number of observations you want to keep;&lt;BR /&gt;%let obsKeep = 5;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;******************************************************&lt;BR /&gt;DO NOT CHANGE ANYTHING BELOW THIS LINE&lt;BR /&gt;******************************************************;&lt;/P&gt;&lt;P&gt;%let source_path = &lt;A href="https://gist.githubusercontent.com/statgeek/bcc55940dd825a13b9c8ca40a904cba9/raw/865d2cf18f5150b8e887218dde0fc3951d0ff15b/data2datastep.sas" target="_blank"&gt;https://gist.githubusercontent.com/statgeek/bcc55940dd825a13b9c8ca40a904cba9/raw/865d2cf18f5150b8e887218dde0fc3951d0ff15b/data2datastep.sas&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;filename reprex url "&amp;amp;source_path";&lt;BR /&gt;%include reprex;&lt;BR /&gt;filename reprex;&lt;/P&gt;&lt;P&gt;option linesize=max;&lt;BR /&gt;%data2datastep(dsn=&amp;amp;dataSetName, obs=&amp;amp;obsKeep);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*****************************;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i have the following in LOG :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;1 ;*';*";*/;quit;run;&lt;BR /&gt;2 OPTIONS PAGENO=MIN;&lt;BR /&gt;3 %LET _CLIENTTASKLABEL='Program';&lt;BR /&gt;4 %LET _CLIENTPROJECTPATH='C:\Users\rami.bayassi\Desktop\SCRIPT ANNUAL ANALYSIS\script_cereri_oney_final_28012019.egp';&lt;BR /&gt;5 %LET _CLIENTPROJECTNAME='script_cereri_oney_final_28012019.egp';&lt;BR /&gt;6 %LET _SASPROGRAMFILE=;&lt;BR /&gt;7&lt;BR /&gt;8 ODS _ALL_ CLOSE;&lt;BR /&gt;9 OPTIONS DEV=ACTIVEX;&lt;BR /&gt;NOTE: Procedures may not support all options or statements for all devices. For details, see the documentation for each procedure.&lt;BR /&gt;10 GOPTIONS XPIXELS=0 YPIXELS=0;&lt;BR /&gt;11 FILENAME EGSR TEMP;&lt;BR /&gt;12 ODS tagsets.sasreport12(ID=EGSR) FILE=EGSR STYLE=Analysis STYLESHEET=(URL="file:///C:/Program%20Files/SAS/SharedFiles/BIClientStyles/4.2/Analysis.css") NOGTITLE NOGFOOTNOTE GPATH=&amp;amp;sasworklocation ENCODING=UTF8 options(rolap="on");&lt;BR /&gt;NOTE: Writing TAGSETS.SASREPORT12(EGSR) Body file: EGSR&lt;BR /&gt;13&lt;BR /&gt;14 GOPTIONS ACCESSIBLE;&lt;BR /&gt;15&lt;BR /&gt;16 *data set you want to create demo data for;&lt;BR /&gt;17 %let dataSetName = sashelp.Class;&lt;BR /&gt;18 *number of observations you want to keep;&lt;BR /&gt;19 %let obsKeep = 5;&lt;BR /&gt;20&lt;BR /&gt;21&lt;BR /&gt;22 ******************************************************&lt;BR /&gt;23 DO NOT CHANGE ANYTHING BELOW THIS LINE&lt;BR /&gt;24 ******************************************************;&lt;BR /&gt;25&lt;BR /&gt;26 %let source_path = &lt;A href="https://gist.githubusercontent.com/statgeek/bcc55940dd825a13b9c8ca40a904cba9/raw/865d2cf18f5150b8e887218dde0fc3951d0ff15b/data2datastep.sas" target="_blank"&gt;https://gist.githubusercontent.com/statgeek/bcc55940dd825a13b9c8ca40a904cba9/raw/865d2cf18f5150b8e887218dde0fc3951d0ff15b/data2datastep.sas&lt;/A&gt;;&lt;BR /&gt;27&lt;BR /&gt;28 filename reprex url "&amp;amp;source_path";&lt;BR /&gt;ERROR: The connection has timed out..&lt;BR /&gt;ERROR: Cannot open %INCLUDE file REPREX.&lt;BR /&gt;29 %include reprex;&lt;BR /&gt;30 filename reprex;&lt;BR /&gt;NOTE: Fileref REPREX has been deassigned.&lt;BR /&gt;31&lt;BR /&gt;32 option linesize=max;&lt;BR /&gt;WARNING: Apparent invocation of macro DATA2DATASTEP not resolved.&lt;BR /&gt;33 %data2datastep(dsn=&amp;amp;dataSetName, obs=&amp;amp;obsKeep);&lt;BR /&gt;_&lt;BR /&gt;180&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;34&lt;BR /&gt;35 GOPTIONS NOACCESSIBLE;&lt;BR /&gt;36 %LET _CLIENTTASKLABEL=;&lt;BR /&gt;37 %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;38 %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;39 %LET _SASPROGRAMFILE=;&lt;BR /&gt;40&lt;BR /&gt;41 ;*';*";*/;quit;run;&lt;BR /&gt;2 The SAS System 16:08 Monday, January 28, 2019&lt;/P&gt;&lt;P&gt;42 ODS _ALL_ CLOSE;&lt;BR /&gt;43&lt;BR /&gt;44&lt;BR /&gt;45 QUIT; RUN;&lt;BR /&gt;46&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i should change?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&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, 29 Jan 2019 10:04:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530883#M5824</guid>
      <dc:creator>rimob</dc:creator>
      <dc:date>2019-01-29T10:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal percentage on a proc tabulate</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530895#M5829</link>
      <description>&lt;P&gt;You can pop the web address:&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;https:&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;gist&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;githubusercontent&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;com&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;statgeek&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;bcc55940dd825a13b9c8ca40a904cba9&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;raw&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;865&lt;/SPAN&gt;d2cf18f5150b8e887218dde0fc3951d0ff15b&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;data2datastep&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;sas&lt;/LI-CODE&gt;
&lt;P&gt;Directly into your broswer.&amp;nbsp; This will load the text into the browser.&amp;nbsp; Right click on the text and Save as to a local file (remember to remove .txt from the end so the filetype is .sas.&amp;nbsp; Then include that local file as:&lt;/P&gt;
&lt;PRE&gt;%include "\\pathtoyourlocalfile\data2datastep.sas";
&lt;/PRE&gt;
&lt;P&gt;Obviously change pathtoyourlocalfile with the actual place where you saved it.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 10:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530895#M5829</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-01-29T10:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal percentage on a proc tabulate</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530906#M5832</link>
      <description>&lt;P&gt;is working, could you explain to me with what is suppose to help me this test ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i have the following CODE :&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;TITLE;&lt;BR /&gt;TITLE1 "SCORE by each store &amp;amp;luna.";&lt;BR /&gt;PROC TABULATE&lt;BR /&gt;DATA=work.QUERY_REQ_VDR3&lt;BR /&gt;;&lt;BR /&gt;CLASS Generation / ORDER=UNFORMATTED MISSING;&lt;BR /&gt;CLASS magazin / ORDER=UNFORMATTED MISSING;&lt;BR /&gt;CLASS SCORE / ORDER=UNFORMATTED MISSING;&lt;BR /&gt;TABLE&lt;BR /&gt;/* ROW Statement */&lt;BR /&gt;(magazin *&lt;BR /&gt;(SCORE&amp;nbsp;&lt;BR /&gt;all = 'Total' )&lt;BR /&gt;all = 'Total' ) ,&lt;BR /&gt;/* COLUMN Statement */&lt;BR /&gt;Generation * N&lt;BR /&gt;all = 'Total' * N ;&lt;BR /&gt;;&lt;BR /&gt;;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;RUN; QUIT;&lt;BR /&gt;TITLE; FOOTNOTE;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i generated this table below for each store:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26656i2DA4DE330FB49347/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and i want to calculate the percentage for each score as :&amp;nbsp;&lt;/P&gt;&lt;P&gt;for 201801:&lt;/P&gt;&lt;P&gt;O=9/152=..%&lt;/P&gt;&lt;P&gt;R=72/152=..%&lt;/P&gt;&lt;P&gt;V=71/152=..%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but with my first code, the calculation is not correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which function of % in proc tabulate you think i should use.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 10:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/530906#M5832</guid>
      <dc:creator>rimob</dc:creator>
      <dc:date>2019-01-29T10:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal percentage on a proc tabulate</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/531040#M5846</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/112783"&gt;@rimob&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;is working, could you explain to me with what is suppose to help me this test ?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The data set code generated by the macro is expected to be pasted into a code box such as is opened on the forum with the {I} icon so that we can create a data set to test your existing code and to text suggested code to provide workable solutions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26656i2DA4DE330FB49347/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and i want to calculate the percentage for each score as :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for 201801:&lt;/P&gt;
&lt;P&gt;O=9/152=..%&lt;/P&gt;
&lt;P&gt;R=72/152=..%&lt;/P&gt;
&lt;P&gt;V=71/152=..%&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That looks like you want the COLPCTN statistic requested along with N&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe&lt;/P&gt;
&lt;PRE&gt;PROC TABULATE DATA=work.QUERY_REQ_VDR3
;
   CLASS Generation / ORDER=UNFORMATTED MISSING;
   CLASS magazin / ORDER=UNFORMATTED MISSING;
   CLASS SCORE / ORDER=UNFORMATTED MISSING;
   TABLE
      /* ROW Statement */
      (magazin *
      (SCORE 
      all = 'Total' )
      all = 'Total' ) ,
      /* COLUMN Statement */
      (Generation All='Total')*( N colpctn )
     
   ;
RUN;&lt;/PRE&gt;
&lt;P&gt;Notice that pasting code in the code box will preserve formatting making it easier to read.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 15:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/531040#M5846</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-29T15:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Subtotal percentage on a proc tabulate</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/531417#M5898</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&lt;BR /&gt;Thank you for your answer but unfortunately is not working, the calculation is not right for example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 150px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26710i713B8C7CEAC685A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it should calculate 9/152 but the calculation is 9/Total_generaion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have another solution please ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 15:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subtotal-percentage-on-a-proc-tabulate/m-p/531417#M5898</guid>
      <dc:creator>rimob</dc:creator>
      <dc:date>2019-01-30T15:56:58Z</dc:date>
    </item>
  </channel>
</rss>

