<?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: Any ideas on how to create a report? (picture included) in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850552#M37247</link>
    <description>&lt;P&gt;Look into examples of using PROC TABULATE.&amp;nbsp; PROC REPORT would be another option.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you search lexjansen.com for PROC TABULATE should find lots of papers that could help get you started.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 21:48:37 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2022-12-20T21:48:37Z</dc:date>
    <item>
      <title>Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850512#M37229</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I am attempting to create a report similar to the attached image.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasquestion2.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78762i83261672832DFF88/image-size/large?v=v2&amp;amp;px=999" role="button" title="sasquestion2.PNG" alt="sasquestion2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the numbers in the original, I used a comprehensive sas data set to create 3 separate tables (male, female, missing) to obtain the frequencies and calculated the totals and percent by hand. I have no idea of how to get started on completely automating the process so any thoughts would be helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 18:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850512#M37229</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-20T18:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850513#M37230</link>
      <description>&lt;P&gt;In order to write any code, we would need to see (a portion of) your original data. Please provide the data as working SAS data step code, which you can type in yourself or follow &lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;these instructions&lt;/A&gt;. Do not provide data as screen captures or file attachments.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 18:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850513#M37230</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-20T18:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850516#M37232</link>
      <description>&lt;P&gt;Hey! I'm unable to share any code. Just looking for general ideas on how to create a similar report. Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 18:54:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850516#M37232</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-20T18:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850518#M37234</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437400"&gt;@AVUH777&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hey! I'm unable to share any code. Just looking for general ideas on how to create a similar report. Thanks.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I didn't ask to see your code, I need to see your data. If you can't send real data, then make some up so that it is organized the same as your real data; put it in the requested form, and show us.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850518#M37234</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-20T19:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850523#M37235</link>
      <description>&lt;P&gt;Sorry, I misunderstood. Does this help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data WORK.STUDENTS;&lt;BR /&gt;input UniqueID Gender $ Grade_Level;&lt;BR /&gt;datalines;&lt;BR /&gt;89562 F 1&lt;BR /&gt;78921 M 2&lt;BR /&gt;78961 F 5&lt;BR /&gt;46526 M 4&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:21:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850523#M37235</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-20T19:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850525#M37236</link>
      <description>&lt;P&gt;The data (even if it is fake) must match the arrangement of your original data, and must contain all the elements needed to produce the table that you want. There are variables in the table that you want that are not in this data. So, no, this doesn't help.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:24:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850525#M37236</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-20T19:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850526#M37237</link>
      <description>&lt;P&gt;Everything calculated in the report came from the data. Originally, I created new data sets based on gender. So, a table for females, males, and missing gender. Then, calculated the frequency of the gender variable for each table. By hand, I added together the totals and calculated the cumulative percent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850526#M37237</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-20T19:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850527#M37238</link>
      <description>&lt;P&gt;Where is the freshman, sophomore ... &lt;EM&gt;etc&lt;/EM&gt;. part? It's not in your data.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Where is the Year (on the left of your table it says Enrollment by Grade span 2008-2009)?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:39:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850527#M37238</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-20T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850528#M37239</link>
      <description>&lt;P&gt;Forgot to add that I grouped by grade_level before calculating frequencies. I'm not looking for an exact way to create the report. Just an idea to eliminate the hand calculations and create a similarly formatted report.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:40:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850528#M37239</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-20T19:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850529#M37240</link>
      <description>&lt;P&gt;The entire dataset is from that year so I do not have a year variable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:41:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850529#M37240</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-20T19:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850531#M37242</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data STUDENTS;
input UniqueID Gender $ Grade_Level;
datalines;
89562 F 1
78921 M 2
78961 F 5
46526 M 4
;
run;
proc freq data=students;
   tables grade_level*gender;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850531#M37242</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-20T19:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850533#M37243</link>
      <description>&lt;P&gt;Thanks! Any idea on how to use SAS to create a similar report in terms of the image I provided? I'm being asked to cut out the use of Microsoft Word (which I used to create the attached image) to create the report and use only SAS.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 19:52:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850533#M37243</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-20T19:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850552#M37247</link>
      <description>&lt;P&gt;Look into examples of using PROC TABULATE.&amp;nbsp; PROC REPORT would be another option.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you search lexjansen.com for PROC TABULATE should find lots of papers that could help get you started.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 21:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850552#M37247</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-12-20T21:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850554#M37248</link>
      <description>&lt;P&gt;An example that creates a report of similar structure using a SAS supplied data set you should be able to use:&lt;/P&gt;
&lt;PRE&gt;proc tabulate data=sashelp.class;
   class sex age;
   tables age,
          sex=''*n='' all=''*(n='Total' pctn='%')
          /misstext=' '
   ;
run;&lt;/PRE&gt;
&lt;P&gt;The ='' bits are suppressing default&amp;nbsp; labels.&lt;/P&gt;
&lt;P&gt;Sex is basically the same as your Gender variable for role, Age as grade.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are many appearance options available.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 22:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850554#M37248</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-12-20T22:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850585#M37252</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;If you search lexjansen.com for PROC TABULATE should find lots of papers that could help get you started.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hmm, isn't the information provided there a bit hard to digest for beginners? The site is great, though. Thank you for bringing that (back) to my attention/memory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--fja&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 08:17:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850585#M37252</guid>
      <dc:creator>fja</dc:creator>
      <dc:date>2022-12-21T08:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850606#M37255</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338236"&gt;@fja&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;If you search lexjansen.com for PROC TABULATE should find lots of papers that could help get you started.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hmm, isn't the information provided there a bit hard to digest for beginners? The site is great, though. Thank you for bringing that (back) to my attention/memory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--fja&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Could be hard to digest for some beginners, but I think it's worth the effort.&amp;nbsp; There is a wealth of wisdom is papers written by users (and developers).&amp;nbsp; For a general "how can I make this sort of table" question, reading papers will provide lots of interesting approaches.&amp;nbsp; It also introduces beginners to the existence of SAS user group conferences, another great way to learn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This paper by guru Art Carpenter has examples similar to yours.&amp;nbsp; &amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings11/260-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/260-2011.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also recommend books for beginners.&amp;nbsp; I think of Lauren Haworth's book as the classic text on PROC TABULATE.&amp;nbsp; Sadly, looks like it's out of print. But you can find used versions available online.&amp;nbsp;&lt;A href="https://support.sas.com/en/books/authors/lauren-haworth.html" target="_blank"&gt;https://support.sas.com/en/books/authors/lauren-haworth.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 13:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850606#M37255</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-12-21T13:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850635#M37256</link>
      <description>Thank you! I will look into this. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 21 Dec 2022 15:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850635#M37256</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-21T15:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Any ideas on how to create a report? (picture included)</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850636#M37257</link>
      <description>Thank you so much! This was very helpful.</description>
      <pubDate>Wed, 21 Dec 2022 15:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Any-ideas-on-how-to-create-a-report-picture-included/m-p/850636#M37257</guid>
      <dc:creator>AVUH777</dc:creator>
      <dc:date>2022-12-21T15:18:31Z</dc:date>
    </item>
  </channel>
</rss>

