<?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 Ignore one selection in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628148#M732785</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have this set analysis in my expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({&amp;lt;[Contact IsActive] = {'true'}, [Contact SpecialtyName] = {'n1','n2'}&amp;gt;} DISTINCT [Contact Id])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I want to keep [Contact SpecialtyName]&amp;nbsp; filter,&amp;nbsp; but i want to ignore only&amp;nbsp;[Contact IsActive]&amp;nbsp; filter. Is it possible to do in one set analysis?&lt;/P&gt;&lt;P&gt;If i write '&lt;STRONG&gt;1&lt;/STRONG&gt;'&amp;nbsp;before set analysis, it (of course) ignore both of filters. How to keep just one of them?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;[Contact IsActive] = {'true'}, [Contact SpecialtyName] = {'n1','n2'}&amp;gt;} DISTINCT [Contact Id])&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:23:37 GMT</pubDate>
    <dc:creator>Tuzlukov</dc:creator>
    <dc:date>2024-11-16T02:23:37Z</dc:date>
    <item>
      <title>Ignore one selection in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628148#M732785</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have this set analysis in my expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({&amp;lt;[Contact IsActive] = {'true'}, [Contact SpecialtyName] = {'n1','n2'}&amp;gt;} DISTINCT [Contact Id])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I want to keep [Contact SpecialtyName]&amp;nbsp; filter,&amp;nbsp; but i want to ignore only&amp;nbsp;[Contact IsActive]&amp;nbsp; filter. Is it possible to do in one set analysis?&lt;/P&gt;&lt;P&gt;If i write '&lt;STRONG&gt;1&lt;/STRONG&gt;'&amp;nbsp;before set analysis, it (of course) ignore both of filters. How to keep just one of them?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;[Contact IsActive] = {'true'}, [Contact SpecialtyName] = {'n1','n2'}&amp;gt;} DISTINCT [Contact Id])&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628148#M732785</guid>
      <dc:creator>Tuzlukov</dc:creator>
      <dc:date>2024-11-16T02:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore one selection in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628156#M732786</link>
      <description>&lt;P&gt;What about writing -&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({&amp;lt;[Contact IsActive] = {'&lt;STRONG&gt;false&lt;/STRONG&gt;'}, [Contact SpecialtyName] = {'n1','n2'}&amp;gt;} DISTINCT [Contact Id])&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628156#M732786</guid>
      <dc:creator>AdiPai</dc:creator>
      <dc:date>2019-09-25T14:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore one selection in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628165#M732787</link>
      <description>&lt;P&gt;Your expression as it is now will also ignore user selections in those two fields. It uses fixed selections. Adding a 1 before the set modifiers will not change that. That will simply make it ignore user selections in every field.&lt;/P&gt;&lt;P&gt;If you want to ignore user selections in a field and don't want to replace it with a fixed selection then use something like&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({&amp;lt;&lt;STRONG&gt;[Contact IsActive] =&lt;/STRONG&gt;, [Contact SpecialtyName] = {'n1','n2'}&amp;gt;} DISTINCT [Contact Id])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;That will use all possible values in Contact IsActive regardless of user selections in that field.&lt;/P&gt;&lt;P&gt;If you want to keep the user selections then simply remove the set modifier for that field from the expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Count({&amp;lt; [Contact SpecialtyName] = {'n1','n2'}&amp;gt;} DISTINCT [Contact Id])&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628165#M732787</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-09-25T14:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore one selection in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628404#M732788</link>
      <description>&lt;P&gt;Ok, maybe i asked wrong question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see picture below. I have expression "base" calculated by code from my first message.&lt;/P&gt;&lt;P&gt;And i also have dimension "week" which unable to compare with table that contains "base" data. I want to get in all fields "base"&amp;nbsp;with category "A" value 54. Independently to "week":&lt;/P&gt;&lt;P&gt;&lt;A href="https://i.postimg.cc/MGTSy8hs/this-Copy.jpg" target="_blank" rel="noopener"&gt;there is something wrong with photo attachment&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" width="519" height="239" /&gt;&lt;/P&gt;&lt;P&gt;Without week dimension my table looks like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://i.postimg.cc/1zjZBjSy/this.jpg" target="_blank" rel="noopener"&gt;one more photo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" width="276" height="97" /&gt;&lt;/P&gt;&lt;P&gt;Hope you understand me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 06:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1628404#M732788</guid>
      <dc:creator>Tuzlukov</dc:creator>
      <dc:date>2019-09-26T06:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore one selection in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1631283#M732789</link>
      <description>&lt;P&gt;Andrey, check out the following Design Blog post, and there are some other links inside the post as well, be sure to check those too, as I think you may actually need one of the other ones to do what you want, but I hope this may be what you need to help you get things figured out.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 21:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-one-selection-in-Set-Analysis/m-p/1631283#M732789</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-03T21:37:21Z</dc:date>
    </item>
  </channel>
</rss>

