<?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 Problem When doing &amp;quot;List Report&amp;quot; with duplication values in every month in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-When-doing-quot-List-Report-quot-with-duplication-values/m-p/244591#M17409</link>
    <description>&lt;P&gt;I have a set of data that has no duplication and with the only info that i need for reporting.&lt;/P&gt;&lt;P&gt;Im doing this by using SAS EG GUI drag and drop, not by coding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my problem.&lt;/P&gt;&lt;P&gt;I can get the List Report and displaying properly if i view it as Full report with every records in it with a SUM at the end counting my Car price..&lt;/P&gt;&lt;P&gt;If i set it to group(create a seperate table for each value of) with Month, i should be getting the results of every month's sales record with a total amount for each month. But, Im only getting the Final total at the most bottom of the report. I tried tweaking the settings in Page Break, tried putting the Total by Grand Total,&amp;nbsp;it will duplicates all my records for each and every field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me show u my data and step by step&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1513i36043C3DD25FBA29/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Clean data.jpg" title="Clean data.jpg" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, these are my data. I want to show the Car record by ColumnX_CarMANUMONTH with the SUM of Carprice in every month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then make a full report with the SUM of carprice(for some reason, the Same carmake will not appear and appear as blank, need ur advice):&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1514i2431722D1BDA0398/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Report.jpg" title="Report.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i try to set it to separate table based on MONTH:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1515i8F4EE2A50C3DBD37/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 3.png" title="reporting problem 3.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and with Page break of grand Total:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1516i1B0B222F65ADE350/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 5.png" title="reporting problem 5.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then only get this result:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1517i094127BA49F1B369/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 6.png" title="reporting problem 6.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, there is only a CARPRICE SUM at the most bottom of the report. What i want is to have a SUM for every month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then modify the task Page Break into this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1518i0283467363D699FB/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 4.png" title="reporting problem 4.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then im getting this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1512iE6C79BEB6DF83D82/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 1.png" title="reporting problem 1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I spent a long time trying all the other settings and still no luck. I then google and found some basic code that can do Reporting.&lt;/P&gt;&lt;P&gt;Here are my code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;SORT&lt;/STRONG&gt; DATA=WORK.QUERY_FOR_TRNSTRANSPOSEDAPPEND_T OUT=WORK.YANDHIMONTH;&lt;/P&gt;&lt;P&gt;BY COLUMNX_CARMANUMONTH;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;PRINT&lt;/STRONG&gt; DATA=WORK.YANDHIMONTH;&lt;/P&gt;&lt;P&gt;VAR ColumnX_CARMANUMONTH ColumnX_CARMAKE ColumnX_CARMODEL ColumnX_CARTYPE ColumnX_CARYEAR;&lt;/P&gt;&lt;P&gt;SUM CARPRICE;&lt;/P&gt;&lt;P&gt;BY ColumnX_CARMANUMONTH;&lt;/P&gt;&lt;P&gt;title 'YANDHI IS KING';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and guess what, i got what i want (but i am still thinking on how to insert title and let all the table have the same alignment)&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1519i41F1DC592592BAE5/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 7.png" title="reporting problem 7.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you all can see, there is a SUM in every month. This is my expectation by using drag and drop in SAS EG but so far no luck on my side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your kind advice to help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dickson&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12209iCA02A7A0AFFEAD96/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Clean data.jpg" title="Clean data.jpg" /&gt;</description>
    <pubDate>Wed, 20 Jan 2016 03:09:15 GMT</pubDate>
    <dc:creator>imdickson</dc:creator>
    <dc:date>2016-01-20T03:09:15Z</dc:date>
    <item>
      <title>Problem When doing "List Report" with duplication values in every month</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-When-doing-quot-List-Report-quot-with-duplication-values/m-p/244591#M17409</link>
      <description>&lt;P&gt;I have a set of data that has no duplication and with the only info that i need for reporting.&lt;/P&gt;&lt;P&gt;Im doing this by using SAS EG GUI drag and drop, not by coding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my problem.&lt;/P&gt;&lt;P&gt;I can get the List Report and displaying properly if i view it as Full report with every records in it with a SUM at the end counting my Car price..&lt;/P&gt;&lt;P&gt;If i set it to group(create a seperate table for each value of) with Month, i should be getting the results of every month's sales record with a total amount for each month. But, Im only getting the Final total at the most bottom of the report. I tried tweaking the settings in Page Break, tried putting the Total by Grand Total,&amp;nbsp;it will duplicates all my records for each and every field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me show u my data and step by step&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1513i36043C3DD25FBA29/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Clean data.jpg" title="Clean data.jpg" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, these are my data. I want to show the Car record by ColumnX_CarMANUMONTH with the SUM of Carprice in every month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then make a full report with the SUM of carprice(for some reason, the Same carmake will not appear and appear as blank, need ur advice):&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1514i2431722D1BDA0398/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Report.jpg" title="Report.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i try to set it to separate table based on MONTH:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1515i8F4EE2A50C3DBD37/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 3.png" title="reporting problem 3.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and with Page break of grand Total:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1516i1B0B222F65ADE350/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 5.png" title="reporting problem 5.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then only get this result:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1517i094127BA49F1B369/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 6.png" title="reporting problem 6.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, there is only a CARPRICE SUM at the most bottom of the report. What i want is to have a SUM for every month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then modify the task Page Break into this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1518i0283467363D699FB/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 4.png" title="reporting problem 4.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then im getting this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1512iE6C79BEB6DF83D82/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 1.png" title="reporting problem 1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I spent a long time trying all the other settings and still no luck. I then google and found some basic code that can do Reporting.&lt;/P&gt;&lt;P&gt;Here are my code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;SORT&lt;/STRONG&gt; DATA=WORK.QUERY_FOR_TRNSTRANSPOSEDAPPEND_T OUT=WORK.YANDHIMONTH;&lt;/P&gt;&lt;P&gt;BY COLUMNX_CARMANUMONTH;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;PRINT&lt;/STRONG&gt; DATA=WORK.YANDHIMONTH;&lt;/P&gt;&lt;P&gt;VAR ColumnX_CARMANUMONTH ColumnX_CARMAKE ColumnX_CARMODEL ColumnX_CARTYPE ColumnX_CARYEAR;&lt;/P&gt;&lt;P&gt;SUM CARPRICE;&lt;/P&gt;&lt;P&gt;BY ColumnX_CARMANUMONTH;&lt;/P&gt;&lt;P&gt;title 'YANDHI IS KING';&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and guess what, i got what i want (but i am still thinking on how to insert title and let all the table have the same alignment)&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1519i41F1DC592592BAE5/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="reporting problem 7.png" title="reporting problem 7.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you all can see, there is a SUM in every month. This is my expectation by using drag and drop in SAS EG but so far no luck on my side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need your kind advice to help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dickson&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12209iCA02A7A0AFFEAD96/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Clean data.jpg" title="Clean data.jpg" /&gt;</description>
      <pubDate>Wed, 20 Jan 2016 03:09:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-When-doing-quot-List-Report-quot-with-duplication-values/m-p/244591#M17409</guid>
      <dc:creator>imdickson</dc:creator>
      <dc:date>2016-01-20T03:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem When doing "List Report" with duplication values in every month</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-When-doing-quot-List-Report-quot-with-duplication-values/m-p/244602#M17410</link>
      <description>&lt;P&gt;Click on the dataset in SAS EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go to Task List, click "List Data"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1520iD993309875EDE13D/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="image1.PNG" title="image1.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Data tab, drag and drop the variables to "List variables" panel in the right.&lt;/P&gt;
&lt;P&gt;drag n drop your&amp;nbsp;month column in "group analysis by", carprice column in "total of"&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1521iD4DBB5C03C03C2E8/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="image2.PNG" title="image2.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;Go to Options tabs, uncheck the print the row number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go to Title tab, uncheck the Use default text and tyoe your custom title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;click run.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/1522i85FB269C5C738509/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="image3.PNG" title="image3.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;This is the simple list report. Hope might help you.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 07:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-When-doing-quot-List-Report-quot-with-duplication-values/m-p/244602#M17410</guid>
      <dc:creator>Manu_SAS</dc:creator>
      <dc:date>2016-01-20T07:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem When doing "List Report" with duplication values in every month</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-When-doing-quot-List-Report-quot-with-duplication-values/m-p/244616#M17411</link>
      <description>&lt;P&gt;Thx man, u helped me. This is exactly what i want. Meaning i shouldn't use "List Report".&lt;/P&gt;&lt;P&gt;Thx again.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 08:09:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Problem-When-doing-quot-List-Report-quot-with-duplication-values/m-p/244616#M17411</guid>
      <dc:creator>imdickson</dc:creator>
      <dc:date>2016-01-20T08:09:00Z</dc:date>
    </item>
  </channel>
</rss>

