<?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: Compare Previous selection to Current selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-Previous-selection-to-Current-selection/m-p/1025404#M346538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this boolean comparison, returning false when the distinct count differs between selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(&lt;STRONG&gt;{$1}&lt;/STRONG&gt; DISTINCT Week) = Count&lt;STRONG&gt;({$}&lt;/STRONG&gt; DISTINCT Week)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where $1 is the set identifier of the previous selection state&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2016 15:23:34 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-01-19T15:23:34Z</dc:date>
    <item>
      <title>Compare Previous selection to Current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Previous-selection-to-Current-selection/m-p/1025403#M346537</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;I want to know if it is possible to compare the number of selections made to the previous number of selections?&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Say I have 4 products that all sold in the following months and weeks:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Week&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;a&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;b&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;c&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;d&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I start off by selecting Week 5 and 6 (GetSelectedCount(Week) = 2, call it preSelect) which gives Product a, b and c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I select Product a or b, which results in Week 6 being deselected and &lt;SPAN style="font-size: 13.3333px;"&gt;(GetSelectedCount(Week) = 1, call it nowSelect)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question: Is there a way to compare preSelect and nowSelect. I want to inform the user that his date range selection has changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 11:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Previous-selection-to-Current-selection/m-p/1025403#M346537</guid>
      <dc:creator>erhardt_dekock</dc:creator>
      <dc:date>2016-01-19T11:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compare Previous selection to Current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-Previous-selection-to-Current-selection/m-p/1025404#M346538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this boolean comparison, returning false when the distinct count differs between selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(&lt;STRONG&gt;{$1}&lt;/STRONG&gt; DISTINCT Week) = Count&lt;STRONG&gt;({$}&lt;/STRONG&gt; DISTINCT Week)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where $1 is the set identifier of the previous selection state&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 15:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-Previous-selection-to-Current-selection/m-p/1025404#M346538</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-19T15:23:34Z</dc:date>
    </item>
  </channel>
</rss>

