<?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 - two &amp;quot;even&amp;quot; across fields with information from two different fields? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122180#M33592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for ANY response - as I've mentioned, I'm pretty new.&amp;nbsp; I've been reading what I can - but since my questions seem to be so specific, I haven't found any documents with the exact answer for which I was looking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the missing="-" , I have updated my code (here and in the above post) and it does the same thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did do what you suggested with regard to the sashelp.class and confirmed that missing is displayed as I want it - so I'm not sure what is going on with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I thank you for your help and patience with me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2013 20:33:26 GMT</pubDate>
    <dc:creator>GregG</dc:creator>
    <dc:date>2013-01-15T20:33:26Z</dc:date>
    <item>
      <title>Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122173#M33585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a hard question to ask.&amp;nbsp; I am trying to put together a report that breaks down all full time graduate students (for a specific program) by ethnicity.&amp;nbsp; I want a subset of that for those are are in their first semester in that program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an if statement that creates a field and inserts a 1 if they are full time (everyone in this table gets that 1) and creates another field and inserts a 1 if the current semester matches their start semester.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I'll try to clarify with my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc report data=gss_fulltime headline box nowd;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; column Ethnic Status,(Gender Total);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Ethnic / order=internal format=$ethnic_gss. group ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Gender / across order=internal format=$gender_gss.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Total / computed style={background=lightsteelblue foreground=maroon font_weight=bold};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Status / format=$status_gss. across order=internal "Full Time Graduate Students";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compute Total;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _C4_ = sum(_C2_,_C3_);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _C7_ = sum(_C5_,_C6_);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcomp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rbreak after / summarize;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;produces this output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freeimagehosting.net/l4yzp"&gt;http://www.freeimagehosting.net/l4yzp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an early version where I only created one new field and gave it a 1 (FT) or a 2 (FTIP) - before realizing that the first set of numbers should include the second (for a total of all FT grad students).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how the first four columns should look (I had to make it not a link, sorry):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freeimagehosting.net/d9cgt"&gt;http://www.freeimagehosting.net/d9cgt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I go back to my code and create two new fields, FT and FTIP.&amp;nbsp; Everyone gets a 1 in the FT, only those whose Term = Start_Term get a 1 in the FTIP field.&amp;nbsp; I also created a gender3=gender.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code for the report for this new setup:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc report data=gss_fulltime headline box nowd completerows;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; column Ethnic FT,(Gender&amp;nbsp; Total) FTIP,(Gender3&amp;nbsp; Total2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Ethnic / group order=internal format=$ethnic_gss. preloadfmt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define FT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / "Full Time" across order=internal;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Gender / across order=internal format=$gender_gss.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Total&amp;nbsp; /&amp;nbsp; computed style={background=lightsteelblue foreground=maroon font_weight=bold};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define FTIP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / "First Time" across order=internal;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Gender3 / across order=internal format=$gender_gss.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; define Total2&amp;nbsp; /&amp;nbsp; computed style={background=lightsteelblue foreground=maroon font_weight=bold};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compute Total;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _C4_ = sum(_C2_,_C3_);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcomp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compute Total2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _C7_ = sum(_C5_,_C6_);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcomp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rbreak after / summarize style={background=lightsteelblue foreground=maroon font_weight=bold};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I run this report, it ONLY populates both "sets" (FT and FTIP) with the numbers from the FTIP field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what it looks like:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.freeimagehosting.net/63ove"&gt;http://www.freeimagehosting.net/63ove&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize this is an insanely long question, any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is what I want it to reflect (the numbers, not necessarily the formatting):&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.freeimagehosting.net/qrorz"&gt;http://www.freeimagehosting.net/qrorz&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 20:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122173#M33585</guid>
      <dc:creator>GregG</dc:creator>
      <dc:date>2013-01-10T20:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122174#M33586</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 see what you want, but now the structure of your input data is going to be really really critical to understanding what you get. Since you did not post data, I created the report and duplicated your final desired structure. So, without knowing what your data looks like, if you can understand my structure (shown in a DATA step program) and then get your head around the PROC REPORT, the key to making this happen is having 2 across variables and getting them nested correctly. Then, because you do have 2 across variables, you were ALMOST there with TOTAL and TOTAL2, but you don't need to do it that way. You have 1 name in your COLUMN statement and you just put both assignment statements in the compute block for that single name.&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;STRONG style="font-family: courier new,courier;"&gt;data new;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;length ethnic $30 status $8 gender $6;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; infile datalines dlm=',' dsd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; input name $ gender $ ethnic $ height weight status $;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;return;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;datalines;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Alfred","Male",D-Asian,69.0,112.5,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Alice","Female",B-Hispanic,56.5,84.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Barbara","Female",B-Hispanic,65.3,98.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Carol","Female",D-Asian,62.8,102.5,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Henry","Male",D-Asian,63.5,102.5,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"James","Male",A-International,57.3,83.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Jane","Female",A-International,59.8,84.5,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Janet","Female",E-Black/African-American,62.5,112.5,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Jeffrey","Male",B-Hispanic,62.5,84.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"John","Male",A-International,59.0,99.5,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Joyce","Female",B-Hispanic,51.3,50.5,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Judy","Female",D-Asian,64.3,90.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Louise","Female",G-White,56.3,77.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Mary","Female",E-Black/African-American,66.5,112.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Philip","Male",G-White,72.0,150.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Robert","Male",A-International,64.8,128.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Ronald","Male",E-Black/African-American,67.0,133.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Thomas","Male",A-International,57.5,85.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"William","Male",E-Black/African-American,66.5,112.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Peter","Male",G-White,72.0,150.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Alex","Male",B-Hispanic,64.8,128.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Jerry","Male",E-Black/African-American,67.0,133.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Sean","Male",B-Hispanic,57.5,85.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Larry","Male",E-Black/African-American,66.5,112.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Vaughn","Male",E-Black/African-American,67.0,133.0,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Henry","Male",A-International,59.0,99.5,"Teenager"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;"Alicia","Female",D-Asian,64.3,90.0,"Pre-teen"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=new nowd;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column ethnic (status,(gender tot));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define ethnic / group;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define status / across;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define gender/across;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define tot/computed 'Total'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(header)={foreground=darkred}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)=Header{foreground=darkred};&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; compute tot;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _c4_ = sum(_c2_,_c3_);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _c7_ = sum(_c4_,_c5_);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; rbreak after / summarize &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(summary)=Header{foreground=darkred};&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&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/10879iA924A4571F093F93/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="two_across.png" title="two_across.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 15:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122174#M33586</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-01-11T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122175#M33587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Cynthia for your time and help.&amp;nbsp; I am sorry I did not include data - I am creating a table from proc sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have follow up questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I count a total of 27 'datalines' but it is totaling up as 13 pre-teens and 19 teenagers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I ultimately need to do is have one "set of columns" (_C2_ _C3_ _C4_Male Female Total) that has ALL observations accounted for (broken down by Ethnicity first and then Gender)&amp;nbsp; and then a second "set of columns" (_C5_ _C6_ _C7_Male Female Total) that only has a subset of the original set of observations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing your example from "pre-teen" to "13" - I would want the data to represent ALL 27 observations in the first set of columns, and then represent only those who are "13" in the second set of columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initially had two states in the same status column, as your example shows.&amp;nbsp; I then just created a second status column (status2) that only had data for the subset which I was seeking.&amp;nbsp; However, at this point, the output would ONLY reflect the subset information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will endeavor to create a new code submission, but it may not be until early next week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your time and help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 17:02:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122175#M33587</guid>
      <dc:creator>GregG</dc:creator>
      <dc:date>2013-01-11T17:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122176#M33588</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; And, sorry, my bad. This is why I should never write code and post it without doing a reality/output check. The COMPUTE block was incorrect. See the corrected code. The amounts now add up to 27. So sorry. I posted a new screenshot, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*** produces corrected screen shot ***;&lt;/P&gt;&lt;P&gt;** replace the old compute block completely;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; compute tot;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _c4_ = sum(_c2_,_c3_);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _c7_ = sum(_c5_,_c6_);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I guess I do NOT understand what you want. Seeing your data may help, but in the final screenshot you posted, it looked like you were nesting two deep across the columns. In the corrected code (substitute this compute block for the original (wrong) compute block) and you should see all 27 accounted for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have posted previously about how to figure out what the absolute column number is going to be, so you can use it in a&amp;nbsp; COMPUTE block. I'm sort of wondering whether TABULATE would be better. See second screen shot. There are actually 4 tables produced by the TABULATE code, I just showed the first one. You'll have to run the code using WORK.NEW to see all 4 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; To report on only the people who are 13, I would guess that you do need to create a separate variable. Or, maybe, for TABULATE, create a user-defined format, but, a separate variable would be good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Take a look at TABULATE output and see what you think. Then, also take a look at the second screen shot, also produced with PROC REPORT. My original data did not have age values. But if the data -did- have ages, I could make a variable whose value was 0 or 1, based on whether age=13. Does the second screen shot look closer to what you envision, assuming that AGE was a variable in the data?&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;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;** tabulate code;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html file='c:\temp\trytab.html';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc tabulate data=new f=comma6.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; class ethnic gender status / style={vjust=b};&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; table ethnic all,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status*(gender all='SubTotal') &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status='Status Only' gender='Gender Only'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all='Overall' /box='Table1' ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; table ethnic all,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status*(gender all='SubTotal') all='Total Count'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /box='Table2';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; table ethnic all,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status all='Total Count'/box='Table 3';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; table ethnic all,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gender all='Total Count' / box='Table 4';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; keylabel n=' '&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all='Total';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; keyword all / style={vjust=b};&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10959iD61FCEC3FD96CDB6/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="with_age_13.png" title="with_age_13.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10960i95E39E63AD28EDDF/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="tab_examp.png" title="tab_examp.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10961i9CFEAA7AC3C4C606/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="two_across_corrected.png" title="two_across_corrected.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 21:49:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122176#M33588</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-01-11T21:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122177#M33589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&amp;nbsp; I ended up doing it with Proc Tabulate - and with some finessing, I got it to do what I wanted.&amp;nbsp; Thank you again.&amp;nbsp; I am pretty much brand new to SAS, so there are a lot of challenges for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 21:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122177#M33589</guid>
      <dc:creator>GregG</dc:creator>
      <dc:date>2013-01-14T21:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122178#M33590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I'm back with an actual dataset, and a brand new question (the original question remains, I think).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reset a bit: I am new to SAS (been exposed to it for &amp;lt; 1 month), and I'm trying to get Proc Report to print two different fields in two different columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional question: How can I get Proc Report to display missing / null values as . or - instead of 0 when using an across?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On with the show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;The first report is using Proc Report, but missing / null values are showing 0 and I would rather they show - (dash) instead.&amp;nbsp; I have switched this also to Proc Tabulate in order to be consistent in my displaying of information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="2949" alt="Untitled1.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2949_Untitled1.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second "report" is how I want it displayed, but I took your advice and ended up using Proc Tabulate instead.&amp;nbsp; So perhaps you really did answer my question above with that suggestion, but I am still curious if such can be achieved with Proc Report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="2950" alt="Untitled2.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2950_Untitled2.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, Cynthia - I thank you greatly for your help so far!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ETA: Also, is there a way to remove the SUM "row" from the Proc Tabulate output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Greg Gengo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 18:30:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122178#M33590</guid>
      <dc:creator>GregG</dc:creator>
      <dc:date>2013-01-15T18:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122179#M33591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am in class this week, so I have limited time to do a lengthy response. So this will be quicker than usual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options missing = '-';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options missing = .;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options missing=0;&lt;/STRONG&gt; or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options missing = '0';&lt;/STRONG&gt; are you sure you don't have missing set to 0????&lt;/P&gt;&lt;P&gt;are all ways to impact the missing values. Normally, if you have no data for a crossing in an ACROSS situation, the missing cell does show as a . -- for example, if you do a report on SASHELP.CLASS you should not see any Female in Age 16. Which is why I wondered whether some option is set otherwise for your SAS session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get rid of SUM in TABULATE -- you need to "blank" out the Statistic either in the KEYLABEL statement:&lt;/P&gt;&lt;P&gt;keylabel sum=' ';&lt;/P&gt;&lt;P&gt;or in the TABLE statement:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;table thing1 all,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thing2*sum=' '*f=comma6.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I will try to look at your code later, but meanwhile, thanks for posting it so other folks could give it a try.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;cynthia&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 20:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122179#M33591</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-01-15T20:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122180#M33592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for ANY response - as I've mentioned, I'm pretty new.&amp;nbsp; I've been reading what I can - but since my questions seem to be so specific, I haven't found any documents with the exact answer for which I was looking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the missing="-" , I have updated my code (here and in the above post) and it does the same thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did do what you suggested with regard to the sashelp.class and confirmed that missing is displayed as I want it - so I'm not sure what is going on with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I thank you for your help and patience with me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 20:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122180#M33592</guid>
      <dc:creator>GregG</dc:creator>
      <dc:date>2013-01-15T20:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122181#M33593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So evidently, the presence of completerows or completecols turns all missing / null values to zeroes - and I can't find a way around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that completerows and completecols are necessary when using preloadfmt - which I use because not every report will have every ethnicity / gender present, but I need each report to be uniform.&amp;nbsp; So I created a format, and I use that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way on the define line to change missing back to "-" (to 'override' the completerows/cols setting)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 15:00:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122181#M33593</guid>
      <dc:creator>GregG</dc:creator>
      <dc:date>2013-01-16T15:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122182#M33594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Not on the DEFINE statement. You can probably do it in a COMPUTE block. I missed the PRELOADFMT on your CLASS statement. Are you sure you don't want to stick with TABULATE? What is the reasong for switching from TABULATE to PROC REPORT?&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 17:43:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122182#M33594</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-01-16T17:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122183#M33595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've already switched it to Tabulate for what I was doing.&amp;nbsp; Now I'm just trying to explore Proc Report some more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I am new at SAS, but so far, I find Proc Report to be easier than Proc Tabulate as far as formatting the output goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two issues I am having with Proc Report is getting the second set of columns correct (see the second picture from the post earlier &lt;SPAN class="j-post-author "&gt;Jan 15, 2013 3:39 PM) and Proc Report wants to change missing to 0 if I use completerows/cols.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;I thank you again for your help.&amp;nbsp; By switching to Tabulate, I have resolved my task (by getting it to do what I want), but I still have the lingering questions.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 18:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122183#M33595</guid>
      <dc:creator>GregG</dc:creator>
      <dc:date>2013-01-16T18:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - two "even" across fields with information from two different fields?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122184#M33596</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 think you would either need a user-defined format for the numeric column or you would have to use a COMPUTE block if you wanted to see a . (missing) in PROC REPORT with ACROSS and COMPLETEROWS. For example, there are no FEMALES at AGE=16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whichever method you use, the format method is probably easier if you have no other formats in play for the variable that is under the across variable. CALL DEFINE really requires that you know how many across variables there are because you have to use the absolute column name in the statement.&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;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;&amp;nbsp; value msfmt 0='.';&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; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html file='c:\temp\miss_fmt_across.html';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class nowd completerows;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; title '1) Showing Default';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column age sex,height;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define age / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define sex / across;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define height / n f=2.0;&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; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class nowd completerows;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; title '2) Using format';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column age sex,height;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define age / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define sex / across;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define height / n f=msfmt.;&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; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class nowd completerows;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; title '3) Using CALL DEFINE';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; column age sex,height;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define age / group;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define sex / across;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; define height / n f=2.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; compute height;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _c2_ = 0 then _c2_ = .;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _c3_ = 0 then _c3_ = .;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; endcomp;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 15:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-two-quot-even-quot-across-fields-with-information/m-p/122184#M33596</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-01-17T15:50:20Z</dc:date>
    </item>
  </channel>
</rss>

