<?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 ignore not working? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927989#M648402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 12:13:10 GMT</pubDate>
    <dc:creator>gautik92</dc:creator>
    <dc:date>2015-10-07T12:13:10Z</dc:date>
    <item>
      <title>Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927987#M648400</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;Maybe I am missing something obvious but I have been looking for a while without finding a satisfying explanation.&lt;/P&gt;&lt;P&gt;I have a pivot table with 2 dimensions (1 calculated) and an expression. The expression and calculated dimension both use set analysis ignoring field A (using field A=). But for some reason when I select a value in listbox list A, the values still change. Why..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927987#M648400</guid>
      <dc:creator />
      <dc:date>2015-10-07T12:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927988#M648401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post your code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927988#M648401</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2015-10-07T12:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927989#M648402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927989#M648402</guid>
      <dc:creator>gautik92</dc:creator>
      <dc:date>2015-10-07T12:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927990#M648403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimension: if(FieldX='True', aggr(sum({&amp;lt;FieldA=, FieldB=, FieldC=p(FieldD), FieldE=p(FieldF)&amp;gt;}Counters, KeyID))&lt;/P&gt;&lt;P&gt;Expression: count({&amp;lt;FieldA=, FieldB= FieldE=p(FieldF)&amp;gt;} distinct KeyID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927990#M648403</guid>
      <dc:creator />
      <dc:date>2015-10-07T12:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927991#M648404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably because the if condition is not using the same set analysis so the results for the if condition change when making a selection. Use the same set analysis for the if with the Only function, something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Only(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;FieldA=, FieldB=, FieldC=p(FieldD), FieldE=p(FieldF)&amp;gt;}&lt;/SPAN&gt; FieldX)='True'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, aggr(sum({&amp;lt;FieldA=, FieldB=, FieldC=p(FieldD), FieldE=p(FieldF)&amp;gt;}Counters, KeyID))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression: count({&amp;lt;FieldA=, FieldB= FieldE=p(FieldF)&amp;gt;} distinct KeyID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927991#M648404</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-10-07T12:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927992#M648405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you said that when you select values form Field A the chart is showing results is that happening for Field B too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927992#M648405</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2015-10-07T12:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927993#M648406</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;Yes it happens to the other fields that I set as ignore as well. But the weird thing is I have the whole same expression and dimension on a different value (e.g. KeyID2) and there it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When removing the if statement, no improvement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927993#M648406</guid>
      <dc:creator />
      <dc:date>2015-10-07T12:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927994#M648407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have figured out what piece of code causes it. It is one of the FieldC=p(FieldD). If I remove this the ignoring of the wanted fields work again. These fields are key fields in 2 dimension tables. Why could this cause trouble?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927994#M648407</guid>
      <dc:creator />
      <dc:date>2015-10-07T12:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927995#M648408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you replace the FieldE=p(FieldF) in the set (and others) with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldE={'$(=chr(39) &amp;amp; replace(concat({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FieldA=, FieldB=&lt;/SPAN&gt;&amp;gt;} distinct FieldF, '|'), '|', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927995#M648408</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-10-07T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927996#M648409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you select in a field say FieldX, the possible values of FieldC might change, because there could be no transaction of FieldX for that FieldD(eventually FieldC) value. Therefore, selecting in FieldX might cause change in the set result even though you include it in the set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927996#M648409</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-07T13:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927997#M648410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would this FieldC=p(FieldD) remove the effect of FieldA=, FieldB=?&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;Dimension: if(FieldX='True', aggr(sum({&amp;lt;FieldA=, FieldB=, FieldC=p(FieldD), FieldE=p(FieldF)&amp;gt;}Counters, KeyID))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression: count({&amp;lt;FieldA=, FieldB= FieldE=p(FieldF)&amp;gt;} distinct KeyID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927997#M648410</guid>
      <dc:creator />
      <dc:date>2015-10-07T13:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927998#M648411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe somebody knows a better solution. The FieldC=p(FieldD) was used to identify specific records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation:&lt;/P&gt;&lt;P&gt;When a purchase is made by a person, that purchase gets a unique record (e.g. FieldPurchaseID) which links to that person (e.g.FieldPersonID), but also a unique purchase (e.g. FieldPurchaseID) is added to that persons company (e.g. FieldStructureID). The fields FieldPersonID and FieldStructureID are unique identifiers in 2 different dimension tables that are 1-1 with key fields (e.g. %FieldPersonID and %FieldStructureID), which link to another table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So a purchuse by a person creates the records (1st to Person, 2nd automatically created for Structure):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Record&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldPurchaseID, FieldPersonID, FieldStructureID, %FieldPersonID, %FieldStructureID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1&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; abz17&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; Person1727&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Structure323&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Person1727&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Structure323&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&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; abz18&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;&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;&amp;nbsp;&amp;nbsp; Structure323&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Structure323&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Structure323&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to count both record seperately. Now I have used to count second (to structures) via %FieldPersonID=p(%FieldStructureID). If this causes the problem, how else could I count this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927998#M648411</guid>
      <dc:creator />
      <dc:date>2015-10-07T13:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927999#M648412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you seen my answer above? Instead of the p(Field), use a concatenated list of posibble values. In the concat function you can use the same set analysis to ignore selctions in e.g. FieldA. Above answer:&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;What if you replace the FieldE=p(FieldF) in the set (and others) with&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;FieldE={'$(=chr(39) &amp;amp; replace(concat({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FieldA=, FieldB=&lt;/SPAN&gt;&amp;gt;} distinct FieldF, '|'), '|', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/927999#M648412</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-10-07T13:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/928000#M648413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piet Hein,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I understand what your code will do. Could you elaborate how this will only select record 2 as I defined above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 13:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/928000#M648413</guid>
      <dc:creator />
      <dc:date>2015-10-07T13:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore not working?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/928001#M648414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is basically building a set value list e.g.&lt;/P&gt;&lt;P&gt;FieldE={'Value1','Value2'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The concat builds this list of possible values and uses the same set analysis to ignore the selections in e.g. FieldA&lt;/P&gt;&lt;P&gt;The replace just takes care of the necessary delimiters in a set value list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all wrapped in a so called dollar sign expansion (see help), which is replaced by its result before the rest of the expression is evaluated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-not-working/m-p/928001#M648414</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-10-07T14:04:14Z</dc:date>
    </item>
  </channel>
</rss>

