<?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 solve &amp;quot;Error in expression: ')' expected&amp;quot;? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-solve-quot-Error-in-expression-expected-quot/m-p/658189#M240176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi noah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try?:&lt;/P&gt;&lt;P&gt;if(match([Reason For Error], &lt;STRONG style="color: #ff0000;"&gt;'&lt;/STRONG&gt;$(invCod1)&lt;STRONG style="color: #ff0000;"&gt;'&lt;/STRONG&gt;, &lt;STRONG style="color: #ff0000;"&gt;'&lt;/STRONG&gt;$(invCod2)&lt;STRONG style="color: #ff0000;"&gt;'&lt;/STRONG&gt;), 'Yes', 'No') as [Invalid Coding]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2014 15:03:18 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2014-09-09T15:03:18Z</dc:date>
    <item>
      <title>How to solve "Error in expression: ')' expected"?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-quot-Error-in-expression-expected-quot/m-p/658188#M240175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following statement that works in my load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match([Reason For Error], 'In Inventory but Company Code not eligible for GL', 'In inventory but invalid Cost Center/Company Code'), 'Yes', 'No') as [Invalid Coding]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do the following instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET invCod1='In Inventory but Company Code not eligible for GL';&lt;/P&gt;&lt;P&gt;SET invCod2='In inventory but invalid Cost Center/Company Code';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match([Reason For Error], $(invCod1), $(invCod2)), 'Yes', 'No') as [Invalid Coding]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I do this I get the error "Error in expression: ')' expected". I think this has to do with the parentheses interfering with each other. Is there a way to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-quot-Error-in-expression-expected-quot/m-p/658188#M240175</guid>
      <dc:creator />
      <dc:date>2014-09-09T14:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve "Error in expression: ')' expected"?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-quot-Error-in-expression-expected-quot/m-p/658189#M240176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi noah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try?:&lt;/P&gt;&lt;P&gt;if(match([Reason For Error], &lt;STRONG style="color: #ff0000;"&gt;'&lt;/STRONG&gt;$(invCod1)&lt;STRONG style="color: #ff0000;"&gt;'&lt;/STRONG&gt;, &lt;STRONG style="color: #ff0000;"&gt;'&lt;/STRONG&gt;$(invCod2)&lt;STRONG style="color: #ff0000;"&gt;'&lt;/STRONG&gt;), 'Yes', 'No') as [Invalid Coding]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 15:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-quot-Error-in-expression-expected-quot/m-p/658189#M240176</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-09T15:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve "Error in expression: ')' expected"?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-quot-Error-in-expression-expected-quot/m-p/658190#M240177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 15:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-quot-Error-in-expression-expected-quot/m-p/658190#M240177</guid>
      <dc:creator />
      <dc:date>2014-09-09T15:05:33Z</dc:date>
    </item>
  </channel>
</rss>

