<?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 Step Count based on exclusion in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Step-Count-based-on-exclusion/m-p/888536#M351045</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset that contains exclusion tags per customer and reporting month. I want to be able to show a report (proc tabulate, report) that shows how many observations remain after each exclusion tags (like a waterfall type).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Goal:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jjdalfonso_0-1691577077161.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86559i117F690465469AD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jjdalfonso_0-1691577077161.png" alt="jjdalfonso_0-1691577077161.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For criteria 2 exclusions, the dataset should be the net of the criteria 1 exclusion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 10:35:20 GMT</pubDate>
    <dc:creator>jjdalfonso</dc:creator>
    <dc:date>2023-08-09T10:35:20Z</dc:date>
    <item>
      <title>Step Count based on exclusion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Step-Count-based-on-exclusion/m-p/888536#M351045</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset that contains exclusion tags per customer and reporting month. I want to be able to show a report (proc tabulate, report) that shows how many observations remain after each exclusion tags (like a waterfall type).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Goal:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jjdalfonso_0-1691577077161.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86559i117F690465469AD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jjdalfonso_0-1691577077161.png" alt="jjdalfonso_0-1691577077161.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For criteria 2 exclusions, the dataset should be the net of the criteria 1 exclusion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 10:35:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Step-Count-based-on-exclusion/m-p/888536#M351045</guid>
      <dc:creator>jjdalfonso</dc:creator>
      <dc:date>2023-08-09T10:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Step Count based on exclusion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Step-Count-based-on-exclusion/m-p/888545#M351047</link>
      <description>&lt;P&gt;Please provide input data (a small portion is fine), as SAS data step code (&lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;examples and instructions&lt;/A&gt;), &lt;FONT color="#FF0000"&gt;and not in any other form&lt;/FONT&gt;. We can't write code without knowing the input data.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 11:39:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Step-Count-based-on-exclusion/m-p/888545#M351047</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-08-09T11:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Step Count based on exclusion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Step-Count-based-on-exclusion/m-p/888593#M351064</link>
      <description>&lt;P&gt;Pretty sure this wouldn't be a Proc Tabulate as it has very little in the way of "use a result from row x to calculate row y".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks more like a summary step to get the count per month overall and per "exclusion" then a pass through at data step.&lt;/P&gt;
&lt;P&gt;But not even going to suggest dummy code without a small example as your data may be structured quite differently that I am imagining it to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hint: Example data should not include more than may 20 total "exclusions" for a month and should include no more than 3 months unless more are needed to demonstrate some peculiarity of your data such as differing "criteria" per month.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 15:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Step-Count-based-on-exclusion/m-p/888593#M351064</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-09T15:29:39Z</dc:date>
    </item>
  </channel>
</rss>

