<?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 calculate ratio between two variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339991#M77645</link>
    <description>&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7665i96FCAF6BEE336E0C/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2017 12:55:05 GMT</pubDate>
    <dc:creator>Anil9</dc:creator>
    <dc:date>2017-03-10T12:55:05Z</dc:date>
    <item>
      <title>How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339576#M77488</link>
      <description>&lt;P&gt;Hi..!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help in calculating the ratio of 2 variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex... &amp;nbsp;ID &amp;nbsp; Present &amp;nbsp; &amp;nbsp;Total&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22 &amp;nbsp; &amp;nbsp;12 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;28 &amp;nbsp; &amp;nbsp; 20 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so on.....!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the ratio of the 2 variables (Present, Total) with adding a ratio column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note :- data consists of more than 100 variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 19:28:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339576#M77488</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-09T19:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339577#M77489</link>
      <description>&lt;P&gt;Here is the first bit of what you are asking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
   input ID Present Total;
   datalines;
   22 12 30
   28 20 50
   ;

data want;
   set have;
   ratio = Total/Present;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Not sure about what you mean by&amp;nbsp;&lt;SPAN&gt;adding a ratio column against ID though? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:13:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339577#M77489</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-03-09T10:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339578#M77490</link>
      <description>&lt;P&gt;In future show test data in the form of a datastep as I show below, and show what you want the output to look like:&lt;/P&gt;
&lt;PRE&gt;data have;
  input id present total;
  ratio=floor(total / present);
datalines;
22    12            30
28     20           50
;
run;
&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339578#M77490</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-09T10:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339739#M77541</link>
      <description>Thanks for the statement..&lt;BR /&gt;&lt;BR /&gt;My data is consists of 100+ values and I need to find the ratio of it.</description>
      <pubDate>Thu, 09 Mar 2017 18:52:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339739#M77541</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-09T18:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339740#M77542</link>
      <description>Hiii.....!&lt;BR /&gt;&lt;BR /&gt;My data consists of 100+ values and we need to find the ratio of mentioned 2 columns</description>
      <pubDate>Thu, 09 Mar 2017 18:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339740#M77542</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-09T18:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339758#M77547</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/133016"&gt;@Anil9&lt;/a&gt; wrote:&lt;BR /&gt;Hiii.....!&lt;BR /&gt;&lt;BR /&gt;My data consists of 100+ values and we need to find the ratio of mentioned 2 columns&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit, reading your other post it seems like your not telling us the whole story. &amp;nbsp;Start by posting a datastep with test data which clearly defines your issue. &amp;nbsp;The provide an example of what the output should look like. &amp;nbsp;Also describe any logic between the two.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How does having other variables in the dataset affect the functionality which I provided? &amp;nbsp;It doesn't matter if you have only those two or a million variables, its still:&lt;/P&gt;
&lt;PRE&gt;  ratio=floor(total / present);&lt;/PRE&gt;
&lt;P&gt;Unless your not telling us the whole story?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 19:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339758#M77547</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-09T19:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339766#M77548</link>
      <description>Proc sql;&lt;BR /&gt;create table want as&lt;BR /&gt;select id,&lt;BR /&gt;present,&lt;BR /&gt;sum(present) as present_sum,&lt;BR /&gt;total,&lt;BR /&gt;sum(total) as total_sum&lt;BR /&gt;from have&lt;BR /&gt;group by id;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;Data want1;&lt;BR /&gt;Set want;&lt;BR /&gt;Present_rate=present/present_sum;&lt;BR /&gt;Total_rate=total/total_sum;&lt;BR /&gt;Run;</description>
      <pubDate>Thu, 09 Mar 2017 20:06:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339766#M77548</guid>
      <dc:creator>Yavuz</dc:creator>
      <dc:date>2017-03-09T20:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339830#M77562</link>
      <description>&lt;P&gt;Do mean that TOTAL is supposed to be the sum of 100 other variables? Or are there 100 variables that need to have a ratio caclulated?&lt;/P&gt;
&lt;P&gt;Do you want the calculation of the ratio per record? Or is total supposed to be the Total of some variable for all records in a data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Provide a small data set, say maybe 5 rows and 5 variables. Show what the data looks like at input. Then provide another example data set with the results that you can calculate by hand shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 23:37:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339830#M77562</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-09T23:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339974#M77631</link>
      <description>&lt;P&gt;Ok... Let's be clear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a .csv data which consists of 13,000 entries and I need to find the ratio of two columns of (Present vs Total) in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File example...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID &amp;nbsp; &amp;nbsp; &amp;nbsp;Present &amp;nbsp; &amp;nbsp; Total&lt;/P&gt;&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 22 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 55&lt;/P&gt;&lt;P&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 125 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 597&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.till&lt;/P&gt;&lt;P&gt;13000 entries.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*I'm new to SAS.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339974#M77631</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-10T12:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339976#M77633</link>
      <description>&lt;P&gt;Sorry, you haven't answered the question. &amp;nbsp;Do you want ratio on each observation, if so:&lt;/P&gt;
&lt;P&gt;ration=total / present;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or do you want some sort of summing up and then doing ratio. &amp;nbsp;Post example test data -&amp;nbsp;&lt;STRONG&gt;in the form of a datastep&lt;/STRONG&gt; - and what the output should look like. &amp;nbsp;Good question will result in good answers.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:29:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339976#M77633</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-10T12:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339977#M77634</link>
      <description>&lt;P&gt;Hi... Thanks for the instructions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried entering&amp;nbsp;of first 100 values it went well, But when I have entered 13,000 values it was showing blanks in the column.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339977#M77634</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-10T12:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339982#M77638</link>
      <description>&lt;P&gt;Sorry, "&lt;SPAN&gt;I have tried entering&amp;nbsp;of first 100 values it went well", what do you mean you have entered it? &amp;nbsp;You are using SAS aren't you? &amp;nbsp;I.e. you have taken the data from the CSV file and imported it to a SAS dataset, then you run some code like:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;data want;
  set have;
  ratio=total / present;
run;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Where have is the dataset you created. &amp;nbsp;You will then have another dataset called want which contains your original data and another column call ratio which contains the ratio per observation. &amp;nbsp;If you have missing of either present or total then the resulting ratio will be missing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339982#M77638</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-10T12:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339984#M77639</link>
      <description>&lt;P&gt;Yup.. I need to find &amp;nbsp; ((&lt;SPAN&gt;ration=total / present)).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also I need the data steps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;*Refer the attached images&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7664i75A9E11684BBD2A7/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13545i93A10DFE11F63932/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture1.JPG" title="Capture1.JPG" /&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:44:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339984#M77639</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-10T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339986#M77641</link>
      <description>&lt;P&gt;It looks like your data hasn't imported correctly. &amp;nbsp;How are you importing the CSV file? &amp;nbsp; The below is quite correct as present and totla are missing then ratio will be missing. &amp;nbsp;Fix importing your your data so the dataset contains values, then run the code I have given you.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:48:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339986#M77641</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-10T12:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339987#M77642</link>
      <description>You can see the script in the second image attached..&lt;BR /&gt;&lt;BR /&gt;Kindly download it.</description>
      <pubDate>Fri, 10 Mar 2017 12:50:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339987#M77642</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-10T12:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339989#M77644</link>
      <description>&lt;P&gt;I can see nothing in the image you posted other than a photo of your screen showing a dataset with nothing in it.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:53:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339989#M77644</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-10T12:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339991#M77645</link>
      <description>&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7665i96FCAF6BEE336E0C/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 12:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339991#M77645</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-10T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339994#M77648</link>
      <description>&lt;P&gt;Well, I have manually typed in this information:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data ans2;
  input id present total;
  ratio=floor(total/present);
datalines;
54734 25000 85000
55742 7000 65000
;
run;&lt;/PRE&gt;
&lt;P&gt;Which works perfectly for me results in a dataset called ans2:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;present &amp;nbsp;total &amp;nbsp; &amp;nbsp; ratio&lt;/P&gt;
&lt;P&gt;54734 &amp;nbsp;25000 &amp;nbsp; &amp;nbsp;85000 &amp;nbsp;3&lt;BR /&gt;55742 &amp;nbsp;7000 &amp;nbsp; &amp;nbsp; &amp;nbsp;65000 &amp;nbsp;9&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please explain what you are doing exactly, start by using the code window {i} above your post to put actual text code in rather than pictures which we then have to manually tpye in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 13:00:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339994#M77648</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-10T13:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339995#M77649</link>
      <description>&lt;P&gt;Yes i agree it runs well when it is few rows (I.e 10 - 30 ) i have entered more than 13000.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 13:04:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339995#M77649</guid>
      <dc:creator>Anil9</dc:creator>
      <dc:date>2017-03-10T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate ratio between two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339997#M77650</link>
      <description>&lt;P&gt;Then its likely that it is your data. &amp;nbsp;Look at the first time you get a value you don't expect, and look at the data. &amp;nbsp;Judging from the picture you posted, there are observations which don't have any data at all, maybe the import process creating a few blanks rows, or perhaps your CSV is corrupt in some way. &amp;nbsp;Its something to do with the data anyways as the logic will happily apply the same to each data row. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 13:09:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-calculate-ratio-between-two-variables/m-p/339997#M77650</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-10T13:09:28Z</dc:date>
    </item>
  </channel>
</rss>

