<?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: Output Blank Tabulate in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136119#M11014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;X-5 was my "real data" example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, it'd be X-2ish.&amp;nbsp; That is one row for the values, one row for the A\B\Other header and then some number of rows for the page spacing in the excel book (rows between tables).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 14:58:53 GMT</pubDate>
    <dc:creator>wcp_fnfg</dc:creator>
    <dc:date>2014-09-10T14:58:53Z</dc:date>
    <item>
      <title>Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136109#M11004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that if there are no records in a tabulate that it doesn't output anything.&amp;nbsp; This is in contrast to the scenario where I have preloadfmt\printmiss and can get rows\columns even for missing values.&amp;nbsp; Is there a way around this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example, if I set where letters = 'D' then I get a 3 column table, but with letters = 'E', I get nothing.&amp;nbsp; I'd like to still get 3 columns with this table.&amp;nbsp; Any thoughts?&amp;nbsp; Classdata with a dummy table hasn't worked for me either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dummy;&lt;/P&gt;&lt;P&gt;do numbers = 1,2,3,4;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do letters = 'A','B','C','D';&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value $L&lt;/P&gt;&lt;P&gt;'A'='A'&lt;/P&gt;&lt;P&gt;'B'='B'&lt;/P&gt;&lt;P&gt;other = 'X';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=dummy missing;&lt;/P&gt;&lt;P&gt;where letters = 'E';&lt;/P&gt;&lt;P&gt;class letters/preloadfmt;&lt;/P&gt;&lt;P&gt;var numbers;&lt;/P&gt;&lt;P&gt;tables (letters='')*(&lt;/P&gt;&lt;P&gt;&amp;nbsp; numbers * sum='' *f=comma24.0 ) &lt;/P&gt;&lt;P&gt;&amp;nbsp; /printmiss;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format letters $l.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 20:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136109#M11004</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-08T20:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136110#M11005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have no observation for letters='E' in your dataset. Where clause in proc tabulate will return nothing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 21:02:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136110#M11005</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-09-08T21:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136111#M11006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I agree -- with E in the data, the results of your code do produce empty cells for A and B. But without E in the table, your WHERE has nothing to select.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;data dummy;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;do numbers = 1,2,3,4;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; do letters = 'A','B','C','D','E';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; output;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;end;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc format;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;value $L&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;'A'='A'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;'B'='B'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;other = 'X';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html file='c:\temp\show_preloafmt.html';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc tabulate data=dummy missing;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** Without PRELOADFMT or format for LETTERS;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;where letters = 'E';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '1) Without PRELOADFMT';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;class letters;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;var numbers;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;tables (letters='')*(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; numbers * sum='' *f=comma24.0 )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; /printmiss;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc tabulate data=dummy missing;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '2) WITH PRELOADFMT for LETTERS';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;where letters = 'E';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;class letters/preloadfmt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;var numbers;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;tables (letters='')*(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; numbers * sum='' *f=comma24.0 )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; /printmiss;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; format letters $L.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html close;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11301iFA6A11153ED66DCA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="if_data_had_E.png" title="if_data_had_E.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 01:44:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136111#M11006</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-09-09T01:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136112#M11007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither of you are listening to the problem.&amp;nbsp; The problem is that I want the table to exist, even if E doesn't exist in the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 12:39:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136112#M11007</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-09T12:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136113#M11008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can make a dummy set to merge into the real data for my output, but I still have to deal with this:&lt;/P&gt;&lt;P&gt;WARNING: A logical page containing only missing values has been deleted from the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 13:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136113#M11008</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-09T13:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136114#M11009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt; I am sorry you feel I wasn't listening. However in your post, you said:&lt;/P&gt;&lt;P&gt;"In this example, if I set where letters = 'D' then I get a 3 column table, but with letters = 'E', I get nothing.&amp;nbsp; I'd like to still get 3 columns with this table.&amp;nbsp; Any thoughts?&amp;nbsp; Classdata with a dummy table hasn't worked for me either." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Apparently, I did not sufficiently understand what you meant by "I'd like to still get 3 columns with this table." To me, "This table" meant that you wanted to get a 3 column table. You need data for that. But silly me, like silly TABULATE can't imagine a table where ALL the class values in the columns are missing. If your data has NO values for A, NO values for B and NO values for C, D or E, then there isn't really a way for TABULATE to do anything -- as you can tell from the WARNING when you try to fake out some data to force the values, TABULATE is not happy about a table where ALL the values are missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It seems like you have come up with a solution of sorts, by merging in some missing data for every class variable. The WARNING is not an ERROR, so you must be getting an empty table. Is the only issue the WARNING?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 04:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136114#M11009</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-09-10T04:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136115#M11010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As much as I enjoy the snark, let's discuss what the issue is and what solution I've had to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we use [where letters = 'A'] (or B or C or D) then we get a table with three columns, no matter which letter we pick in the data:&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp; Other&lt;/P&gt;&lt;P&gt;X&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, with [where letters = 'E'], we get no output.&amp;nbsp; What I was looking for was to still get the 3 column table with everything missing.&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done as a workaround is create a dummy table for each of my where\class values and set numbers = 0 for each of these dummy values.&amp;nbsp; Then when I get to the E table, I get a table with three columns output, zeros as each value.&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works enough for my purposes, though if someday another letter (F?&amp;nbsp; J?&amp;nbsp; Who knows?) enters the fold, I'd have to add it to the list in my dummy data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dummy;&lt;/P&gt;&lt;P&gt;do letters = 'A','B','C','D','E';&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So silly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 12:57:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136115#M11010</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-10T12:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136116#M11011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Yes, that is what you will have to do (add the new letter(s) to your dummy table). Honestly, I wasn't aiming at snarky -- TABULATE just isn't happy about showing you an "all empty" table. And, equally, honestly, I can't imagine a usage scenario where I would need to generate an entirely empty table. When I was documenting tables and reports for statisticians and lawyers, my requirement/convention was to make dummy data with all '9' or all '0' for the values and we would use that as the model. There was always a footnote or note that said "Sample table displays values for illustration purposes only" if the numbers in the cells were anything other than 0....and sometimes if the numbers were 0. Usually for statisticians, we didn't need the note. Usually for lawyers we always needed the note that it was fake data (especially if we were sending it to the attorney on the other side of the case.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 14:18:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136116#M11011</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-09-10T14:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136117#M11012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason I needed the empty table was for the output so that Row X is always Row X and not X-5 or whatever.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 14:21:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136117#M11012</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-10T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136118#M11013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand, your example data and tabulate code only generates one row. So how do you get row X-5???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 14:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136118#M11013</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-09-10T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136119#M11014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;X-5 was my "real data" example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, it'd be X-2ish.&amp;nbsp; That is one row for the values, one row for the A\B\Other header and then some number of rows for the page spacing in the excel book (rows between tables).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 14:58:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136119#M11014</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-10T14:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136120#M11015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi: I agree with ballardw -- you do not have an row dimension in your table, only columns, so I don't see how you get any rows at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; But for an "empty" table, another approach is to make the foreground color and background color for the "data" cells the same (in my code -- both are changed to white). This effectively makes the numbers in the cell disappear. This will work for ODS destinations that support style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods rtf file='c:\temp\show_empty.rtf';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html file='c:\temp\show_empty.html';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf file='c:\temp\show_empty.pdf';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc tabulate data=dummy missing &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style={color=white background=white}&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title '3) use white for background and foreground color of numbers in cell';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;class letters/preloadfmt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;var numbers;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;tables (letters='')*(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; numbers * sum='' *f=comma24.0 ) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; /printmiss;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; format letters $L.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136120#M11015</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-09-10T15:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136121#M11016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is where it might be useful to see ALL your code. Are you using ODS to get your output into an Excel workbook or are you using the LIBNAME engine/PROC EXPORT? My previous example, to change the colors in the output data cells will work for ODS output, but not for PROC EXPORT or the LIBNAME engine.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:03:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136121#M11016</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-09-10T15:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136122#M11017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I really need to control rows I would look at pre-summarizing the data and then using File Print ODS and put _ods_. I think that might give you the ability to control the line/row positions by inserting blank rows into your data at appropriate locations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Metatheorem: The more control you want over your output the more complex the code. I don't think a single tabulate step will get you where you want due to the reasons Cynthia mentioned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136122#M11017</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-09-10T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136123#M11018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If letters = 'D', there the table is three rows tall as written in the original tabulate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;numbers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numbers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; numbers&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To your latest reply: I'm using tagsets.excelxp.&amp;nbsp; There's a dozen tabs with 3 tables each, each created as the result of a different where.&amp;nbsp; These tabs are then linked to an excel book to create a dashboard because SAS can't create the appropriate layout that was requested.&amp;nbsp; As a result, I'm relying on the tables to be in the same location on each tab.&amp;nbsp; So if table 1 populates and takes up rows 1-6, and table 2 is supposed to be rows 8-12, but doesn't populate or output then table 3 is going to be at row 8 instead of row 14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me, this point is moot now because I've created the solution using the dummy data, I was just hoping there was an option or something that would tell sas or tabulate to create the table, even if there is no data for it.&amp;nbsp; The solution ended up being to make sure that I had a value for each Where possibility and it had a value for the summary variable of zero, rather than missing.&amp;nbsp; Tabulate has no problem outputting a table of zeros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136123#M11018</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-10T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136124#M11019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, there seems to be no way to get TABULATE to produce an empty table, even when it would make perfect sense. Empty tables are always dropped. Consider :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data test;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;page = 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cat = "A"; line=1; x=1; output;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cat = "B"; line=2; x=1; output;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc format;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;value $cat&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"A" = "A"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"B" = "B"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"C" = "C"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"D" = "D"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"E" = "E";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;value line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1 = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2 = 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3 = 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4 = 4;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;value page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1 = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2 = 2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc tabulate data=test missing format=2.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;format cat $cat. line line. page page.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;class cat line page / preloadfmt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var x;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table page, line, cat*x=""*mean="" / printmiss;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* Another approach that would make sense */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data myClassData;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;do page = 1, 2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do line = 1 to 4;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do cat = "A","B","C","D","E";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc tabulate data=test classdata=myClassData exclusive format=2.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;class cat line page;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var x;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table page, line, cat*x=""*mean="";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With both approaches, the empty table on page 2 is dropped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136124#M11019</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-09-10T15:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136125#M11020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PGStats:&amp;nbsp; you're so close to what works though!&amp;nbsp; Just need the x=0 line and tabulate will play.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data myClassData;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;do page = 1, 2;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do line = 1 to 4;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do cat = "A","B","C","D","E";&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;x= 0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:14:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136125#M11020</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-10T15:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136126#M11021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;x = 0;&lt;/STRONG&gt; would be ignored in the CLASSDATA dataset. The CLASSDATA dataset only indicates to the procedure what class combinations you want in your output. I did include page=2 in there, so I explicitly request a page 2 table. But tabulate decides to drop it anyway! Odd...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:19:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136126#M11021</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-09-10T15:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Output Blank Tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136127#M11022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah sorry, I misread what you were doing there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the\A solution for the original problem, should anyone ever come here looking for how to get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data real;&lt;/P&gt;&lt;P&gt;do numbers = 1,2,3,4;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do letters = 'A','B','C','D';&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value $L&lt;/P&gt;&lt;P&gt;'A'='A'&lt;/P&gt;&lt;P&gt;'B'='B'&lt;/P&gt;&lt;P&gt;other = 'X';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data dummy;&lt;/P&gt;&lt;P&gt;do letters = 'A','B','C','D','E';&lt;/P&gt;&lt;P&gt;numbers = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data out;&lt;/P&gt;&lt;P&gt;set real dummy;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;option missing = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=dummy missing;&lt;/P&gt;&lt;P&gt;where letters = 'E';&lt;/P&gt;&lt;P&gt;class letters/preloadfmt;&lt;/P&gt;&lt;P&gt;var numbers;&lt;/P&gt;&lt;P&gt;tables (letters='')*(&lt;/P&gt;&lt;P&gt;&amp;nbsp; numbers * sum='' *f=comma24.0 ) &lt;/P&gt;&lt;P&gt;&amp;nbsp; /printmiss;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format letters $l.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Blank-Tabulate/m-p/136127#M11022</guid>
      <dc:creator>wcp_fnfg</dc:creator>
      <dc:date>2014-09-10T15:22:52Z</dc:date>
    </item>
  </channel>
</rss>

