<?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 Show single record while table has duplicates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-single-record-while-table-has-duplicates/m-p/1691531#M727252</link>
    <description>&lt;P&gt;Hi All -&lt;/P&gt;&lt;P&gt;I want to show highest premium for each policy&amp;nbsp; (single record).&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;PolicyNo, CoverageDesc, Premium&lt;/P&gt;&lt;P&gt;1, A, 1000&lt;/P&gt;&lt;P&gt;2, B, 2000&lt;/P&gt;&lt;P&gt;3, C, 3000&lt;/P&gt;&lt;P&gt;Expected output is&amp;nbsp;&lt;/P&gt;&lt;P&gt;PolicyNo, CoverageDesc, Premium&lt;/P&gt;&lt;P&gt;3, C, 3000&lt;/P&gt;&lt;P&gt;How can i achieve this result?&lt;/P&gt;&lt;P&gt;I tried one approach : "Agg(Max(Premium),PolicyNo,CoverageDesc)"&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;PolicyNo, CoverageDesc, Premium&lt;/P&gt;&lt;P&gt;1, A, -&lt;/P&gt;&lt;P&gt;2, B, -&lt;/P&gt;&lt;P&gt;3, C, 3000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nihhal.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:53:18 GMT</pubDate>
    <dc:creator>nihhalmca</dc:creator>
    <dc:date>2024-11-16T00:53:18Z</dc:date>
    <item>
      <title>Show single record while table has duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Show-single-record-while-table-has-duplicates/m-p/1691531#M727252</link>
      <description>&lt;P&gt;Hi All -&lt;/P&gt;&lt;P&gt;I want to show highest premium for each policy&amp;nbsp; (single record).&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;PolicyNo, CoverageDesc, Premium&lt;/P&gt;&lt;P&gt;1, A, 1000&lt;/P&gt;&lt;P&gt;2, B, 2000&lt;/P&gt;&lt;P&gt;3, C, 3000&lt;/P&gt;&lt;P&gt;Expected output is&amp;nbsp;&lt;/P&gt;&lt;P&gt;PolicyNo, CoverageDesc, Premium&lt;/P&gt;&lt;P&gt;3, C, 3000&lt;/P&gt;&lt;P&gt;How can i achieve this result?&lt;/P&gt;&lt;P&gt;I tried one approach : "Agg(Max(Premium),PolicyNo,CoverageDesc)"&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;PolicyNo, CoverageDesc, Premium&lt;/P&gt;&lt;P&gt;1, A, -&lt;/P&gt;&lt;P&gt;2, B, -&lt;/P&gt;&lt;P&gt;3, C, 3000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nihhal.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-single-record-while-table-has-duplicates/m-p/1691531#M727252</guid>
      <dc:creator>nihhalmca</dc:creator>
      <dc:date>2024-11-16T00:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show single record while table has duplicates</title>
      <link>https://community.qlik.com/t5/QlikView/Show-single-record-while-table-has-duplicates/m-p/1697797#M727253</link>
      <description>&lt;P&gt;Have a read through the following Design Blog post, I believe that may be what you need:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-sortable-Aggr-function-is-finally-here/ba-p/1470262" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-sortable-Aggr-function-is-finally-here/ba-p/1470262&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The only other means would be to use Order by or Group by in the load to get things in order and then grab the first or last record etc. that way, there are some other posts on Community regarding that scenario you should be able to find.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 14:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-single-record-while-table-has-duplicates/m-p/1697797#M727253</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-04-29T14:52:13Z</dc:date>
    </item>
  </channel>
</rss>

