<?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: Replace missing values &amp;quot;.&amp;quot; by 0 in SAS E.G. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-missing-values-quot-quot-by-0-in-SAS-E-G/m-p/288624#M19688</link>
    <description>&lt;P&gt;I believe that you may be referring to the output dataset WORK.TRAITES_S. Am I correct?&lt;/P&gt;
&lt;P&gt;If you want a 0 to appear in table view of the data set you may either set&lt;/P&gt;
&lt;P&gt;Options missing='0';&lt;/P&gt;
&lt;P&gt;which would make all variables with missing appear as 0 until you reset the option to the default "." which you would do with another option statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or if you only want those variables you could use a custom format such as:&lt;/P&gt;
&lt;P&gt;Proc format;&lt;/P&gt;
&lt;P&gt;value mymissing&lt;/P&gt;
&lt;P&gt;.='0'&lt;/P&gt;
&lt;P&gt;other=[best12.]&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;And associate that format with the specific variables in the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2016 15:36:41 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-08-01T15:36:41Z</dc:date>
    <item>
      <title>Replace missing values "." by 0 in SAS E.G.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-missing-values-quot-quot-by-0-in-SAS-E-G/m-p/288619#M19687</link>
      <description>&lt;P&gt;Hello, it's again me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I make a "table de sythese" and missing values are with "." and i want "0" . How can I do?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TITLE;
TITLE1 "Tables de synthèse";
FOOTNOTE;
FOOTNOTE1 "Généré par le Système SAS (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) le %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) à %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";
/* -------------------------------------------------------------------
   Code généré par une tâche SAS

   Généré le : lundi 1 août 2016 à 17:10:52
   Par tâche : Tables de synthèse2

   Données d'entrée : Local:WORK.FILTER_FOR_QUERY_FOR_ACP_LO_0000
   Serveur :  Local
   ------------------------------------------------------------------- */

%_eg_conditional_dropds(WORK.TRAITES_S);

/* -------------------------------------------------------------------
   Exécuter la procédure TABULATE
   ------------------------------------------------------------------- */
PROC TABULATE
DATA=WORK.FILTER_FOR_QUERY_FOR_ACP_LO_0000

	OUT=WORK.TRAITES_S(LABEL="Tables de synthèse pour WORK.FILTER_FOR_QUERY_FOR_ACP_LO_0000")
	
	;
	
	VAR "Identifiant opération"n;
	CLASS "Thème"n /	ORDER=UNFORMATTED MISSING;
	CLASS "Centre financier"n /	ORDER=UNFORMATTED MISSING;
	TABLE /* Dimension de page */
'Centre financier'n,
/* Dimension de ligne */
'Thème'n,
/* Dimension de colonne */
N 
ColPctN
/* Options de la table */
/ PRINTMISS MISSTEXT="0" INDENT=0 		;
	;

RUN;
/* -------------------------------------------------------------------
   Fin du code de la tâche.
   ------------------------------------------------------------------- */
RUN; QUIT;
TITLE; FOOTNOTE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:11:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-missing-values-quot-quot-by-0-in-SAS-E-G/m-p/288619#M19687</guid>
      <dc:creator>peter2</dc:creator>
      <dc:date>2016-08-01T15:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Replace missing values "." by 0 in SAS E.G.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-missing-values-quot-quot-by-0-in-SAS-E-G/m-p/288624#M19688</link>
      <description>&lt;P&gt;I believe that you may be referring to the output dataset WORK.TRAITES_S. Am I correct?&lt;/P&gt;
&lt;P&gt;If you want a 0 to appear in table view of the data set you may either set&lt;/P&gt;
&lt;P&gt;Options missing='0';&lt;/P&gt;
&lt;P&gt;which would make all variables with missing appear as 0 until you reset the option to the default "." which you would do with another option statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or if you only want those variables you could use a custom format such as:&lt;/P&gt;
&lt;P&gt;Proc format;&lt;/P&gt;
&lt;P&gt;value mymissing&lt;/P&gt;
&lt;P&gt;.='0'&lt;/P&gt;
&lt;P&gt;other=[best12.]&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;And associate that format with the specific variables in the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Replace-missing-values-quot-quot-by-0-in-SAS-E-G/m-p/288624#M19688</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-01T15:36:41Z</dc:date>
    </item>
  </channel>
</rss>

