<?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: Labeling and formatting in SQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809520#M319243</link>
    <description>&lt;P&gt;When there are errors in the log, please SHOW US the log. We need to see the &lt;FONT color="#FF0000"&gt;ENTIRE&lt;/FONT&gt; log for this PROC SQL, do not show us error messages detached from the rest of the log. Please copy the log as text and paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Insert Log Icon in SAS Communities.png" style="width: 859px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66171iFEC370B1DBF07B28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Insert Log Icon in SAS Communities.png" alt="Insert Log Icon in SAS Communities.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From now on, please do this EVERY time you have errors in the log.&lt;/P&gt;</description>
    <pubDate>Sun, 24 Apr 2022 18:44:03 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-04-24T18:44:03Z</dc:date>
    <item>
      <title>Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809519#M319242</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;&lt;BR /&gt;&lt;BR /&gt;PROC SQL;

Title "Within";
	CREATE TABLE program as
	select var1,
		var2,
		var3 as First,
		avg(var4) as mean label='Average',
		var5-CALCULATED mean as within label='Within'

	from programab


where var6=1
group by var7
order by var3
;

QUIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Trying to compress the results for mean and within- compress option error says I need a character variable, is the placement critical like in the where/groupby/order?&lt;/P&gt;&lt;P&gt;tried using compress(var,'0',) at the beginning of statement, before "var3", before "as" and before "label" statement -some options say variable is not contributing the table. Even tried creating a second variable as the compressed one (trying to get rid of zeroes after decimal point)&lt;/P&gt;&lt;P&gt;The following columns were not found in the contributing tables: mean.&lt;/P&gt;&lt;P&gt;compress('mean','0',)as mean2&lt;/P&gt;&lt;P&gt;Label is not changing anything again; is placement critical? (need to change titles)&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 18:40:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809519#M319242</guid>
      <dc:creator>Mruizv</dc:creator>
      <dc:date>2022-04-24T18:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809520#M319243</link>
      <description>&lt;P&gt;When there are errors in the log, please SHOW US the log. We need to see the &lt;FONT color="#FF0000"&gt;ENTIRE&lt;/FONT&gt; log for this PROC SQL, do not show us error messages detached from the rest of the log. Please copy the log as text and paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Insert Log Icon in SAS Communities.png" style="width: 859px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66171iFEC370B1DBF07B28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Insert Log Icon in SAS Communities.png" alt="Insert Log Icon in SAS Communities.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From now on, please do this EVERY time you have errors in the log.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 18:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809520#M319243</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-24T18:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809521#M319244</link>
      <description>This particular one does not have any errors, the one show is with a different iteration, but will take into consideration for next time. thanks!</description>
      <pubDate>Sun, 24 Apr 2022 18:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809521#M319244</guid>
      <dc:creator>Mruizv</dc:creator>
      <dc:date>2022-04-24T18:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809522#M319245</link>
      <description>&lt;P&gt;Then what did you mean when you said this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;compress option error says I need a character variable&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sun, 24 Apr 2022 18:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809522#M319245</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-24T18:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809524#M319246</link>
      <description>the code I supplied does not show a compress statement, so the error is not part of that code.&lt;BR /&gt;When I run the iteration with the compress statement as I said prior is when I get the error.&lt;BR /&gt;"&lt;BR /&gt;The following columns were not found in the contributing tables: mean.&lt;BR /&gt;compress('mean','0',)as mean2&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;I have tried multiple iterations with compress unsuccessfully those being my 2 main errors.&lt;BR /&gt;If you have any clue how to compress both mean and within to eliminate trailing zeros I will test it out. As of now my code has nothing to do so</description>
      <pubDate>Sun, 24 Apr 2022 19:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809524#M319246</guid>
      <dc:creator>Mruizv</dc:creator>
      <dc:date>2022-04-24T19:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809528#M319248</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/402297"&gt;@Mruizv&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;the code I supplied does not show a compress statement, so the error is not part of that code.&lt;BR /&gt;When I run the iteration with the compress statement as I said prior is when I get the error.&lt;BR /&gt;"&lt;BR /&gt;The following columns were not found in the contributing tables: mean.&lt;BR /&gt;compress('mean','0',)as mean2&lt;BR /&gt;"&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;SHOW US THE&lt;FONT color="#FF0000"&gt; ENTIRE&lt;/FONT&gt; LOG for this PROC SQL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, don't show us code that works and then ask about code that doesn't work which you haven't shown us. I find that very confusing.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 19:51:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809528#M319248</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-24T19:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809532#M319251</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/402297"&gt;@Mruizv&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;the code I supplied does not show a compress statement, so the error is not part of that code.&lt;BR /&gt;When I run the iteration with the compress statement as I said prior is when I get the error.&lt;BR /&gt;"&lt;BR /&gt;The following columns were not found in the contributing tables: mean.&lt;BR /&gt;compress('mean','0',)as mean2&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;I have tried multiple iterations with compress unsuccessfully those being my 2 main errors.&lt;BR /&gt;If you have any clue how to compress both mean and within to eliminate trailing zeros I will test it out. As of now my code has nothing to do so&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is why it is important (and easier for you) to just copy the lines from the SAS log and post that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) The error message is that there is no variable named mean.&lt;/P&gt;
&lt;P&gt;2) The code you showed does not even try to reference a variable named mean.&amp;nbsp; Just the string 'mean'.&lt;/P&gt;
&lt;P&gt;3) It makes no sense to use COMPRESS() with a MEAN because a mean value should be a number, not a character string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please explain what you are trying to do.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 20:10:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809532#M319251</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-24T20:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809534#M319253</link>
      <description>Hello Tom,&lt;BR /&gt;I am trying to get rid of trailing zeros after the decimal point. In OP I asked if it is placement sensitive as I tried 3 different locations all with same outcome hence why I removed it before asking the question, what i have so far and "working" is what I posted.&lt;BR /&gt;Also in OP asked if label is placement sensitive as it is not changing the label in the output.&lt;BR /&gt;</description>
      <pubDate>Sun, 24 Apr 2022 20:16:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809534#M319253</guid>
      <dc:creator>Mruizv</dc:creator>
      <dc:date>2022-04-24T20:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809535#M319254</link>
      <description>&lt;P&gt;You cannot remove digits from a number.&amp;nbsp; The number is the number it is.&lt;/P&gt;
&lt;P&gt;Are you asking how to display the number in different way?&amp;nbsp; You could use a format without any positions for decimal places.&lt;/P&gt;
&lt;P&gt;Are you asking to change the number to a different number?&amp;nbsp; Do you want to round the number?&amp;nbsp; round down to the nearest integer? round up to the next highest integer?&lt;/P&gt;
&lt;P&gt;Are you asking to convert the number to a character string?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How did they look at the data?&amp;nbsp; Only some procedures will display the label instead of the name of the variable.&amp;nbsp; You can also override the label attached to the variable by including a LABEL statement in the step that is displaying the values.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 20:28:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809535#M319254</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-24T20:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809537#M319256</link>
      <description>yes, just display in a different way i have 154.300 that i would like it to be 154.3 or a 3.7000 that i would like a 3.7 hence I was trying compress as I had used it before in similar cases deleting the '0', there are other numbers that come from the output that use all the decimal places and should remain the same, no rounding no deleting. only the zeros.&lt;BR /&gt;&lt;BR /&gt;With Label I have also tried removing it from the SQL and adding a PROC PRINT adding the label to no avail. &lt;BR /&gt;I currently have a label inside the SQL  as you can see in the calculations of var4 and var5 turning into mean and within, they still show as mean and within and not as the attached label</description>
      <pubDate>Sun, 24 Apr 2022 20:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809537#M319256</guid>
      <dc:creator>Mruizv</dc:creator>
      <dc:date>2022-04-24T20:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809538#M319257</link>
      <description>&lt;P&gt;Do you realize that if the number was 304.300, you would wind up removing the zeros and then you would have 34.3?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe (still not sure what you are doing) you want to format the number by limiting it to one digit to the right of the decimal. Is that what you want to do? Then use a format such as 10.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;avg(var4) as mean label='Average' format=10.1&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is that what you are trying to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will actually ROUND the result to the nearest tenth. Is that what you are trying to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 21:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809538#M319257</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-24T21:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809559#M319266</link>
      <description>&lt;P&gt;For some reason the QUERY SQL was not outputting, I changed my settings and now it is outputting correctly, with the proper titles and without the trailing zeros&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is how the code ended, I deleted the previously used PROC PRINT as now I got the output from the SQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;

Title "Within Treatment Group Differences on The First Visit";
	CREATE TABLE diffweight as
	select patient,
		gender,
		v_date as First_visit,
		avg(weight) as mean label='Group_Average',
		weight-CALCULATED mean as within label='Within_Group_Diff'

	from stat.clinical

where visit=1
group by group
order by v_date

;
QUIT;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;LI-CODE lang="sas"&gt;20
21   PROC SQL;
22
23   Title "Within Treatment Group Differences on The First Visit";
24       CREATE TABLE diffweight as
25       select patient,
26           gender,
27           v_date as First_visit,
28           avg(weight) as mean label='Group_Average',
29           weight-CALCULATED mean as within label='Within_Group_Diff'
30
31       from stat.clinical
32
33   where visit=1
34   group by group
35   order by v_date
36
37   ;
NOTE: The query requires remerging summary statistics back with the original data.
NOTE: Table WORK.DIFFWEIGHT created, with 24 rows and 5 columns.

38   QUIT;
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.02 seconds
      cpu time            0.00 seconds

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what I was getting with the print&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mruizv_0-1650845007420.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70776i13184A22CC82224D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mruizv_0-1650845007420.png" alt="Mruizv_0-1650845007420.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is what I was looking for&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mruizv_1-1650845050401.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70777i6A8E75A9E2BE540B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mruizv_1-1650845050401.png" alt="Mruizv_1-1650845050401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 00:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809559#M319266</guid>
      <dc:creator>Mruizv</dc:creator>
      <dc:date>2022-04-25T00:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809560#M319267</link>
      <description>&lt;P&gt;What does "getting with the print" mean? Were you using PROC PRINT? If you are then add the LABEL option to print labels instead of variable names:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data = diffweight label;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Apr 2022 00:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809560#M319267</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-04-25T00:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809561#M319268</link>
      <description>&lt;P&gt;Of course the SQL step did not print anything, you did not ask it to.&amp;nbsp; But don't use SQL to print.&amp;nbsp; SAS has many much better tools to print.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want flexible number of decimal places then use BEST format.&amp;nbsp; It will pick the "best" way to display each individual number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more help show the actual code you ran to produce the print out.&amp;nbsp; The SQL code is not it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS the way the numbers are printing in your first example is much better than the way you have requested them.&amp;nbsp; How is a human looking at those numbers with decimal points in random places supposed to be able to compare the values across rows?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 01:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809561#M319268</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-25T01:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Labeling and formatting in SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809682#M319302</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/402297"&gt;@Mruizv&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what I was looking for&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mruizv_1-1650845050401.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/70777i6A8E75A9E2BE540B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mruizv_1-1650845050401.png" alt="Mruizv_1-1650845050401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/402297"&gt;@Mruizv&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I give some advice that will help you, and help us help you, in the future? Please be direct, state the desired results clearly, every single time. You didn't do that until about the 12th message of this thread, which is shown above. By showing us the desired output in your &lt;EM&gt;first&lt;/EM&gt; message, you would have gotten a very quick answer. But instead, we didn't know what you wanted until you showed us this table, but we knew you were trying things we didn't understand, and we didn't know where you were trying to go. From now on, make sure you show us (and explain) the desired results in your first message.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 13:10:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Labeling-and-formatting-in-SQL/m-p/809682#M319302</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-25T13:10:27Z</dc:date>
    </item>
  </channel>
</rss>

