<?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 use max(date) in set analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705852#M254461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Thanks for the answer, I tried it but it did not work. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;However the replacement of the $ sign after the &lt;/SPAN&gt;curly&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; brace&amp;nbsp; worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;=count($ { &amp;lt; date = {"$(=max(date))"} &amp;gt; } orderID)&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: 12px; background-color: #f6f6f6;"&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: 12px; background-color: #f6f6f6;"&gt;Thanks,&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: 12px; background-color: #f6f6f6;"&gt;Naresh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2014 22:09:11 GMT</pubDate>
    <dc:creator>narband2778</dc:creator>
    <dc:date>2014-10-10T22:09:11Z</dc:date>
    <item>
      <title>How to use max(date) in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705850#M254459</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 want to count&amp;nbsp; total "orderID" of max(date) in set analysis? Without using a variable? Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 21:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705850#M254459</guid>
      <dc:creator>narband2778</dc:creator>
      <dc:date>2014-10-10T21:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use max(date) in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705851#M254460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this: count( {$ &amp;lt; date = {"$(=max(date))"} &amp;gt; } orderID) , you may want to add a Distinct depending on your data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 21:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705851#M254460</guid>
      <dc:creator>albertovarela</dc:creator>
      <dc:date>2014-10-10T21:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use max(date) in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705852#M254461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Thanks for the answer, I tried it but it did not work. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;However the replacement of the $ sign after the &lt;/SPAN&gt;curly&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; brace&amp;nbsp; worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;=count($ { &amp;lt; date = {"$(=max(date))"} &amp;gt; } orderID)&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: 12px; background-color: #f6f6f6;"&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: 12px; background-color: #f6f6f6;"&gt;Thanks,&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: 12px; background-color: #f6f6f6;"&gt;Naresh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 22:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705852#M254461</guid>
      <dc:creator>narband2778</dc:creator>
      <dc:date>2014-10-10T22:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use max(date) in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705853#M254462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;sometimes happens that&amp;nbsp; you need to force date format, otherwise Set analysis doesn't recognizes numeric values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;=count($ { &amp;lt;date = {'$(=&lt;STRONG&gt;date&lt;/STRONG&gt;(max(date)))'} &amp;gt; } orderID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also just as a tip, usually single quotes are used for expanding a formula, while double quotes are used for executing searches,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2014 22:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705853#M254462</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-10-10T22:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use max(date) in set analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705854#M254463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;COUNT({&amp;lt;date = {'$(=Max(date))'}&amp;gt;}Distinct OrderID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;COUNT({&amp;lt;date = {'$(=Max(date))'}&amp;gt;}OrderID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Oct 2014 07:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-max-date-in-set-analysis/m-p/705854#M254463</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-10-11T07:51:27Z</dc:date>
    </item>
  </channel>
</rss>

