<?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 statement with more than one condition (Script) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494530#M1138662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood you correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(A = 'No' And B = 'hour' And C = 'Prestatie', Spend_time, 0) As Spend_hours,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 06:29:56 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2013-10-21T06:29:56Z</dc:date>
    <item>
      <title>IF statement with more than one condition (Script)</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494529#M1138661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is going wrong in the following script?&lt;/P&gt;&lt;P&gt;Only when Spend_time is according to the conditions A = NO, B = hour and C=Prestatie I want de value of Spend_time to be saved als Spend_Hours, else, return value zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;A &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='NO', &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;B &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='hour', &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;C &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Prestatie', &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Spend_time&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0),0),0)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;AS&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Spend_hours&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 06:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494529#M1138661</guid>
      <dc:creator />
      <dc:date>2013-10-21T06:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement with more than one condition (Script)</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494530#M1138662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood you correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(A = 'No' And B = 'hour' And C = 'Prestatie', Spend_time, 0) As Spend_hours,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 06:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494530#M1138662</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-10-21T06:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement with more than one condition (Script)</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494531#M1138663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to put all the conditions together as If( A='NO' and B='hour' and C='Prestatie', Spend_Time, 0) as Spend_Hours.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 06:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494531#M1138663</guid>
      <dc:creator />
      <dc:date>2013-10-21T06:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement with more than one condition (Script)</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494532#M1138664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;A &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='NO'&lt;/SPAN&gt;) AND (&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;B &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='hour'&lt;/SPAN&gt;) AND (&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;C &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;='Prestatie'&lt;/SPAN&gt;), &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;Spend_time&lt;/SPAN&gt;,'0') as &lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;Spend_hours&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 06:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-with-more-than-one-condition-Script/m-p/494532#M1138664</guid>
      <dc:creator />
      <dc:date>2013-10-21T06:30:18Z</dc:date>
    </item>
  </channel>
</rss>

