<?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: If ..... Then ... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Then/m-p/549410#M1133482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;formula doesn't work...it says: garbage after expression: ")"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= -1* sum(&amp;nbsp; ( ([Casco boven eigen risico (niet verhaalbaar)])&amp;nbsp; ='Ja' ) or ([Casco onder eigen risico (niet verhaalbaar)])='Ja') ) and ([WA aansprakelijk klant]='Ja'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you assist?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Oct 2013 07:51:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-31T07:51:18Z</dc:date>
    <item>
      <title>If ..... Then ...</title>
      <link>https://community.qlik.com/t5/QlikView/If-Then/m-p/549408#M1133480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all, could you assist?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 columns and I want to calculate the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the first column and the second cannot be yes at the same time. If or the first or the second on yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I want to know:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if either "casco boven eigen risico" and/or "casco onder eigen risico" is ja (YES), how many times&lt;/P&gt;&lt;P&gt;the third column "wa aansprakelijk klant" was Ja (YES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="708"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="279"&gt;Casco boven eigen risico (niet verhaalbaar)&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="277"&gt;Casco onder eigen risico (niet verhaalbaar)&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="152"&gt;WA aansprakelijk klant&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Nee&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Nee&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Nee&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Nee&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Nee&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Nee&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Nee&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Nee&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Nee&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Nee&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Nee&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Nee&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Ja&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so first line is 0, because third column is Nee.&lt;/P&gt;&lt;P&gt;6th line is 0 because 1ste and 2nd are Nee.&lt;BR /&gt;However, the 7th (last) line is casco onder eigen risico JA and WA aansprakelijk klant is Ja. That's 1 which I should count/know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you help?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Then/m-p/549408#M1133480</guid>
      <dc:creator />
      <dc:date>2013-10-30T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: If ..... Then ...</title>
      <link>https://community.qlik.com/t5/QlikView/If-Then/m-p/549409#M1133481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;= -1* sum(&amp;nbsp; ( ([Casco boven eigen risico]='Ja' ) or ([Casco onder eigen risico])='Ja') ) and ([WA aansprakelijk klant]='Ja' ) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Then/m-p/549409#M1133481</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-30T15:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: If ..... Then ...</title>
      <link>https://community.qlik.com/t5/QlikView/If-Then/m-p/549410#M1133482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;formula doesn't work...it says: garbage after expression: ")"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= -1* sum(&amp;nbsp; ( ([Casco boven eigen risico (niet verhaalbaar)])&amp;nbsp; ='Ja' ) or ([Casco onder eigen risico (niet verhaalbaar)])='Ja') ) and ([WA aansprakelijk klant]='Ja'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you assist?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 07:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Then/m-p/549410#M1133482</guid>
      <dc:creator />
      <dc:date>2013-10-31T07:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: If ..... Then ...</title>
      <link>https://community.qlik.com/t5/QlikView/If-Then/m-p/549411#M1133483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have used bracketing different from what I suggested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=-1* sum( ([Casco boven eigen risico (niet verhaalbaar)] = 'Ja'&amp;nbsp; or [Casco onder eigen risico (niet verhaalbaar)] ='Ja'&amp;nbsp; ) and [WA aansprakelijk klant]='Ja')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use the condition in the script, please find attached a sample file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 10:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Then/m-p/549411#M1133483</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-31T10:22:10Z</dc:date>
    </item>
  </channel>
</rss>

