<?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 create a new column that is running total of values of different column in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-new-column-that-is-running-total-of-values-of/m-p/844265#M36678</link>
    <description>Thank you Sir for your help.</description>
    <pubDate>Tue, 15 Nov 2022 04:14:12 GMT</pubDate>
    <dc:creator>PranavShelke</dc:creator>
    <dc:date>2022-11-15T04:14:12Z</dc:date>
    <item>
      <title>How to create a new column that is running total of values of different column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-new-column-that-is-running-total-of-values-of/m-p/844015#M36654</link>
      <description>Open p202p04.sas from the practices folder.&lt;BR /&gt;&lt;BR /&gt;2. Complete the PROC SORT step to sort the pg2.np_yearlytraffic table by ParkType and ParkName.&lt;BR /&gt;&lt;BR /&gt;3. In the DATA step, read the sorted table created in PROC SORT.&lt;BR /&gt;&lt;BR /&gt;4. Add a BY statement to group the data by ParkType.&lt;BR /&gt;&lt;BR /&gt;5. Create a column, TypeCount, that is the running total of Count within each value of ParkType.&lt;BR /&gt;&lt;BR /&gt;6. Format TypeCount so that values are displayed with commas.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;7. Keep only the ParkType and TypeCount columns in the output table.&lt;BR /&gt;&lt;BR /&gt;I need help in performing 5th step</description>
      <pubDate>Sun, 13 Nov 2022 17:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-new-column-that-is-running-total-of-values-of/m-p/844015#M36654</guid>
      <dc:creator>PranavShelke</dc:creator>
      <dc:date>2022-11-13T17:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new column that is running total of values of different column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-new-column-that-is-running-total-of-values-of/m-p/844017#M36655</link>
      <description>&lt;P&gt;You need to RETAIN the new variable.&lt;/P&gt;
&lt;P&gt;Since you already have a BY statement, so the automatic first.parktype variable can be used to reset the new variable to zero. Add count.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2022 18:51:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-new-column-that-is-running-total-of-values-of/m-p/844017#M36655</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-13T18:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new column that is running total of values of different column</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-new-column-that-is-running-total-of-values-of/m-p/844265#M36678</link>
      <description>Thank you Sir for your help.</description>
      <pubDate>Tue, 15 Nov 2022 04:14:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-create-a-new-column-that-is-running-total-of-values-of/m-p/844265#M36678</guid>
      <dc:creator>PranavShelke</dc:creator>
      <dc:date>2022-11-15T04:14:12Z</dc:date>
    </item>
  </channel>
</rss>

