<?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: Display data exclusive of selection. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-data-exclusive-of-selection/m-p/1207197#M874692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming that the Date field is used for the date selection and the invoiceDate field is part of the Sales data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;Itemname = E({&amp;lt;invoiceDate = P(Date)&amp;gt;} Itemname ) &amp;gt;}&lt;/P&gt;&lt;P&gt;distinct Itemname)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second expression, showing the late of the last sale:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;date(max(&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;Itemname = E({&amp;lt;invoiceDate = P(Date)&amp;gt;} Itemname ) &amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;invoiceDate))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The Set Analysis condition is excluding the values of Itemname that are associated with the invoiceDate values that belong to the selected period of Dates - facilitating the required condition of excluding the items that were sold in a give period of time.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;cheers,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Oleg Troyansky&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Learn Set Analysis and other advanced techniques in my book &lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=CVZRHMG6CVR2FGTA"&gt;QlikView Your Business&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2016 18:15:43 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2016-11-03T18:15:43Z</dc:date>
    <item>
      <title>Display data exclusive of selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Display-data-exclusive-of-selection/m-p/1207196#M874691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;EM&gt;I need to get the only products not sold during the selected period and&amp;nbsp; if those products has been sold any time out of the selected period, then show the last day of sold. I have itemname,invoiceDate and Date fields.&lt;/EM&gt;&lt;/SPAN&gt;&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/Display-data-exclusive-of-selection/m-p/1207196#M874691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Display data exclusive of selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Display-data-exclusive-of-selection/m-p/1207197#M874692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming that the Date field is used for the date selection and the invoiceDate field is part of the Sales data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd use something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;Itemname = E({&amp;lt;invoiceDate = P(Date)&amp;gt;} Itemname ) &amp;gt;}&lt;/P&gt;&lt;P&gt;distinct Itemname)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second expression, showing the late of the last sale:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;date(max(&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;Itemname = E({&amp;lt;invoiceDate = P(Date)&amp;gt;} Itemname ) &amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;invoiceDate))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The Set Analysis condition is excluding the values of Itemname that are associated with the invoiceDate values that belong to the selected period of Dates - facilitating the required condition of excluding the items that were sold in a give period of time.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;cheers,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Oleg Troyansky&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Learn Set Analysis and other advanced techniques in my book &lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=CVZRHMG6CVR2FGTA"&gt;QlikView Your Business&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 18:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-data-exclusive-of-selection/m-p/1207197#M874692</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-11-03T18:15:43Z</dc:date>
    </item>
  </channel>
</rss>

