<?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 filtering on any value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243968#M1183447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have question &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to filter the shipments that are late, but are not caused by our company. I have a comment field in qlikview wherin we describe the what the reason of delay is, e.g.&amp;nbsp; 'problems with customs in Beijing' or 'Dammage goods'. If the field is empty, then the delay is our fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to translate this in my gauge chart, my expression below is &lt;STRONG&gt;incorrect:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(NetWorkDays(Date,ArrivalDate)&amp;lt;=TransitTime, 1,0) &lt;STRONG&gt;and [PO NO.: &amp;amp; Comments]&amp;gt;0)&lt;/STRONG&gt; / Count(DISTINCT&amp;nbsp; OrderNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I filter on comments that contain any text value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Nov 2011 14:50:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-11-21T14:50:05Z</dc:date>
    <item>
      <title>filtering on any value</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243968#M1183447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have question &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to filter the shipments that are late, but are not caused by our company. I have a comment field in qlikview wherin we describe the what the reason of delay is, e.g.&amp;nbsp; 'problems with customs in Beijing' or 'Dammage goods'. If the field is empty, then the delay is our fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to translate this in my gauge chart, my expression below is &lt;STRONG&gt;incorrect:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(NetWorkDays(Date,ArrivalDate)&amp;lt;=TransitTime, 1,0) &lt;STRONG&gt;and [PO NO.: &amp;amp; Comments]&amp;gt;0)&lt;/STRONG&gt; / Count(DISTINCT&amp;nbsp; OrderNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I filter on comments that contain any text value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 14:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243968#M1183447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-21T14:50:05Z</dc:date>
    </item>
    <item>
      <title>filtering on any value</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243969#M1183448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you want to check the length of the field value:&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;and len([PO NO.: &amp;amp; Comments])&amp;gt;0)&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could have spaces in that fields, you may want to apply an additional trim() first:&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;and len(trim([PO NO.: &amp;amp; Comments]))&amp;gt;0)&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think your if-statement is somewhat incorrect (the and is not part of the if-condition), not sure, but maybe like this&lt;/P&gt;&lt;P&gt;sum(if(NetWorkDays(Date,ArrivalDate)&amp;lt;=TransitTime &lt;STRONG&gt;and len(trim([PO NO.: &amp;amp; Comments]))&amp;gt;0 , 1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt; / Count(DISTINCT&amp;nbsp; OrderNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 17:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243969#M1183448</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-21T17:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: filtering on any value</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243970#M1183449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again thanks you for your help!! I really appreciate it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;.&amp;nbsp; I've attached my qlikview file.&lt;/P&gt;&lt;P&gt;The expression does not seem to work. I get a performance of 68.400%&amp;nbsp; &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;Hope u can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iSam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 09:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243970#M1183449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-22T09:01:20Z</dc:date>
    </item>
    <item>
      <title>filtering on any value</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243971#M1183450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where do you get the number 68.400% from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put above expression (after changing to field name Comments and adding one closing bracket after the sum), I get something like 12%. (No selections made).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 09:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243971#M1183450</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-22T09:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: filtering on any value</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243972#M1183451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I get when using this expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(NetWorkDays(Date,ArrivalDate)&amp;lt;=TransitTime and len(trim(Comments))&amp;gt;0, 1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for all the nagging &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isam&lt;/P&gt;&lt;P&gt;&lt;IMG alt="performance.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/8778_performance.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 11:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243972#M1183451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-22T11:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: filtering on any value</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243973#M1183452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, don't you need to divide by something, like count(distinct OrderNo) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 11:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243973#M1183452</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-22T11:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: filtering on any value</title>
      <link>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243974#M1183453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You abosolutly right. I can't believe that I missed the last part of the expression. I was so focused with your expression, that I forgot to add the last part &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;My apologize for overlooking the last part of the script!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot for your help! I really really really appreciate it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 12:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filtering-on-any-value/m-p/243974#M1183453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-22T12:19:10Z</dc:date>
    </item>
  </channel>
</rss>

