<?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 reoort - how to make icons in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-reoort-how-to-make-icons/m-p/707531#M26514</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; What is your destination of interest? RTF, PDF, HTML, EXCEL? You don't show any ODS statements, so it is only a guess that you might want PDF based on the dataset name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; This works for me in HTML, using a simple format specification since you're using the glyph (the checkmark) and other characters for the formatted value and then a DEFINE statement style override to change the background:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1608570057538.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52941i2E1762C378817E9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1608570057538.png" alt="Cynthia_sas_0-1608570057538.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>Mon, 21 Dec 2020 17:01:54 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2020-12-21T17:01:54Z</dc:date>
    <item>
      <title>Proc reoort - how to make icons</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-reoort-how-to-make-icons/m-p/707408#M26499</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this code for a proc report&lt;/P&gt;&lt;P&gt;And the format for a check mark symbol do not show in the output ?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mprint;

Proc format;
value pctf
. =  ''
low-&amp;lt;0.1 = 'X'
0.1-high = '(*ESC*){unicode "2713"x}'
;
value colorf
. =  white
low-&amp;lt;0.1 = lightmoderatered
0.1-high = lightblue
;
run;
%macro many_col;
    proc sql noprint;
        select count(distinct dato) into :ncols from pdf1;
    quit;
    %put &amp;amp;=ncols;
	proc report data=pdf1 style(header) = {background = STEEL color = white};
	    columns region teststed dato,ventetid;
	    define Region/group style(header) = {background = STEEL color = white font_weight=bold font_face=calibri} style(column) = {background = STEEL color = white font_weight=bold font_face=calibri};
	    define teststed/group style(header) = {background = STEEL color = white font_weight=bold font_face=calibri} style(column) = {background = STEEL color = white font_face=calibri};
	    define dato/across order=internal format= ddmmyyd10. style(header) = {background = STEEL color = white font_weight=bold font_face=calibri};
	    define ventetid/sum format=pctf5.'';
	    compute ventetid;
	          %do i=1 %to &amp;amp;ncols;
	               call define("_c%eval(&amp;amp;i+2)_",'style','style={background=colorf. color=black font_face=calibri}');
	          %end;

	      endcompute;
	run;
%mend;

%many_col&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Dec 2020 11:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-reoort-how-to-make-icons/m-p/707408#M26499</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2020-12-21T11:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc reoort - how to make icons</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-reoort-how-to-make-icons/m-p/707531#M26514</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; What is your destination of interest? RTF, PDF, HTML, EXCEL? You don't show any ODS statements, so it is only a guess that you might want PDF based on the dataset name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; This works for me in HTML, using a simple format specification since you're using the glyph (the checkmark) and other characters for the formatted value and then a DEFINE statement style override to change the background:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1608570057538.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52941i2E1762C378817E9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1608570057538.png" alt="Cynthia_sas_0-1608570057538.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>Mon, 21 Dec 2020 17:01:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-reoort-how-to-make-icons/m-p/707531#M26514</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-12-21T17:01:54Z</dc:date>
    </item>
  </channel>
</rss>

