<?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 Create a new variable that captures the order of another variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-a-new-variable-that-captures-the-order-of-another/m-p/823797#M325326</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a datasets that contains movies and how many people have watched it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a new variable (Position) that Position=1 if that movie is the most streamed, Position=2 if that movie is the second most streamed movie, etc...&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 10:27:17 GMT</pubDate>
    <dc:creator>lola_rodriguez</dc:creator>
    <dc:date>2022-07-18T10:27:17Z</dc:date>
    <item>
      <title>Create a new variable that captures the order of another variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-new-variable-that-captures-the-order-of-another/m-p/823797#M325326</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a datasets that contains movies and how many people have watched it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a new variable (Position) that Position=1 if that movie is the most streamed, Position=2 if that movie is the second most streamed movie, etc...&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 10:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-new-variable-that-captures-the-order-of-another/m-p/823797#M325326</guid>
      <dc:creator>lola_rodriguez</dc:creator>
      <dc:date>2022-07-18T10:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new variable that captures the order of another variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-new-variable-that-captures-the-order-of-another/m-p/823802#M325327</link>
      <description>&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p16s2o8e4bnqrin1phywxdaxqba7.htm" target="_self"&gt;PROC RANK&lt;/A&gt; is probably best here. If a movie has the same amount of views, what do you want to do with ties?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 11:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-new-variable-that-captures-the-order-of-another/m-p/823802#M325327</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2022-07-18T11:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new variable that captures the order of another variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-new-variable-that-captures-the-order-of-another/m-p/824045#M325406</link>
      <description>Thank you very much! &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/281770"&gt;@maguiremq&lt;/a&gt;</description>
      <pubDate>Tue, 19 Jul 2022 07:50:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-new-variable-that-captures-the-order-of-another/m-p/824045#M325406</guid>
      <dc:creator>lola_rodriguez</dc:creator>
      <dc:date>2022-07-19T07:50:41Z</dc:date>
    </item>
  </channel>
</rss>

