<?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: Trying to calculate percentage as an advanced expression in query builder in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127536#M294452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is in EG, geez, where is that forum, i wil look, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 18:49:45 GMT</pubDate>
    <dc:creator>Aalcorn</dc:creator>
    <dc:date>2013-10-29T18:49:45Z</dc:date>
    <item>
      <title>Trying to calculate percentage as an advanced expression in query builder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127534#M294450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am no where as advanced as you guys, I am trying to figure percentages as one of my table fields/another table field-was trying to do this as an advanced expression to give me a percentage.. can anyone assist in the correct language? would be much appreciated, i am still new to this, thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: t1.NCOVD_CHRG_AMT/t1.TOT_CHRG&lt;/P&gt;&lt;P&gt;that's what i was using as advanced expression (don't laugh pls)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i got error&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;_______&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;22&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;76&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Error 22-322: syntax error, expecting one of the following: ',', Group, Having, Order, Where.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;error, statement will be ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 18:12:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127534#M294450</guid>
      <dc:creator>Aalcorn</dc:creator>
      <dc:date>2013-10-29T18:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to calculate percentage as an advanced expression in query builder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127535#M294451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this is in EG? You may want to post it in that forum.&amp;nbsp; &lt;/P&gt;&lt;P&gt;What version of EG and can you provide more details on your data and calculation, and the full code that causes the error. &lt;/P&gt;&lt;P&gt;Usually its straight division and then apply a format of percent to the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 18:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127535#M294451</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-10-29T18:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to calculate percentage as an advanced expression in query builder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127536#M294452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is in EG, geez, where is that forum, i wil look, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 18:49:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127536#M294452</guid>
      <dc:creator>Aalcorn</dc:creator>
      <dc:date>2013-10-29T18:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to calculate percentage as an advanced expression in query builder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127537#M294453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aalcorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is obvious that there is no syntax error in the excerpt of code you posted.&lt;/P&gt;&lt;P&gt;It would not be possible to help you, unless you provide more, preferably all, query code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 20:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trying-to-calculate-percentage-as-an-advanced-expression-in/m-p/127537#M294453</guid>
      <dc:creator>Marina</dc:creator>
      <dc:date>2013-10-29T20:36:15Z</dc:date>
    </item>
  </channel>
</rss>

