<?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 Error in expression ')' expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1726705#M452056</link>
    <description>&lt;P&gt;I currently have a variable defined as follows:&lt;/P&gt;&lt;P&gt;mu_Witmielies:&lt;/P&gt;&lt;P&gt;(1*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WM1'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;2*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WM2'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;3*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WM3'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;4*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WOG1'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;5*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WOG2'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;6*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WOG3'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto))/&lt;BR /&gt;sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)&lt;/P&gt;&lt;P&gt;When I show the variable in a textbox as $(mu_Witmielies) I obtain the correct value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to use this variable in a nested if statement expression as follows:&lt;/P&gt;&lt;P&gt;=IF(sum({&amp;lt;SEISOEN={"$(=vMaxSeisoen)"},[TIPE GRAAN]={'WITMIELIES'}&amp;gt;}Netto)&amp;lt;&amp;gt;0,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(0&amp;lt;$(mu_Witmielies)&amp;lt;=1,'WM1',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(1&amp;lt;$(mu_Witmielies)&amp;lt;=2,'WM2',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(2&amp;lt;$(mu_Witmielies)&amp;lt;=3,'WM3',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(3&amp;lt;$(mu_Witmielies)&amp;lt;=4,'WOG1',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(4&amp;lt;$(mu_Witmielies)&amp;lt;=5,'WOG2',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(5&amp;lt;$(mu_Witmielies)&amp;lt;=6,'WOG3'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)))))))&lt;/P&gt;&lt;P&gt;QlikView shows that the expression is OK.&lt;/P&gt;&lt;P&gt;But the expression gives the error: ')' expected.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 07:55:30 GMT</pubDate>
    <dc:creator>anriretief</dc:creator>
    <dc:date>2020-07-10T07:55:30Z</dc:date>
    <item>
      <title>Error in expression ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1726705#M452056</link>
      <description>&lt;P&gt;I currently have a variable defined as follows:&lt;/P&gt;&lt;P&gt;mu_Witmielies:&lt;/P&gt;&lt;P&gt;(1*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WM1'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;2*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WM2'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;3*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WM3'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;4*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WOG1'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;5*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WOG2'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)+&lt;BR /&gt;6*sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},GRAAD ={'WOG3'},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto))/&lt;BR /&gt;sum({&amp;lt;SEISOEN = {"$(=vMaxSeisoen)"},[TIPE GRAAN] ={'WITMIELIES'}&amp;gt;}Netto)&lt;/P&gt;&lt;P&gt;When I show the variable in a textbox as $(mu_Witmielies) I obtain the correct value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to use this variable in a nested if statement expression as follows:&lt;/P&gt;&lt;P&gt;=IF(sum({&amp;lt;SEISOEN={"$(=vMaxSeisoen)"},[TIPE GRAAN]={'WITMIELIES'}&amp;gt;}Netto)&amp;lt;&amp;gt;0,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(0&amp;lt;$(mu_Witmielies)&amp;lt;=1,'WM1',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(1&amp;lt;$(mu_Witmielies)&amp;lt;=2,'WM2',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(2&amp;lt;$(mu_Witmielies)&amp;lt;=3,'WM3',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(3&amp;lt;$(mu_Witmielies)&amp;lt;=4,'WOG1',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(4&amp;lt;$(mu_Witmielies)&amp;lt;=5,'WOG2',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(5&amp;lt;$(mu_Witmielies)&amp;lt;=6,'WOG3'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)))))))&lt;/P&gt;&lt;P&gt;QlikView shows that the expression is OK.&lt;/P&gt;&lt;P&gt;But the expression gives the error: ')' expected.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 07:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1726705#M452056</guid>
      <dc:creator>anriretief</dc:creator>
      <dc:date>2020-07-10T07:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1726722#M452058</link>
      <description>&lt;P&gt;Your If statement syntax would probably rather be like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=IF(sum({&amp;lt;SEISOEN={"$(=vMaxSeisoen)"},[TIPE GRAAN]={'WITMIELIES'}&amp;gt;}Netto)&amp;lt;&amp;gt;0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(0&amp;lt;$(mu_Witmielies) &lt;STRONG&gt;and $(mu_Witmielies)&lt;/STRONG&gt;&amp;lt;=1,'WM1',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(1&amp;lt;$(mu_Witmielies)&amp;nbsp;&lt;STRONG&gt;and $(mu_Witmielies)&lt;/STRONG&gt;&amp;lt;=2,'WM2',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(2&amp;lt;$(mu_Witmielies)&amp;nbsp;&lt;STRONG&gt;and $(mu_Witmielies)&lt;/STRONG&gt;&amp;lt;=3,'WM3',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(3&amp;lt;$(mu_Witmielies) &lt;STRONG&gt;and $(mu_Witmielies)&lt;/STRONG&gt;&amp;lt;=4,'WOG1',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(4&amp;lt;$(mu_Witmielies) &lt;STRONG&gt;and $(mu_Witmielies)&lt;/STRONG&gt;&amp;lt;=5,'WOG2',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(5&amp;lt;$(mu_Witmielies) &lt;STRONG&gt;and $(mu_Witmielies)&lt;/STRONG&gt;&amp;lt;=6,'WOG3'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)))))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 08:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1726722#M452058</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-07-10T08:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression ')' expected</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1726727#M452059</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 08:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression-expected/m-p/1726727#M452059</guid>
      <dc:creator>anriretief</dc:creator>
      <dc:date>2020-07-10T08:57:04Z</dc:date>
    </item>
  </channel>
</rss>

