<?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: Adding subcategories to the table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Adding-subcategories-to-the-table/m-p/790867#M253239</link>
    <description>&lt;P&gt;Sorry, but I'm issing the context here.&lt;/P&gt;
&lt;P&gt;Is this a report, and how do you creatre it now?&lt;/P&gt;
&lt;P&gt;How does your source data look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generally speaking, if you source data have new values it will pop up in report automatically (unless there is an active filter).&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 12:38:28 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2022-01-19T12:38:28Z</dc:date>
    <item>
      <title>Adding subcategories to the table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-subcategories-to-the-table/m-p/790852#M253233</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to the existing table like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Grade&lt;/TD&gt;&lt;TD&gt;Arm A&lt;/TD&gt;&lt;TD&gt;Arm B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;System organ class&lt;/TD&gt;&lt;TD&gt;Overall&lt;/TD&gt;&lt;TD&gt;10 (100%)&lt;/TD&gt;&lt;TD&gt;20 (100%)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Grade 2&lt;/TD&gt;&lt;TD&gt;7 (70%)&lt;/TD&gt;&lt;TD&gt;10 (50%)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Grade 4&lt;/TD&gt;&lt;TD&gt;3 (30%)&lt;/TD&gt;&lt;TD&gt;10 (50%)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would like to add more subcategories for grade (Grade 1, Grade 3) and show for Arm A, Arm B 0 (0) as their values. The table should look like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Grade&lt;/TD&gt;&lt;TD&gt;Arm A&lt;/TD&gt;&lt;TD&gt;Arm B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;System organ class&lt;/TD&gt;&lt;TD&gt;Overall&lt;/TD&gt;&lt;TD&gt;10 (100%)&lt;/TD&gt;&lt;TD&gt;20 (100%)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Grade 1&lt;/TD&gt;&lt;TD&gt;0 (0)&lt;/TD&gt;&lt;TD&gt;0 (0)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Grade 2&lt;/TD&gt;&lt;TD&gt;7 (70%)&lt;/TD&gt;&lt;TD&gt;10 (50%)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Grade 3&lt;/TD&gt;&lt;TD&gt;0 (0)&lt;/TD&gt;&lt;TD&gt;0 (0)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Grade 4&lt;/TD&gt;&lt;TD&gt;3 (30%)&lt;/TD&gt;&lt;TD&gt;10 (50%)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there an easy way how to do it ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 11:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-subcategories-to-the-table/m-p/790852#M253233</guid>
      <dc:creator>Jedrzej</dc:creator>
      <dc:date>2022-01-19T11:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding subcategories to the table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-subcategories-to-the-table/m-p/790867#M253239</link>
      <description>&lt;P&gt;Sorry, but I'm issing the context here.&lt;/P&gt;
&lt;P&gt;Is this a report, and how do you creatre it now?&lt;/P&gt;
&lt;P&gt;How does your source data look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generally speaking, if you source data have new values it will pop up in report automatically (unless there is an active filter).&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 12:38:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-subcategories-to-the-table/m-p/790867#M253239</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-01-19T12:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding subcategories to the table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-subcategories-to-the-table/m-p/790926#M253264</link>
      <description>&lt;P&gt;Is this a report table? If so, show the code used to create the report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, how is the data set created?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you are attempting to display data that does not exist then you have to provide the missing information for the Grade variable somehow. One of the approaches relies on an option PRELOADFMT but that is only available to some procedures and requires you to create a custom format for all the values of the variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you merge in some values to your data set so that the value Grade appear and use options to force the likely missing values for ArmA and ArmB to calculate.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 15:51:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-subcategories-to-the-table/m-p/790926#M253264</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-01-19T15:51:11Z</dc:date>
    </item>
  </channel>
</rss>

