<?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: Set analysis filtering Issue ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59767#M9921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus and All ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs .&lt;/P&gt;&lt;P&gt;So i tried&amp;nbsp; this way like &lt;/P&gt;&lt;P&gt;load ' ' as Cust,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;pureatgrp' as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;desc autogenerate 1;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and concatenated to the actual table .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Atleast one value should be present in the field on which we are filtering .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or else &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NullasValue desc ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Set nullvalue='null ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the scenarios are working .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2018 03:58:58 GMT</pubDate>
    <dc:creator>veeranj</dc:creator>
    <dc:date>2018-05-08T03:58:58Z</dc:date>
    <item>
      <title>Set analysis filtering Issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59761#M9915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load cust,if(len(trim(desc))=0,null(),desc) as desc;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust,desc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to count the below expression :&lt;/P&gt;&lt;P&gt;Count({&amp;lt;desc={'pureatgrp'}&amp;gt;}cust) -- it is giving output as 2, but there are no &lt;STRONG&gt;desc&lt;/STRONG&gt; having desc='pureatgrp' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure of why it is behaving like this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 07:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59761#M9915</guid>
      <dc:creator>veeranj</dc:creator>
      <dc:date>2018-05-07T07:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis filtering Issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59762#M9916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure, if this is by-design or a bug (I tried with qv version 12.1). &lt;SPAN style="font-size: 13.3333px;"&gt;If you put &lt;STRONG&gt;at least a single value&lt;/STRONG&gt; to the field which is &lt;STRONG&gt;not-null&lt;/STRONG&gt;, the set analysis works as expected. If you count the desc field itself - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Count({&amp;lt;desc={'pureatgrp'}&amp;gt;}&lt;STRONG&gt;desc&lt;/STRONG&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;with same filter criteria, it works. I could not explain the behavior. Wait and see if for some experts opinion or finding they have.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have a feeling that this has got to do something with&lt;STRONG&gt; NULL &lt;/STRONG&gt;handling and&lt;STRONG&gt; Symbol Table&lt;/STRONG&gt; in Qlik (specially when the field is entirely null, i.e. - it doesn't have even a single non-null value).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 07:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59762#M9916</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-05-07T07:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis filtering Issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59763#M9917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right that is not working. If you create an extra field is working correctly. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load cust,&lt;/P&gt;&lt;P&gt;if(len(trim(desc))=0,null(),desc) as desc,&lt;/P&gt;&lt;P&gt;if(len(trim(desc))=0,0,1) as flag_desc;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust,desc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;desc={'pureatgrp'},flag_desc={1}&amp;gt;}cust)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 07:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59763#M9917</guid>
      <dc:creator>jaumecf23</dc:creator>
      <dc:date>2018-05-07T07:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis filtering Issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59764#M9918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After storing the INLINE table in a QVD, it appears that field desc does have a (xml) definition but no symbol table whatsoever. It simply doesn't have any values (which is exactly what NULL means = no value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you're right: no symbol table = no values to compare to = set analysis cannot make (temporary) selections = no working set analysis for this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still guessing though. Maybe &lt;A _jive_internal="true" href="https://community.qlik.com/people/troyansky"&gt;Oleg&lt;/A&gt; can put the record straight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 08:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59764#M9918</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-05-07T08:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis filtering Issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59765#M9919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I remember correctly I had seen a comment from Henric to this topic (I could not find it yet) which was quite the same as your guessing but I'm not quite sure if he considered it as bug (I believe he was).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A solution for such cases could be to avoid a real NULL, for example if the preceeding load in the above example is left than the fieldvalues of desc would be treated as empty strings and not as NULL and the set analysis condition will work like expected (by loading the data from a database the fieldvalues would be really NULL and a transformation with any expression or maybe the NULL variables would be necessary to set them to an empty string or maybe any other string).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 12:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59765#M9919</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-05-07T12:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis filtering Issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59766#M9920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is exactly as many people described here - if the field doesn't have any values, then the Set Analysis filter doesn't work - there is no array of values to attach the Set Analysis results to (1/0). Adding any value anywhere in the same field solves the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether it's a bug or just an unfortunate side effect of having a field with no values, I can't say for sure. Thankfully, this is not a very common scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="http://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming soon to Philly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 14:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59766#M9920</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2018-05-07T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis filtering Issue ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59767#M9921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus and All ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs .&lt;/P&gt;&lt;P&gt;So i tried&amp;nbsp; this way like &lt;/P&gt;&lt;P&gt;load ' ' as Cust,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;pureatgrp' as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;desc autogenerate 1;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and concatenated to the actual table .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Atleast one value should be present in the field on which we are filtering .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or else &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NullasValue desc ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Set nullvalue='null ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the scenarios are working .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veera&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 03:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-filtering-Issue/m-p/59767#M9921</guid>
      <dc:creator>veeranj</dc:creator>
      <dc:date>2018-05-08T03:58:58Z</dc:date>
    </item>
  </channel>
</rss>

