<?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 Last sale date (set analyses) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510360#M436589</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to got last sales date:&lt;/P&gt;&lt;P&gt;=Max({$&amp;lt;[SalesQuantity]={'&amp;gt;0'}&amp;gt;}TransDate) -&amp;nbsp;Doesn't work&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Max({$&amp;lt;[Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&lt;SPAN&gt;]={'=&lt;/SPAN&gt;&lt;SPAN&gt;0'}&amp;gt;}TransDate&lt;/SPAN&gt;&lt;SPAN&gt;) -&amp;nbsp;Doesn't work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Max({$&amp;lt;[Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&lt;SPAN&gt;]={&lt;/SPAN&gt;&lt;SPAN&gt;0}&amp;gt;}TransDate&lt;/SPAN&gt;&lt;SPAN&gt;) -&amp;nbsp;Work fine, but&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;How to get the maximum date where &lt;SPAN&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&amp;gt; 0&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:10:39 GMT</pubDate>
    <dc:creator>Sergey1</dc:creator>
    <dc:date>2024-11-16T05:10:39Z</dc:date>
    <item>
      <title>Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510360#M436589</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to got last sales date:&lt;/P&gt;&lt;P&gt;=Max({$&amp;lt;[SalesQuantity]={'&amp;gt;0'}&amp;gt;}TransDate) -&amp;nbsp;Doesn't work&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Max({$&amp;lt;[Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&lt;SPAN&gt;]={'=&lt;/SPAN&gt;&lt;SPAN&gt;0'}&amp;gt;}TransDate&lt;/SPAN&gt;&lt;SPAN&gt;) -&amp;nbsp;Doesn't work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Max({$&amp;lt;[Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&lt;SPAN&gt;]={&lt;/SPAN&gt;&lt;SPAN&gt;0}&amp;gt;}TransDate&lt;/SPAN&gt;&lt;SPAN&gt;) -&amp;nbsp;Work fine, but&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;How to get the maximum date where &lt;SPAN&gt;Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&amp;gt; 0&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510360#M436589</guid>
      <dc:creator>Sergey1</dc:creator>
      <dc:date>2024-11-16T05:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510363#M436590</link>
      <description>&lt;P&gt;Try this out:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Max({$&amp;lt;[Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&lt;SPAN&gt;]={"&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;0"}&amp;gt;}TransDate&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510363#M436590</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-11-21T12:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510368#M436591</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I tried&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Max({$&amp;lt;[Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&lt;SPAN&gt;]={"&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;0"}&amp;gt;}TransDate&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But it doesn't work&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510368#M436591</guid>
      <dc:creator>Sergey1</dc:creator>
      <dc:date>2018-11-21T12:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510369#M436592</link>
      <description>can u share/upload a sample qvw which demonstates the issue?</description>
      <pubDate>Wed, 21 Nov 2018 12:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510369#M436592</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2018-11-21T12:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510371#M436593</link>
      <description>&lt;P&gt;Did you try it&amp;nbsp; with double quotes?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And what about this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Max({$&amp;lt;[Sales&lt;/SPAN&gt;&lt;SPAN&gt;Quantity&lt;/SPAN&gt;&lt;SPAN&gt;]={"=Sum(SalesQuantity)&amp;gt;0"&lt;/SPAN&gt;&lt;SPAN&gt;}&amp;gt;}TransDate&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510371#M436593</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-11-21T12:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510375#M436594</link>
      <description>Yes, with double quotes.&lt;BR /&gt;&lt;BR /&gt;Max({$&amp;lt;[SalesQuantity]={"=Sum(SalesQuantity)&amp;gt;0"}&amp;gt;}TransDate) didn't work too</description>
      <pubDate>Wed, 21 Nov 2018 12:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510375#M436594</guid>
      <dc:creator>Sergey1</dc:creator>
      <dc:date>2018-11-21T12:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510379#M436595</link>
      <description>&lt;P&gt;What about this?&lt;/P&gt;&lt;P&gt;FirstSortedValue(&lt;SPAN&gt;TransDate,-Aggr(Sum(SalesQuantity)&amp;gt;0,TransDate)&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Max( Aggr (If (Sum(&lt;SPAN&gt;SalesQuantity&lt;/SPAN&gt;)&amp;gt;0,&lt;SPAN&gt;TransDate&lt;/SPAN&gt;),&lt;SPAN&gt;TransDate&lt;/SPAN&gt; ) )&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510379#M436595</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-11-21T12:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510380#M436596</link>
      <description>I think I understand the reason&lt;BR /&gt;I have calc dimension&lt;BR /&gt;=aggr(if(sum([SalesQuantity])=0,[Product]),[Product])&lt;BR /&gt;&lt;BR /&gt;The goal is to get only those products for which there was no sale for the selected period.&lt;BR /&gt;This is the reason why there is no sale date))&lt;BR /&gt;So I have to remove the period filters when I get the last dates.&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510380#M436596</guid>
      <dc:creator>Sergey1</dc:creator>
      <dc:date>2018-11-21T12:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Last sale date (set analyses)</title>
      <link>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510381#M436597</link>
      <description>&lt;P&gt;It's an important thing to know...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 12:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-sale-date-set-analyses/m-p/1510381#M436597</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-11-21T12:35:30Z</dc:date>
    </item>
  </channel>
</rss>

