<?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: proc report - display total row at bottom without the format applied to variables it is totaling in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/proc-report-display-total-row-at-bottom-without-the-format/m-p/775641#M31317</link>
    <description>&lt;P&gt;Thank you so much!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2021 13:14:26 GMT</pubDate>
    <dc:creator>mmurph15</dc:creator>
    <dc:date>2021-10-21T13:14:26Z</dc:date>
    <item>
      <title>proc report - display total row at bottom without the format applied to variables it is totaling</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-report-display-total-row-at-bottom-without-the-format/m-p/775631#M31315</link>
      <description>&lt;P&gt;Hi there -&lt;/P&gt;&lt;P&gt;I'm new to using Proc Report and a relative beginner in SAS coding in general. I use SAS 9.4 windows environment. I'm trying to produce some simple quarterly reports. The data is pretty straightforward- several variables where the values are either 1 or missing. I want the columns to display a checkmark if the value is 1 and leave blank if missing. (I haven't figured out how to do this yet, but my code has missing assigned to display "~" for now.) I want a summary row at the bottom of the report displaying the total number of checkmarks in each column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is with the summary row&amp;nbsp; - I want it to display a total number of the number of checkmarks in each column. The way it's working now, is that it is displaying a checkmark instead of a "1" if the total is "1". it is correctly displaying numbers if the total is &amp;gt;1. So, it's applying the format I applied to the variables it is summarizing. Does someone know how to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a screenshot of my results&amp;nbsp; I want that third column total line to display a "1," not a checkmark. Any advice would be very much appreciated!!&amp;nbsp; (My code is below.)&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="mmurph15_0-1634819801244.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64917iE85F90C860AE5589/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmurph15_0-1634819801244.png" alt="mmurph15_0-1634819801244.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;an excerpt of my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods escapechar='^';&lt;/P&gt;&lt;P&gt;proc format ;&lt;BR /&gt;*this code creates a "checkmark" glyph for reports ;&lt;BR /&gt;value check 1="^{unicode '2713'x}"&lt;BR /&gt;.='~';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data=convert;&lt;BR /&gt;column FW_IDname ("Key Activities" nFWA_B01-nFWA_B03);&lt;BR /&gt;define FW_idname / group display "Worksite ID|Name";&amp;nbsp;&lt;BR /&gt;define nFWA_B01 / analysis sum "Recruited, ID'd Partners" center format=check.;&lt;BR /&gt;define nFWA_B02 / analysis sum "Assessed" center format=check.;&lt;BR /&gt;define nFWA_B03 / analysis sum "ID'd Areas for Improvement" center format=check.;&lt;BR /&gt;by grantee;&lt;BR /&gt;where FW_Idname ne "";&lt;BR /&gt;rbreak after /summarize dol ;&lt;BR /&gt;compute after ;&lt;BR /&gt;FW_idname='Total';&lt;BR /&gt;call define (_row_, "style", "STYLE=[font_weight=bold]") ;&lt;BR /&gt;endcomp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 12:41:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-report-display-total-row-at-bottom-without-the-format/m-p/775631#M31315</guid>
      <dc:creator>mmurph15</dc:creator>
      <dc:date>2021-10-21T12:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - display total row at bottom without the format applied to variables it is totaling</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-report-display-total-row-at-bottom-without-the-format/m-p/775634#M31316</link>
      <description>&lt;P&gt;You need to override the format for the summary line. Add additional CALL DEFINE statements:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;compute after ;
  FW_idname='Total';
  call define (_row_, "style", "STYLE=[font_weight=bold]") ;
  call define (2,"format","3.");
  call define (3,"format","3.");
  call define (4,"format","3.");
endcomp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Oct 2021 12:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-report-display-total-row-at-bottom-without-the-format/m-p/775634#M31316</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-10-21T12:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - display total row at bottom without the format applied to variables it is totaling</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-report-display-total-row-at-bottom-without-the-format/m-p/775641#M31317</link>
      <description>&lt;P&gt;Thank you so much!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 13:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-report-display-total-row-at-bottom-without-the-format/m-p/775641#M31317</guid>
      <dc:creator>mmurph15</dc:creator>
      <dc:date>2021-10-21T13:14:26Z</dc:date>
    </item>
  </channel>
</rss>

