<?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 set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/433263#M161470</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have below fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;LogTable:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;customer.number&lt;/P&gt;&lt;P&gt;issue.comment&lt;/P&gt;&lt;P&gt;issue.comment.date&lt;/P&gt;&lt;P&gt;issue.comment.number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: In the above table customer can have multiple comments on same date. The highest comment.number indicates the latest comments not the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;CustomerTable:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;customer.name&lt;/P&gt;&lt;P&gt;customer.number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i create straight table that shows customer name, last comment date &amp;amp; last comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to do the above. I have to setanalysis like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show issue.comment for the last max issue.comment.number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer name&amp;nbsp; | customer number |&amp;nbsp; last issue.comment.date&amp;nbsp; |&amp;nbsp; last.issue.comment (based on max(issue.comment.number)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2012 16:05:22 GMT</pubDate>
    <dc:creator>userid128223</dc:creator>
    <dc:date>2012-11-14T16:05:22Z</dc:date>
    <item>
      <title>set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/433263#M161470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have below fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;LogTable:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;customer.number&lt;/P&gt;&lt;P&gt;issue.comment&lt;/P&gt;&lt;P&gt;issue.comment.date&lt;/P&gt;&lt;P&gt;issue.comment.number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: In the above table customer can have multiple comments on same date. The highest comment.number indicates the latest comments not the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;CustomerTable:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;customer.name&lt;/P&gt;&lt;P&gt;customer.number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i create straight table that shows customer name, last comment date &amp;amp; last comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to do the above. I have to setanalysis like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show issue.comment for the last max issue.comment.number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer name&amp;nbsp; | customer number |&amp;nbsp; last issue.comment.date&amp;nbsp; |&amp;nbsp; last.issue.comment (based on max(issue.comment.number)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 16:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/433263#M161470</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2012-11-14T16:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis/m-p/433264#M161471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into FirstSortedValue() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With dimension customer.name, try these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue(issue.comment, -issue.comment.number)&lt;/P&gt;&lt;P&gt;=FirstSortedValue(issue.comment.date, -issue.comment.number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or just max(issue.comment.date) for the last one)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 16:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis/m-p/433264#M161471</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-11-14T16:26:44Z</dc:date>
    </item>
  </channel>
</rss>

