<?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: QV Exclusion Operator in Set Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10149#M1567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="200651" alt="Date.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200651_Date.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect the same output as for the app where everything is contained in 1 table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example CAB has 2 open tasks 'cook'. One of these is for a customer that is in the exclusion on 17/01/2018, the other is created on 28/02/2018. In my first app the last formula correctly calculates that the oldest open task is 28/02/2018. In the second app I made a second 'Workers' table where I assigned the name Alberto to 'CAB'. Here the formula gives me the overall minimum date. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Date2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/200653_Date2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2018 13:06:25 GMT</pubDate>
    <dc:creator>thomasreynaert</dc:creator>
    <dc:date>2018-04-24T13:06:25Z</dc:date>
    <item>
      <title>QV Exclusion Operator in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10147#M1565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been breaking my head on an exclusion done in a set expression. In my example this is my expression that I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;min({$&amp;lt;Done={'no'},$(vDuty),$(vWorker)&amp;gt;-&amp;lt;Done={'no'},$(vExclDuty),$(vCustomer),$(vWorker)&amp;gt;}CreationDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The desired result would be the oldest unfinished task for a particular set of workers. However what the exclusion statement should achieve, is that it ignores certain tasks for certain customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now attached you will notice that when starting from 1 table, the expression works perfect. However as in my real app, where I stumbled upon this problem, when there are several tables involved - QV will behave differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on why this is? And more importantly, is there a way to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10147#M1565</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2018-04-24T12:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: QV Exclusion Operator in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10148#M1566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, Min Excl is working fine, but Min Excl split file doesn't? What is the output you expect to see for Min Excl split?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10148#M1566</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-24T12:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: QV Exclusion Operator in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10149#M1567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="200651" alt="Date.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200651_Date.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect the same output as for the app where everything is contained in 1 table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example CAB has 2 open tasks 'cook'. One of these is for a customer that is in the exclusion on 17/01/2018, the other is created on 28/02/2018. In my first app the last formula correctly calculates that the oldest open task is 28/02/2018. In the second app I made a second 'Workers' table where I assigned the name Alberto to 'CAB'. Here the formula gives me the overall minimum date. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Date2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/200653_Date2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10149#M1567</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2018-04-24T13:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: QV Exclusion Operator in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10150#M1568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Second part you are excluding also have a condition on Customer... but for this specific row, Customer is null... so that is why I think it is not getting excluded....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200654_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10150#M1568</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-24T13:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: QV Exclusion Operator in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10151#M1569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, and what you show here is coming out of the app where everything is in 1 table. It is exactly what I want, the row where there is no customer should be included, so it calculates the date. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The other row contains a customer that should be excluded, so here the minimum will not be visualized, because the set is empty. However on total level it does again give 28/02/2018.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10151#M1569</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2018-04-24T13:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: QV Exclusion Operator in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10152#M1570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not quite sure I understand why it won't be visualized? Would you be able to elaborate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10152#M1570</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-24T13:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: QV Exclusion Operator in Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10153#M1571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Well suppose we would change the expression from minimum to a count and split the 2 blocks of set expression: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;min({$&amp;lt;Done={'no'},$(vDuty),$(vWorker)&amp;gt;-&amp;lt;Done={'no'},$(vExclDuty),$(vCustomer),$(vWorker)&amp;gt;}CreationDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({$&amp;lt;Done={'no'},$(vDuty),$(vWorker)&amp;gt;})-Count{$&amp;lt;Done={'no'},$(vExclDuty),$(vCustomer),$(vWorker)&amp;gt;}CreationDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; 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: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If we would do that the results would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-1 first row&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-0 second row&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-1 on total&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our second row QV can not calculate a minimum because there are no records that comply to the set expression. Maybe visualize is bad terminology that I used, it just would give me a NULL value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Exclusion-Operator-in-Set-Expression/m-p/10153#M1571</guid>
      <dc:creator>thomasreynaert</dc:creator>
      <dc:date>2018-04-24T13:43:37Z</dc:date>
    </item>
  </channel>
</rss>

