<?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: Last month and YTD data in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829629#M41278</link>
    <description>&lt;P&gt;Just add these extra variables into PROC SUMMARY. The class variables go in the CLASS statement. The analysis variables go in the VAR statement. If you have four VAR variables, then the output statement must have four variable names. Give it a try.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 10:19:01 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-08-22T10:19:01Z</dc:date>
    <item>
      <title>Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829558#M41265</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having this year's data starting from Jan to July as of now. My Data gets updated on monthly basis. On next month i will have data up to August.&lt;/P&gt;
&lt;P&gt;I have a following variables&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Month&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Store_Name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Sales&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want my following variables in my report&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Month(In Filter)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Store_Name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Month_Sales(Using Sales Variable)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Sales_YTD(Using Sales Variable)&lt;/P&gt;
&lt;P&gt;Like Below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_el_doredo_0-1661088003137.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74555i3D14EC9BB7C4AF7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_el_doredo_0-1661088003137.png" alt="_el_doredo_0-1661088003137.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the month Filter, If i select May means in month_sales i need to see May month Sales and in YTD Sales i need to see Jan to May month overall sales.. Like wise if i change it to March, In Month Sales i need to see March Month Sales and in YTD i need to see Jan to March month over all sales.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be helpful if anyone provide some logic to it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 13:22:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829558#M41265</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-21T13:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829559#M41266</link>
      <description>&lt;P&gt;Are your month numeric variables with values 1 through 12, or are they character strings such as 'January 2022', or are they actual numeric SAS date values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you show us (part of) the SAS data set you will be using? I don't know what that screen capture is, where it is from, but we can't work from it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you work with SAS code in Enterprise Guide, or do you have to work only from the menus/GUI?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 13:35:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829559#M41266</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-21T13:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829561#M41268</link>
      <description>&lt;P&gt;My Month is MONNAMEw. format(Jan,Feb,Mar). Actually the screenshot which i added here is from Excel Pivot. My end result is on Pivot only. I want logic on SAS. So that i can use it in Excel to create pivot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 13:38:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829561#M41268</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-21T13:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829562#M41269</link>
      <description>&lt;P&gt;We can't work from Excel. Don't bother showing us Excel in the future. Show us your SAS data set.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Here is SAS logic assuming the year is 2022. This is UNTESTED CODE as I don't have your data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
    value ytdf. (multilabel) '01JAN2022'd-'31JAN2022'd='January 2022 YTD'
        '01JAN2022'd-'28FEB2022'd='February 2022 YTD'
        '01JAN2022'd-'31MAR2022'd='March 2022 YTD'
        ... /* you type the rest, I'm lazy */
        ;   /* Don't forget the semi-colon */
run;
proc summary data=have;
    class month/mlf;
    var sales;
    format class ytdf.;
    output out=want sum=ytd_sales;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you can create pivot tables in SAS, no need to create pivot tables in Excel.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 14:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829562#M41269</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-21T14:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829563#M41270</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached my sample data here. Now using this same data i want to have Month and Year as Filter(As i need to select any month and Year i want).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, If i am running my code now, Default i want Month_Sales as July month and YTD as (Jan to Jul). If i select Year as 2021 and Month as Sep in filter, I need my Month_Sales as 2021 Sept month overall sales and YTD as (Jan 2021 to Sept 2021 Overall Sales)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope i am clarifying my question to you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please import my Sample data&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 14:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829563#M41270</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-21T14:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829564#M41271</link>
      <description>&lt;P&gt;No no no. I said we can't work from Excel. Attaching an Excel file is totally useless here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to show us (a portion of) your SAS data set. You need to provide it as SAS data step code, which you can type in yourself (&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-keep-only-first-date-by-ID-with-multiple-rows-with-same/m-p/829531#M327751" target="_self"&gt;example&lt;/A&gt;), or you can create this SAS data step code via &lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;these instructions&lt;/A&gt;. That's the only form acceptable. Any other form is not acceptable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apparently, you did not even try my code on your data. Please do that.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 14:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829564#M41271</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-21T14:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829565#M41272</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached Data step code here use the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data Raw;&lt;BR /&gt;infile cards;&lt;BR /&gt;input Year month $ Store_Name Sales;&lt;BR /&gt;cards;&lt;BR /&gt;2021 Jan 534 250&lt;BR /&gt;2021 Jan 768 275&lt;BR /&gt;2021 Jan 556 300&lt;BR /&gt;2021 Jan 899 325&lt;BR /&gt;2021 Jan 544 350&lt;BR /&gt;2021 Feb 534 375&lt;BR /&gt;2021 Feb 768 400&lt;BR /&gt;2021 Feb 556 425&lt;BR /&gt;2021 Feb 899 450&lt;BR /&gt;2021 Feb 544 475&lt;BR /&gt;2021 Mar 534 500&lt;BR /&gt;2021 Mar 768 525&lt;BR /&gt;2021 Mar 556 550&lt;BR /&gt;2021 Mar 899 575&lt;BR /&gt;2021 Mar 544 600&lt;BR /&gt;2021 Apr 534 625&lt;BR /&gt;2021 Apr 768 650&lt;BR /&gt;2021 Apr 556 675&lt;BR /&gt;2021 Apr 899 700&lt;BR /&gt;2021 Apr 544 725&lt;BR /&gt;2021 May 534 750&lt;BR /&gt;2021 May 768 775&lt;BR /&gt;2021 May 556 800&lt;BR /&gt;2021 May 899 825&lt;BR /&gt;2021 May 544 850&lt;BR /&gt;2021 Jun 534 875&lt;BR /&gt;2021 Jun 768 900&lt;BR /&gt;2021 Jun 556 925&lt;BR /&gt;2021 Jun 899 950&lt;BR /&gt;2021 Jun 544 975&lt;BR /&gt;2021 Jul 534 1000&lt;BR /&gt;2021 Jul 768 1025&lt;BR /&gt;2021 Jul 556 1050&lt;BR /&gt;2021 Jul 899 1075&lt;BR /&gt;2021 Jul 544 1100&lt;BR /&gt;2021 Aug 534 1125&lt;BR /&gt;2021 Aug 768 1150&lt;BR /&gt;2021 Aug 556 1175&lt;BR /&gt;2021 Aug 899 1200&lt;BR /&gt;2021 Aug 544 1225&lt;BR /&gt;2021 Sep 534 1250&lt;BR /&gt;2021 Sep 768 1275&lt;BR /&gt;2021 Sep 556 1300&lt;BR /&gt;2021 Sep 899 1325&lt;BR /&gt;2021 Sep 544 1350&lt;BR /&gt;2021 Oct 534 1375&lt;BR /&gt;2021 Oct 768 1400&lt;BR /&gt;2021 Oct 556 1425&lt;BR /&gt;2021 Oct 899 1450&lt;BR /&gt;2021 Oct 544 1475&lt;BR /&gt;2021 Nov 534 1500&lt;BR /&gt;2021 Nov 768 1525&lt;BR /&gt;2021 Nov 556 1550&lt;BR /&gt;2021 Nov 899 1575&lt;BR /&gt;2021 Nov 544 1600&lt;BR /&gt;2021 Dec 534 1625&lt;BR /&gt;2021 Dec 768 1650&lt;BR /&gt;2021 Dec 556 1675&lt;BR /&gt;2021 Dec 899 1700&lt;BR /&gt;2021 Dec 544 1725&lt;BR /&gt;2022 Jan 534 1750&lt;BR /&gt;2022 Jan 768 1775&lt;BR /&gt;2022 Jan 556 1800&lt;BR /&gt;2022 Jan 899 1825&lt;BR /&gt;2022 Jan 544 1850&lt;BR /&gt;2022 Feb 534 1875&lt;BR /&gt;2022 Feb 768 1900&lt;BR /&gt;2022 Feb 556 1925&lt;BR /&gt;2022 Feb 899 1950&lt;BR /&gt;2022 Feb 544 1975&lt;BR /&gt;2022 Mar 534 2000&lt;BR /&gt;2022 Mar 768 2025&lt;BR /&gt;2022 Mar 556 2050&lt;BR /&gt;2022 Mar 899 2075&lt;BR /&gt;2022 Mar 544 2100&lt;BR /&gt;2022 Apr 534 2125&lt;BR /&gt;2022 Apr 768 2150&lt;BR /&gt;2022 Apr 556 2175&lt;BR /&gt;2022 Apr 899 2200&lt;BR /&gt;2022 Apr 544 2225&lt;BR /&gt;2022 May 534 2250&lt;BR /&gt;2022 May 768 2275&lt;BR /&gt;2022 May 556 2300&lt;BR /&gt;2022 May 899 2325&lt;BR /&gt;2022 May 544 2350&lt;BR /&gt;2022 Jun 534 2375&lt;BR /&gt;2022 Jun 768 2400&lt;BR /&gt;2022 Jun 556 2425&lt;BR /&gt;2022 Jun 899 2450&lt;BR /&gt;2022 Jun 544 2475&lt;BR /&gt;2022 Jul 534 2500&lt;BR /&gt;2022 Jul 768 2525&lt;BR /&gt;2022 Jul 556 2550&lt;BR /&gt;2022 Jul 899 2575&lt;BR /&gt;2022 Jul 544 2600&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;I will try to run the code which you sent to me.. Thank you so much&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 14:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829565#M41272</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-21T14:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829566#M41273</link>
      <description>&lt;P&gt;This is not what you said earlier. You said:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;My Month is MONNAMEw. format(Jan,Feb,Mar).&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if your data is not MONNAMEw. format, then the code I provided won't work. Please clarify this.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 14:23:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829566#M41273</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-21T14:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829567#M41274</link>
      <description>&lt;P&gt;Sorry my bad.. Month is character variable only. It doesn't have any formats.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 14:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829567#M41274</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-21T14:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829569#M41275</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
    value $ytdf. (multilabel) 
        'Jan'='January 2022 YTD'
        'Jan','Feb'='February 2022 YTD'
        'Jan','Feb','Mar'='March 2022 YTD'
        ... /* you type the rest, I'm lazy */
        ;   /* Don't forget the semi-colon */
run;
proc summary data=have nway;
    class month/mlf;
    class year;
    var sales;
    format class $ytdf.;
    output out=want sum=ytd_sales;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 21 Aug 2022 15:19:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829569#M41275</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-21T15:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829573#M41276</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; , It helps a lot&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 15:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829573#M41276</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-21T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829620#M41277</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have multiple classes here..Like year,Store_Name,Area,State and also i have multiple variables to check for Month and YTD.&lt;/P&gt;
&lt;P&gt;The code which you provided will get me YTD data. But, along that i need Month data as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Classes : Year,Month,Store_Name,Area,State&lt;/P&gt;
&lt;P&gt;Var : Sales,Payment,click,steps ( All are numeric only)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now i want to find Month and YTD for these.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If i select May 2022 means I need to see May 2022 month data for all VAR variables and (Jan 2022 to May 2022 Overall data) for all VAR variables&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you get my question here&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 09:18:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829620#M41277</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-22T09:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829629#M41278</link>
      <description>&lt;P&gt;Just add these extra variables into PROC SUMMARY. The class variables go in the CLASS statement. The analysis variables go in the VAR statement. If you have four VAR variables, then the output statement must have four variable names. Give it a try.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 10:19:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829629#M41278</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-22T10:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829635#M41279</link>
      <description>&lt;P&gt;Yeah i tried that i worked well for YTD. But, I need Month wise data as well. If i create the same for Month then if i merge with YTD means i am getting lots of Duplicate values for Month Data&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 10:38:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829635#M41279</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-22T10:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829636#M41280</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/366820"&gt;@_el_doredo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yeah i tried that i worked well for YTD. But, I need Month wise data as well. If i create the same for Month then if i merge with YTD means i am getting lots of Duplicate values for Month Data&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you also need month results (not YTD but just the one month), then you need to run the PROC SUMMARY code again without the MLF option and without the FORMAT statement.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 10:41:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829636#M41280</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-22T10:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Last month and YTD data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829637#M41281</link>
      <description>&lt;P&gt;Lemme try it Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 10:43:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Last-month-and-YTD-data/m-p/829637#M41281</guid>
      <dc:creator>_el_doredo</dc:creator>
      <dc:date>2022-08-22T10:43:15Z</dc:date>
    </item>
  </channel>
</rss>

