<?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 Possible to have both filter and ignored selection in a set analysis? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Possible-to-have-both-filter-and-ignored-selection-in-a-set/m-p/1833821#M68839</link>
    <description>&lt;P&gt;Hi Qlik Community,&lt;/P&gt;&lt;P&gt;Would like to get some insight on how to , is it possible to have both respect filter criteria and ignored criteria in a set analysis? if yes can please share with me how?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For eg, I have below set analysis to return SUM of sales for year 2020:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM({$&amp;lt;year={'2020'}&amp;gt;}sales)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let said if i have a filter panel with a "product" dimension, and i would like to ignored product selection within filter panel with certain value, for eg, something as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{1&amp;lt;[product]={'prod1', 'prod2'}&amp;gt;}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is it possible to combine this 2 criteria in a set analysis? If yes can please show me how? Thanks in advance.&lt;/P&gt;&lt;P&gt;Basically i would like to ignored certain value in a dimension when user perform filter selection, but not to totally ignored all other available value, so something like [product]= is not viable in this case&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kenny.&lt;/P&gt;</description>
    <pubDate>Sun, 05 Sep 2021 11:49:52 GMT</pubDate>
    <dc:creator>KennyTan</dc:creator>
    <dc:date>2021-09-05T11:49:52Z</dc:date>
    <item>
      <title>Possible to have both filter and ignored selection in a set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/Possible-to-have-both-filter-and-ignored-selection-in-a-set/m-p/1833821#M68839</link>
      <description>&lt;P&gt;Hi Qlik Community,&lt;/P&gt;&lt;P&gt;Would like to get some insight on how to , is it possible to have both respect filter criteria and ignored criteria in a set analysis? if yes can please share with me how?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For eg, I have below set analysis to return SUM of sales for year 2020:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM({$&amp;lt;year={'2020'}&amp;gt;}sales)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let said if i have a filter panel with a "product" dimension, and i would like to ignored product selection within filter panel with certain value, for eg, something as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{1&amp;lt;[product]={'prod1', 'prod2'}&amp;gt;}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is it possible to combine this 2 criteria in a set analysis? If yes can please show me how? Thanks in advance.&lt;/P&gt;&lt;P&gt;Basically i would like to ignored certain value in a dimension when user perform filter selection, but not to totally ignored all other available value, so something like [product]= is not viable in this case&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kenny.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Sep 2021 11:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Possible-to-have-both-filter-and-ignored-selection-in-a-set/m-p/1833821#M68839</guid>
      <dc:creator>KennyTan</dc:creator>
      <dc:date>2021-09-05T11:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to have both filter and ignored selection in a set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/Possible-to-have-both-filter-and-ignored-selection-in-a-set/m-p/1833844#M68840</link>
      <description>&lt;P&gt;Yes it is possible with e()&lt;/P&gt;&lt;P&gt;see below link for reference&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/P-E-and-where-do-you-use-them/td-p/457847" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/P-E-and-where-do-you-use-them/td-p/457847&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;</description>
      <pubDate>Sun, 05 Sep 2021 20:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Possible-to-have-both-filter-and-ignored-selection-in-a-set/m-p/1833844#M68840</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2021-09-05T20:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to have both filter and ignored selection in a set analysis?</title>
      <link>https://community.qlik.com/t5/App-Development/Possible-to-have-both-filter-and-ignored-selection-in-a-set/m-p/1833854#M68841</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42758"&gt;@PrashantSangle&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the replied and link provided. Try to understand the usage for E() in set analysis without any success. Can please help me understand?&lt;/P&gt;&lt;P&gt;I have a sample data as below (attached qvf if it can provide more clarity).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sampledata.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61370i6DF77732EBFEE833/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sampledata.png" alt="sampledata.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Based on the explanation from the linked provided,&amp;nbsp; i can interprets below as (Please correct me if my understanding was wrong):&lt;/P&gt;&lt;P&gt;Get the SUM of sales for&amp;nbsp; for product on year 2019 where product color not to include red.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;product=E({1&amp;lt;color={'red'}&amp;gt;}), year={'2019'}&amp;gt;}sales)&lt;/LI-CODE&gt;&lt;P&gt;I expect above set analysis will returned me something as below?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="result.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61372i7C7C9265E4CC9A7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="result.png" alt="result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the calculation i get is 0 with above set analysis. Not sure how this Exclude mechanism is work.&lt;/P&gt;&lt;P&gt;Hope you can shed some light on this please?&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kenny.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 02:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Possible-to-have-both-filter-and-ignored-selection-in-a-set/m-p/1833854#M68841</guid>
      <dc:creator>KennyTan</dc:creator>
      <dc:date>2021-09-06T02:50:45Z</dc:date>
    </item>
  </channel>
</rss>

