<?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 view whole dataset after applying Where or If statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436776#M108681</link>
    <description>&lt;P&gt;Thanks a ton.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2018 16:21:20 GMT</pubDate>
    <dc:creator>rasika</dc:creator>
    <dc:date>2018-02-13T16:21:20Z</dc:date>
    <item>
      <title>How to view whole dataset after applying Where or If statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436766#M108673</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know if I give any conditional arithmetic expression then can I view whole datasets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example - if I have List of employees with Department and Salary and I have to calculate incentives for specific department but I want to view whole data set and not only those specific employees.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 15:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436766#M108673</guid>
      <dc:creator>rasika</dc:creator>
      <dc:date>2018-02-13T15:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to view whole dataset after applying Where or If statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436772#M108677</link>
      <description>&lt;P&gt;WHERE or subsetting IF removes those records. Instead of WHERE/IF consider creating a flagged variable to identify the records instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/190954"&gt;@rasika&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to know if I give any conditional arithmetic expression then can I view whole datasets?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example - if I have List of employees with Department and Salary and I have to calculate incentives for specific department but I want to view whole data set and not only those specific employees.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 16:04:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436772#M108677</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-13T16:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to view whole dataset after applying Where or If statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436773#M108678</link>
      <description>&lt;P&gt;Do not apply a where or subsetting if statement if you want the other records. You would conditionally assign values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; if department = 'SALES' then incentive = salary* 0.1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;would only add an incentive for the specific department. All the other records would have missing values for incentive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 16:05:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436773#M108678</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-13T16:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to view whole dataset after applying Where or If statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436776#M108681</link>
      <description>&lt;P&gt;Thanks a ton.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 16:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-whole-dataset-after-applying-Where-or-If-statement/m-p/436776#M108681</guid>
      <dc:creator>rasika</dc:creator>
      <dc:date>2018-02-13T16:21:20Z</dc:date>
    </item>
  </channel>
</rss>

