<?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: Clause OR in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clause-OR-in-set-analysis/m-p/1332422#M843549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now works perfectly!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Apr 2017 10:05:49 GMT</pubDate>
    <dc:creator>mromrod22</dc:creator>
    <dc:date>2017-04-18T10:05:49Z</dc:date>
    <item>
      <title>Clause OR in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Clause-OR-in-set-analysis/m-p/1332420#M843547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with a static expression, and I need control a filter "dynamically", for try avoid a too long expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count(DISTINCT {&amp;lt;Mes={'Ene','Feb'}, [Revisión plan anual]={'Rev0'}&amp;gt;} SOLI_ID_SOLICITUD)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; +&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count(DISTINCT {&amp;lt;Mes={'Mar','Abr'}, [Revisión plan anual]={'Rev1'}&amp;gt;} SOLI_ID_SOLICITUD)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explain the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each Revision must link with two months (Rev0 with Ene and Feb, Rev1 with Mar and Abr...), but I must do statically. In this reduced example I control the output when check Rev0 and Rev1, but the problem comes when check Rev0, Rev1, and Ene, Feb, Mar. Automatically include IDs of Abr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need, if is possible, a clause OR where I control the value of "Mes" applied depending of "Mes" checked ( if check two months or one of them).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that this must be done dynamically, but the script has been done wrong and I haven´t time to change all the code.&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, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clause-OR-in-set-analysis/m-p/1332420#M843547</guid>
      <dc:creator>mromrod22</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clause OR in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Clause-OR-in-set-analysis/m-p/1332421#M843548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe I haven't fully understood what you are trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need your set analysis consider user selections in Mes field, you can use the intersection set operator * to achieve an intersection (only consider Mar, if Abr is not selected, but both months if both are selected):&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;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;count(DISTINCT {&amp;lt;Mes &lt;STRONG style="font-size: 12pt;"&gt;*=&lt;/STRONG&gt; {'Ene','Feb'}, [Revisión plan anual]={'Rev0'}&amp;gt;} SOLI_ID_SOLICITUD)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp; +&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;count(DISTINCT {&amp;lt;Mes &lt;STRONG style="font-size: 12pt;"&gt;*=&lt;/STRONG&gt; {'Mar','Abr'}, [Revisión plan anual]={'Rev1'}&amp;gt;} SOLI_ID_SOLICITUD)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 08:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clause-OR-in-set-analysis/m-p/1332421#M843548</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-18T08:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Clause OR in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Clause-OR-in-set-analysis/m-p/1332422#M843549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now works perfectly!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 10:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clause-OR-in-set-analysis/m-p/1332422#M843549</guid>
      <dc:creator>mromrod22</dc:creator>
      <dc:date>2017-04-18T10:05:49Z</dc:date>
    </item>
  </channel>
</rss>

