<?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: Blank Filter with Conditional Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437788#M814210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Len(Trim()) would eliminate the blanks actually did they not? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Sep 2017 17:42:08 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-09-29T17:42:08Z</dc:date>
    <item>
      <title>Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437783#M814201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a filter with a blank&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178094_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;I have tried different methods of filtering in stages: one filtering dates from 2014 to 2017 and the eliminating the blanks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(year([first_paymnt_date]) =&amp;lt; 2014,'',year([first_paymnt_date]) &amp;amp;(first_paymnt_date &amp;lt;&amp;gt;'&amp;nbsp; ',(first_paymnt_date)))&lt;/P&gt;&lt;P&gt;if(year([first_paymnt_date]&amp;lt;&amp;gt;' ', year(first_paymnt_date)) &amp;amp;year(first_paymnt_date)=&amp;lt; 2013))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No success I was wondering if anyone might have a suggestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437783#M814201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437784#M814203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain a little more here what exactly you are trying to achieve.? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(year([first_paymnt_date]) =&amp;lt; 2014,'',year([first_paymnt_date]) &amp;amp;(first_paymnt_date &amp;lt;&amp;gt;'&amp;nbsp; ',(first_paymnt_date)))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(year([first_paymnt_date]&amp;lt;&amp;gt;' ', year(first_paymnt_date)) &amp;amp;year(first_paymnt_date)=&amp;lt; 2013))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This expression doesn't seem to be right. Can you explain a little. ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 23:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437784#M814203</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-28T23:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437785#M814205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction:&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(year([first_paymnt_date]) =&amp;lt; 2013,'',year([first_paymnt_date]) &amp;amp;(first_paymnt_date &amp;lt;&amp;gt;'&amp;nbsp; ',(first_paymnt_date)))&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(year([first_paymnt_date]&amp;lt;&amp;gt;' ', year(first_paymnt_date)) &amp;amp;year(first_paymnt_date)=&amp;lt; 2013))&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The steps are: 1) select on data from 2013 on; 2) eliminate blanks or NULLs which are shown in the filter.&amp;nbsp; Maybe I should break the code into 2 statements&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437785#M814205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-29T14:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437786#M814208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF(IF(Len(Trim(first_paymnt_date)) &amp;gt; 0, Year(first_paymnt_date)) &amp;gt;= 2013, Year(first_paymnt_date))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437786#M814208</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-29T17:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437787#M814209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No quite it because I am looking at blanks that I want to eliminate, but thanks, I think I got how to embed the two&amp;nbsp; if statements.&amp;nbsp; Something like this:&lt;/P&gt;&lt;P&gt;if(if(Year(first_paymnt_date)&amp;lt;&amp;gt;'',Year(first_paymnt_date)) &amp;gt;= 2013, Year(first_paymnt_date))&amp;nbsp; Thanks for your assistance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437787#M814209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-29T17:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437788#M814210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Len(Trim()) would eliminate the blanks actually did they not? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437788#M814210</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-29T17:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437789#M814211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Len(Trim()) works, but now need to display year and month.&amp;nbsp; Any idea for example what to start with 2014-01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 17:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437789#M814211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437790#M814212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found my solution so to share with others:&lt;/P&gt;&lt;P&gt;IF(IF(Len(Trim(first_paymnt_date.autoCalendar.YearMonth)) &amp;gt; 0, Year(first_paymnt_date.autoCalendar.YearMonth)) &amp;lt;= 2013,'',year([first_paymnt_date.autoCalendar.YearMonth])&amp;amp;'-'&amp;amp;Month([first_paymnt_date.autoCalendar.YearMonth]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 19:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437790#M814212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T19:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Blank Filter with Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437791#M814213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad you figured it out. Can you close the thread marking Correct/helpful responses accordingly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 19:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Blank-Filter-with-Conditional-Statement/m-p/1437791#M814213</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-10-03T19:13:40Z</dc:date>
    </item>
  </channel>
</rss>

