<?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 Proc ID Transpose Issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-ID-Transpose-Issue/m-p/905806#M357716</link>
    <description>&lt;DIV&gt;PROC TRANSPOSE DATA=FINAL2&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;OUT = FINAL3 ;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;BY LOAN_NO;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ID new_date1;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;VAR INSTL_AMOUNT;&lt;/DIV&gt;&lt;DIV&gt;RUN;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ERROR: The ID value "NOV2023" occurs twice in the same BY group.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can anyone help on above issue ?&lt;/DIV&gt;</description>
    <pubDate>Sat, 02 Dec 2023 06:35:37 GMT</pubDate>
    <dc:creator>saikiran_nemani</dc:creator>
    <dc:date>2023-12-02T06:35:37Z</dc:date>
    <item>
      <title>Proc ID Transpose Issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-ID-Transpose-Issue/m-p/905806#M357716</link>
      <description>&lt;DIV&gt;PROC TRANSPOSE DATA=FINAL2&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;OUT = FINAL3 ;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;BY LOAN_NO;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ID new_date1;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;VAR INSTL_AMOUNT;&lt;/DIV&gt;&lt;DIV&gt;RUN;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ERROR: The ID value "NOV2023" occurs twice in the same BY group.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can anyone help on above issue ?&lt;/DIV&gt;</description>
      <pubDate>Sat, 02 Dec 2023 06:35:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-ID-Transpose-Issue/m-p/905806#M357716</guid>
      <dc:creator>saikiran_nemani</dc:creator>
      <dc:date>2023-12-02T06:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc ID Transpose Issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-ID-Transpose-Issue/m-p/905808#M357717</link>
      <description>&lt;P&gt;What it says. You have at least one LOAN_NO group where the NEW_DATE1 value "NOV2023" appears more than once.&lt;/P&gt;
&lt;P&gt;For TRANSPOSE to work, you have to de-duplicate the dataset first, so you have to make a decision what you do with the INSTL_AMOUNT values: take only one, sum, maximum, minimum, mean.&lt;/P&gt;
&lt;P&gt;Since a wide dataset will not be suited for further analysis, I suspect you need this for reporting purposes, so you should look at PROC REPORT first, as it can handle all this at once (use NEW_DATE1 as an ACROSS variable).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=final2;
column loan_no instl_amount,new_date1;
define loan_no / group;
define instl_amount / "" analysis sum;
define new_date1 / "" across;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 02 Dec 2023 06:52:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-ID-Transpose-Issue/m-p/905808#M357717</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-12-02T06:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc ID Transpose Issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-ID-Transpose-Issue/m-p/907337#M358170</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I've encountered the "Proc ID Transpose Issue" before, and it can be quite frustrating. Make sure to double-check your data formatting and variables. If you need help, there are some useful resources online like&amp;nbsp;essay app&amp;nbsp;&lt;A href="https://essaypro.app/" target="_self"&gt;https://essaypro.app/&lt;/A&gt; to troubleshoot this problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 14:29:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-ID-Transpose-Issue/m-p/907337#M358170</guid>
      <dc:creator>Cayden</dc:creator>
      <dc:date>2023-12-11T14:29:58Z</dc:date>
    </item>
  </channel>
</rss>

