<?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 Function field in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555169#M483298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something wrong with syntax. &lt;/P&gt;&lt;P&gt;Thanks for your attension, but we decided to find another way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2013 10:45:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-09T10:45:46Z</dc:date>
    <item>
      <title>IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555163#M483292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to apply date filter on expression in a table, which has values that are not connected with any CREATEDATETIME. So I need to apply this filter only on fields which are not null.Here is my set analysis which won't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ({&amp;lt;&lt;SPAN style="font-size: 10pt;"&gt;[$(=if(not isnull(ZpoGr.CREATEDDATETIME),ZpoGr.CREATEDDATETIME))]= {$(='"&amp;gt;='&amp;amp;DATE(zpgCreateDT_From2) &amp;amp; '&amp;lt;=' &amp;amp;DATE(zpgCreateDT_To2) &amp;amp; '"')}&amp;gt;}InvOut.AMOUNTCUR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPD I have problems only with the left part of the expression - the right one works correctly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 09:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555163#M483292</guid>
      <dc:creator />
      <dc:date>2013-07-09T09:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555164#M483293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum ({&amp;lt;&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [$("=if(ZpoGr.CREATEDDATETIME&amp;lt;&amp;gt;' ',ZpoGr.CREATEDDATETIME)"]= {$(='"&amp;gt;='&amp;amp;DATE(zpgCreateDT_From2) &amp;amp; '&amp;lt;=' &amp;amp;DATE(zpgCreateDT_To2) &amp;amp; '"')}&amp;gt;}InvOut.AMOUNTCUR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555164#M483293</guid>
      <dc:creator />
      <dc:date>2013-07-09T10:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555165#M483294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the same result &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555165#M483294</guid>
      <dc:creator />
      <dc:date>2013-07-09T10:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555166#M483295</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;Can you try this set analysis and let me know the result&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[ZpoGr.CREATEDDATETIME] = {"&amp;gt;=$(=Date([zpgCreateDT_From2]))&amp;lt;=$(=Date([zpgCreateDT_To2]))"} &amp;gt;} [InvOut.AMOUNTCUR])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: make sure you have same date format in field [ZpoGr.CREATEDDATETIME],[zpgCreateDT_From2] and [zpgCreateDT_To2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555166#M483295</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-07-09T10:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555167#M483296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is that I have to check if the value is not null, cause without this check the filter reduces all lines which have no CREATEDDATETIME even when the filters are empty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555167#M483296</guid>
      <dc:creator />
      <dc:date>2013-07-09T10:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555168#M483297</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;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13733651291053077" jivemacro_uid="_13733651291053077"&gt;&lt;P&gt;=Sum({$&amp;lt;[ZpoGr.CREATEDDATETIME] = {"&amp;gt;=$(=Date([zpgCreateDT_From2]))&amp;lt;=$(=Date([zpgCreateDT_To2]))"},&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;[ZpoGr.CREATEDDATETIME] -= {$(=IsNull([ZpoGr.CREATEDDATETIME]))}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;} [InvOut.AMOUNTCUR])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second line of set analysis above will exclude null value from your field. Let give it a try. If possible, attacched your sample att here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555168#M483297</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-07-09T10:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555169#M483298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something wrong with syntax. &lt;/P&gt;&lt;P&gt;Thanks for your attension, but we decided to find another way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555169#M483298</guid>
      <dc:creator />
      <dc:date>2013-07-09T10:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555170#M483299</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;Any sample app? then we can easy to find a new solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555170#M483299</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-07-09T10:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: IF Function field in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555171#M483300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately, now I have no permission to attach a file &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 10:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Function-field-in-Set-Analysis/m-p/555171#M483300</guid>
      <dc:creator />
      <dc:date>2013-07-09T10:50:10Z</dc:date>
    </item>
  </channel>
</rss>

