<?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 Match expression using max(Date) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916317#M469088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'd like to retrieve the latest text field for each specific type of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="312" style="width: 259px; height: 184px;" width="259"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="53"&gt;Rule&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="72"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="58"&gt;Comment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_AMO&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-11&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_AMO&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_AMO&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-11&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-12&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-12&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-13&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-13&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-16&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well the latest comment for R_AMO is Fruit, but the latest comment for R_SSG is Vegetable. Not that the latest date for R_AMO is 2015-07-15 but is 2017-07-16 for R_SSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got this down as an expression for my dimension "Comment" in a chart.&lt;/P&gt;&lt;P&gt;= if(match(Date, '$(=Max(Date))'), Comment, 'nay')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I get are Nays &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;Any ideas on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 15:05:11 GMT</pubDate>
    <dc:creator>sibrulotte</dc:creator>
    <dc:date>2015-07-27T15:05:11Z</dc:date>
    <item>
      <title>Match expression using max(Date)</title>
      <link>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916317#M469088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'd like to retrieve the latest text field for each specific type of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="312" style="width: 259px; height: 184px;" width="259"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="53"&gt;Rule&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="72"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="58"&gt;Comment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_AMO&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-11&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_AMO&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_AMO&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-11&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-12&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-12&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-13&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-13&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-15&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;R_SSG&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-07-16&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Vegetable&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well the latest comment for R_AMO is Fruit, but the latest comment for R_SSG is Vegetable. Not that the latest date for R_AMO is 2015-07-15 but is 2017-07-16 for R_SSG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got this down as an expression for my dimension "Comment" in a chart.&lt;/P&gt;&lt;P&gt;= if(match(Date, '$(=Max(Date))'), Comment, 'nay')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I get are Nays &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;Any ideas on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916317#M469088</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-07-27T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Match expression using max(Date)</title>
      <link>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916318#M469089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as your calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= if(match(Date, '$(=Date(Max(Date)))'), Comment, 'nay')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="94083" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94083_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916318#M469089</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-27T15:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Match expression using max(Date)</title>
      <link>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916319#M469090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, &lt;/P&gt;&lt;P&gt;R_AMO is still at nay because the Max date for the entire set is 2015-07-16... but R_AMO's maxdate is 2015-07-15...&lt;/P&gt;&lt;P&gt;Helpfull though thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916319#M469090</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-07-27T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Match expression using max(Date)</title>
      <link>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916320#M469091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it, working on it now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916320#M469091</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-27T15:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Match expression using max(Date)</title>
      <link>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916321#M469092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Date = Aggr(NODISTINCT Date(Max(Total &amp;lt;Rule&amp;gt; Date)), Rule), Comment, 'nay')&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/94093_Capture.PNG" style="height: 191px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916321#M469092</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-27T15:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Match expression using max(Date)</title>
      <link>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916322#M469093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's a winner right there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916322#M469093</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2015-07-27T15:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Match expression using max(Date)</title>
      <link>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916323#M469094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &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;Glad I was able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 15:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-expression-using-max-Date/m-p/916323#M469094</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-27T15:21:32Z</dc:date>
    </item>
  </channel>
</rss>

