<?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: clause  problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/clause-problem/m-p/140390#M20900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your If() ends after the first instance of Sum(Vereton) - you've provided a condition, a THEN, and an ELSE. It just needs to be closed.&lt;/P&gt;&lt;P&gt;If you're trying to nest if() statements, you need to remove the first Sum(Veroton) and use the ELSE area for your second if(). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Sep 2018 11:02:48 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2018-09-02T11:02:48Z</dc:date>
    <item>
      <title>clause  problem</title>
      <link>https://community.qlik.com/t5/QlikView/clause-problem/m-p/140388#M20898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Idon't understand what is this clause problem.&lt;/P&gt;&lt;P&gt;It's working if I comment's second if clause out.&lt;/P&gt;&lt;P&gt;And if I comment's first clause out then second clause working&lt;BR /&gt;Where is cutoff or comma first and second if clause between&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TyönjohtajaNro&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'009225','009153','009161','009122','009104') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tuottovarattavat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'Kyllä'),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Kulut&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/0.9),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Veroton&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; If(Match(Tuottovarattavat ,'Kyllä'),Sum(Kulut/0.85), sum (Veroton)))&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2018 12:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/clause-problem/m-p/140388#M20898</guid>
      <dc:creator>kkarlste</dc:creator>
      <dc:date>2018-09-01T12:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: clause  problem</title>
      <link>https://community.qlik.com/t5/QlikView/clause-problem/m-p/140389#M20899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expressions is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Match(TyönjohtajaNro,'009225','009153','009161','009122','009104') AND Match(Tuottovarattavat,'Kyllä')&lt;/P&gt;&lt;P&gt;// if condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,Sum(Kulut/0.9) // then branch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,sum (Veroton) If(Match(Tuottovarattavat ,'Kyllä'),Sum(Kulut/0.85), sum (Veroton)) // else branch&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your else branch seems not be valid. What do you want to achieve here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2018 14:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/clause-problem/m-p/140389#M20899</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-09-01T14:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: clause  problem</title>
      <link>https://community.qlik.com/t5/QlikView/clause-problem/m-p/140390#M20900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your If() ends after the first instance of Sum(Vereton) - you've provided a condition, a THEN, and an ELSE. It just needs to be closed.&lt;/P&gt;&lt;P&gt;If you're trying to nest if() statements, you need to remove the first Sum(Veroton) and use the ELSE area for your second if(). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 11:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/clause-problem/m-p/140390#M20900</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2018-09-02T11:02:48Z</dc:date>
    </item>
  </channel>
</rss>

