<?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: Syntax Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/451163#M168381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does. Good to know I should go by the dialog box. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 14:13:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-20T14:13:17Z</dc:date>
    <item>
      <title>Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/451161#M168379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recieved help from Gysbert Wassenaar on this formula. Thank you Gysbert. It is showing syantax error I am wondering if anyone knows what needs to be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;AMOUNT&lt;/SPAN&gt;={'&amp;gt;0'},&lt;SPAN style="color: #800000;"&gt;[Proc code]&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;-={'9929*'}&amp;gt;+&amp;lt;AMOUNT={'&amp;gt;0'},[Proc code]={'99291'}&amp;gt;} DISTINCT(DOS&amp;amp;'-'&amp;amp;PAT_ENC_CSN_ID&amp;amp;'-'&amp;amp; [Proc Code]&amp;amp;'-'&amp;amp;[Prov ID])&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;"It should count all records where AMOUNT &amp;gt; 0 and Proc code doesn't start with 9929, unless it's 99291"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;The underlined error is where the syntax error is located. If I take out the minus sign before ={'9929*'} the formula works but would include when I need it to exclude. I have also tried double quotes around the wildcard and that makes no difference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;Basically I want these proc codes counted-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;99281&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;99282&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;99283&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;99284&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;99285&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;99291&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;I do not want proc code 99292 counted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;Any help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif;"&gt;EK&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 14:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/451161#M168379</guid>
      <dc:creator />
      <dc:date>2012-11-20T14:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/451162#M168380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that (i.e. the red underlining) is just a bug in the syntax checker, just ignore it (it should say 'Syntax ok' or something similar in the dialog above the entry field).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 14:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/451162#M168380</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-11-20T14:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/451163#M168381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does. Good to know I should go by the dialog box. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 14:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Error/m-p/451163#M168381</guid>
      <dc:creator />
      <dc:date>2012-11-20T14:13:17Z</dc:date>
    </item>
  </channel>
</rss>

