<?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: how to add asterisk to the values in the output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710963#M218940</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt;Without seeing ALL of your code and having some test data, it is impossible to make a constructive comment. The one thing that I can think might cause the behavior you describe, is if you might have an ACROSS variable on your report? If so, then a simple format won't work in that case. You'll have to use CALL DEFINE, as I showed in my last posted example, where I tested height and weight. But with an ACROSS item, the code gets a bit more complex. You'll have to use absolute column numbers in the CALL DEFINE. I could not open your PDF file because it got an error.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp; Here's an ACROSS example where I only want to add an asterisk for the WEIGHT value under the M Across column:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1610503141494.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53435iB7C8C967217B954B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1610503141494.png" alt="Cynthia_sas_0-1610503141494.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp; Here's a paper that talks more about using ACROSS items with PROC REPORT &lt;A href="http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;BR /&gt;. Of course, if I guessed wrong, then you'll need to explain in more detail providing code and data. Or work with Tech Support on this. Tech Support can look at ALL your data and ALL your code and answer your question.&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2021 02:01:39 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2021-01-13T02:01:39Z</dc:date>
    <item>
      <title>how to add asterisk to the values in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710336#M218645</link>
      <description>&lt;P&gt;Hi Users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to add an asterisk to the implausible values in the SAS output. I concatenate the asterisk in the dataset but when I use proc report&amp;nbsp; for the output , the outputs doesn't show asterisk because it is in character format. Is there any option&amp;nbsp; in the &amp;nbsp;proc report to concatenate asterisk to the specific values. Here I am trying to concatenate asterisk to (Descriptive stats)Max values &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2021 00:51:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710336#M218645</guid>
      <dc:creator>ramtejdasari</dc:creator>
      <dc:date>2021-01-09T00:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to add asterisk to the values in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710340#M218647</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Using SASHELP.CLASS, and a PICTURE format, you can specify a way to alter the display of a value. In this example, for any age that is 15, I want to have an asterisk appended to the variable value. The PICTURE format is not only available to use with PROC REPORT, you can use this type of format with other procedures too:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1610155509514.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53353iB9386DA406CE5CA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1610155509514.png" alt="Cynthia_sas_0-1610155509514.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2021 01:25:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710340#M218647</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-01-09T01:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to add asterisk to the values in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710405#M218685</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;'s approach is where I would start.&lt;/P&gt;
&lt;P&gt;With simple range of values it is easy. But, implausible for one record/group might be plausible for another.&lt;/P&gt;
&lt;P&gt;Consider a measurement of people like height. If your data includes children to adults then a value of 6 feet might be "implausible" for a 5 year but quite plausible for a 30 year old male.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if your range of "plausible" varies based on the values of one or more other characteristics then you should provide such description/examples. In such cases I would expect to have to summarize the data before displaying the result.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2021 23:16:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710405#M218685</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-09T23:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to add asterisk to the values in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710406#M218686</link>
      <description>&lt;P&gt;Yes, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt; makes a fair point. If you need to do some kind of highlighting based on the values or interaction between 2 or more columns, then you would need to move to a COMPUTE block with PROC REPORT as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1610243220990.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53367iF5E6E7683E81D57C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1610243220990.png" alt="Cynthia_sas_0-1610243220990.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2021 01:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710406#M218686</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-01-10T01:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to add asterisk to the values in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710486#M218718</link>
      <description>&lt;P&gt;Thank you so much. I got the expected output.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 02:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710486#M218718</guid>
      <dc:creator>ramtejdasari</dc:creator>
      <dc:date>2021-01-11T02:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to add asterisk to the values in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710926#M218931</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; Hi , I have a follow up question , I assign the asterisk using the picture format. I need this format for only one treatment arm(180mg) , but its getting duplicated other values. Please find the attached pdf output&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 21:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710926#M218931</guid>
      <dc:creator>ramtejdasari</dc:creator>
      <dc:date>2021-01-12T21:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to add asterisk to the values in the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710963#M218940</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;Without seeing ALL of your code and having some test data, it is impossible to make a constructive comment. The one thing that I can think might cause the behavior you describe, is if you might have an ACROSS variable on your report? If so, then a simple format won't work in that case. You'll have to use CALL DEFINE, as I showed in my last posted example, where I tested height and weight. But with an ACROSS item, the code gets a bit more complex. You'll have to use absolute column numbers in the CALL DEFINE. I could not open your PDF file because it got an error.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp; Here's an ACROSS example where I only want to add an asterisk for the WEIGHT value under the M Across column:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1610503141494.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53435iB7C8C967217B954B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1610503141494.png" alt="Cynthia_sas_0-1610503141494.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp; Here's a paper that talks more about using ACROSS items with PROC REPORT &lt;A href="http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;BR /&gt;. Of course, if I guessed wrong, then you'll need to explain in more detail providing code and data. Or work with Tech Support on this. Tech Support can look at ALL your data and ALL your code and answer your question.&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 02:01:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-add-asterisk-to-the-values-in-the-output/m-p/710963#M218940</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-01-13T02:01:39Z</dc:date>
    </item>
  </channel>
</rss>

