<?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: Conditionally formatting a column using another column in PROC TABULATE in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536660#M6650</link>
    <description>&lt;P&gt;Please post code and log in the windows appearing when using {i}- or running-man-icon. Test-data, posted as data-step using datalines statement, is useful, too.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2019 07:11:05 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2019-02-19T07:11:05Z</dc:date>
    <item>
      <title>Conditionally formatting a column using another column in PROC TABULATE</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536658#M6649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the PROC Tabulate, I'm trying to format the field in the VAR statement using the values in CLASSLEV variable. Unfortunately, it does not work. The format in the VAR statement is dependent on the values in the CLASS variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 07:04:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536658#M6649</guid>
      <dc:creator>JET_PANGAN</dc:creator>
      <dc:date>2019-02-19T07:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally formatting a column using another column in PROC TABULATE</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536660#M6650</link>
      <description>&lt;P&gt;Please post code and log in the windows appearing when using {i}- or running-man-icon. Test-data, posted as data-step using datalines statement, is useful, too.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 07:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536660#M6650</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-02-19T07:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally formatting a column using another column in PROC TABULATE</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536663#M6651</link>
      <description>&lt;P&gt;I'm experimenting if the code below works. I attached the sample data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* START OF SAS CODE */&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value measure_fmt&lt;BR /&gt;1 = comma32.&lt;BR /&gt;OTHER = comma32.2&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc tabulate data=WORK.sample_data;&lt;BR /&gt;class F1 F2 F3 F4 SEQ_NO;&lt;BR /&gt;classlev F4 / style={Format=measure_fmt.};&lt;BR /&gt;var NOACCT;&lt;BR /&gt;table&lt;BR /&gt;/* Row Labels */&lt;BR /&gt;SEQ_NO,&lt;BR /&gt;/* Column Labels */&lt;BR /&gt;F1=" "*F2=" "*F3=" "*F4={LABEL=" "}*NOACCT=" "*SUM=" "*{STYLE=&amp;lt;PARENT&amp;gt;};&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;/* END OF SAS CODE */&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 07:40:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536663#M6651</guid>
      <dc:creator>JET_PANGAN</dc:creator>
      <dc:date>2019-02-19T07:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally formatting a column using another column in PROC TABULATE</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536664#M6652</link>
      <description>&lt;P&gt;SAS-Formats are applied by using the format-statement, not the style option.&lt;/P&gt;
&lt;P&gt;So adding&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format F4 measure_fmt.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;should solve the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 08:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Conditionally-formatting-a-column-using-another-column-in-PROC/m-p/536664#M6652</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-02-19T08:05:51Z</dc:date>
    </item>
  </channel>
</rss>

