<?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 Sas Reports in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Reports/m-p/348955#M63724</link>
    <description>&lt;DIV&gt;I need small help, I am trying to create a report in the below format.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I will have input as mentioned as 'X' for each Dr. WK1_launch RX....WK6 RX( is nothing but number of prescriptions written for each week).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We need to get total as given, that is total number of RX written by all Dr for that week.&lt;/DIV&gt;&lt;DIV&gt;Repeated total is nothing but when each dr repeated his RX in continued week.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Collective total is calculation of each non repeated RX.&lt;/DIV&gt;&lt;DIV&gt;Collective repeated is addition of all repeated RX.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have tried PRC Freq and summary.&lt;/DIV&gt;&lt;DIV&gt;First and last and having different flags, getting wrong data. Any idea or any sort of code. Please help me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG src="https://mail.google.com/mail/u/0/?ui=2&amp;amp;ik=b0952d172d&amp;amp;view=fimg&amp;amp;th=15b5b0473d12505d&amp;amp;attid=0.1&amp;amp;disp=emb&amp;amp;realattid=ii_15b5aff8ba899dd2&amp;amp;attbid=ANGjdJ_NfPnHFLkW7ABS6UXFk7V7rdkzJHOloxW-kYq1S4n3hw71U_e5CE1wPiyyqgkKQlEmoFjzaVqMp9hQKTtS_bwfqwGtjl27oks3P1GEe0JByHkmjBm99WGMuAY&amp;amp;sz=w1056-h382&amp;amp;ats=1491880826703&amp;amp;rm=15b5b0473d12505d&amp;amp;zw&amp;amp;atsh=1" border="0" alt="Inline image 2" width="528" height="191" /&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 11 Apr 2017 03:23:50 GMT</pubDate>
    <dc:creator>SagalaBharath</dc:creator>
    <dc:date>2017-04-11T03:23:50Z</dc:date>
    <item>
      <title>Sas Reports</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Reports/m-p/348955#M63724</link>
      <description>&lt;DIV&gt;I need small help, I am trying to create a report in the below format.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I will have input as mentioned as 'X' for each Dr. WK1_launch RX....WK6 RX( is nothing but number of prescriptions written for each week).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We need to get total as given, that is total number of RX written by all Dr for that week.&lt;/DIV&gt;&lt;DIV&gt;Repeated total is nothing but when each dr repeated his RX in continued week.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Collective total is calculation of each non repeated RX.&lt;/DIV&gt;&lt;DIV&gt;Collective repeated is addition of all repeated RX.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have tried PRC Freq and summary.&lt;/DIV&gt;&lt;DIV&gt;First and last and having different flags, getting wrong data. Any idea or any sort of code. Please help me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG src="https://mail.google.com/mail/u/0/?ui=2&amp;amp;ik=b0952d172d&amp;amp;view=fimg&amp;amp;th=15b5b0473d12505d&amp;amp;attid=0.1&amp;amp;disp=emb&amp;amp;realattid=ii_15b5aff8ba899dd2&amp;amp;attbid=ANGjdJ_NfPnHFLkW7ABS6UXFk7V7rdkzJHOloxW-kYq1S4n3hw71U_e5CE1wPiyyqgkKQlEmoFjzaVqMp9hQKTtS_bwfqwGtjl27oks3P1GEe0JByHkmjBm99WGMuAY&amp;amp;sz=w1056-h382&amp;amp;ats=1491880826703&amp;amp;rm=15b5b0473d12505d&amp;amp;zw&amp;amp;atsh=1" border="0" alt="Inline image 2" width="528" height="191" /&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Apr 2017 03:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Reports/m-p/348955#M63724</guid>
      <dc:creator>SagalaBharath</dc:creator>
      <dc:date>2017-04-11T03:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Reports</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Reports/m-p/348971#M63725</link>
      <description>&lt;P&gt;Did you try using SUM function and Retain statement?&lt;/P&gt;&lt;P&gt;BTW the image that you have loaded has got some error, could you please upload it again?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabha&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 05:18:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Reports/m-p/348971#M63725</guid>
      <dc:creator>prabhsha</dc:creator>
      <dc:date>2017-04-11T05:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Reports</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sas-Reports/m-p/348972#M63726</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Prabha,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you for the response!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Please find attached document.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Bharath&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Apr 2017 05:23:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sas-Reports/m-p/348972#M63726</guid>
      <dc:creator>SagalaBharath</dc:creator>
      <dc:date>2017-04-11T05:23:59Z</dc:date>
    </item>
  </channel>
</rss>

