<?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: How to get Delta between two selections in the same field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443941#M432963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(DISTINCT {&amp;lt;Product = {"=Count(Distinct Date) = 1"}&amp;gt;} Product)&lt;/STRONG&gt;&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/187904_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2017 18:18:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-12-21T18:18:18Z</dc:date>
    <item>
      <title>How to get Delta between two selections in the same field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443940#M432962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite a beginner with Qlikview and really hope you'll be able to help me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of data, i.e. sold products for one field, and dates for another one :&lt;/P&gt;&lt;P&gt;&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;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;P1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2017-12-19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;P2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2017-12-19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;P3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2017-12-19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;P1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2017-12-20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;P3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2017-12-20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in QV I have to boxes, the first one with the products, the other one with de dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to select two dates and display which product were sold during the first date but not during the second.&lt;/P&gt;&lt;P&gt;With the example table above, the result should be "P2" (sold the 2017-12-19 but not during the 2017-12-20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to achieve this with QV ? And, can somebody can help me with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot by advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 14:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443940#M432962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-21T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Delta between two selections in the same field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443941#M432963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(DISTINCT {&amp;lt;Product = {"=Count(Distinct Date) = 1"}&amp;gt;} Product)&lt;/STRONG&gt;&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/187904_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 18:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443941#M432963</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-21T18:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Delta between two selections in the same field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443942#M432964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help. It works fine.&lt;/P&gt;&lt;P&gt;But my example was incomplete, sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, It doesn't work with more dates and products.&lt;/P&gt;&lt;P&gt;For example (limited with 3 dates and 4 products, but there can be more), with &lt;SPAN style="font-size: 10pt;"&gt;Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, Date&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P1, 2017-12-18&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P4, 2017-12-18&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P1, 2017-12-19&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P2, 2017-12-19&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P3, 2017-12-19&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P1, 2017-12-20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P3, 2017-12-20&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select the two first dates, I expect to get 'P4' in the text box, but in fact it displays 'P2P3P4' (P2 and P3 being associated to the third date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think that it's possible to do it with QV ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 09:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443942#M432964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-22T09:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Delta between two selections in the same field</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443943#M432965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your data is like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P1, 2017-12-18&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P4, 2017-12-18&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P1, 2017-12-19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P2, 2017-12-19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P3, 2017-12-19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;P2&lt;/SPAN&gt;, 2017-12-20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; P3, 2017-12-20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(DISTINCT {&amp;lt;Product = {"=Count(Distinct {&amp;lt;Date&amp;gt;} Date) = 1"}&amp;gt;} Product)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 16:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Delta-between-two-selections-in-the-same-field/m-p/1443943#M432965</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-22T16:33:28Z</dc:date>
    </item>
  </channel>
</rss>

