<?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: Show only unique based on criteria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577427#M1113637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks Fabrice, I did some clicking and somehow I figured out what you suggested. And it is exactly what I needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again and have a nice day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 09:07:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-27T09:07:14Z</dc:date>
    <item>
      <title>Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577421#M1113631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have loaded table files (CSV) into qlikview. There are fields in the table, &lt;STRONG&gt;CARD USERNAME&lt;/STRONG&gt; and &lt;STRONG&gt;DATE &amp;amp; TIME. &lt;/STRONG&gt;The records in this table represent the user (CARD USERNAME) who tapped their passes into the door entrance system and the date time stamp (DATE &amp;amp; TIME). So there can be several instances of CARD USERNAME in the table, each wil just have different DATE &amp;amp; TIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I am using personal edition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #000000;"&gt;LOAD Sequence,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp; [Date and Time],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp; [Card user name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I create tablebox and added all fields, it simply list all instances of CARD USERNAME and DATE &amp;amp; TIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question;&lt;/P&gt;&lt;P&gt;What do Ineed to do so that the table will only show one instance CARD USERNAME with the corresponding DATE &amp;amp; TIME and the criteria being that the DATE &amp;amp; TIME to be used is the latest one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577421#M1113631</guid>
      <dc:creator />
      <dc:date>2014-02-27T08:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577422#M1113632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use first sort value function: it gives value corresponding to minimum number, in this case it is date and time. For max use -datetime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577422#M1113632</guid>
      <dc:creator />
      <dc:date>2014-02-27T08:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577423#M1113633</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 am not understanding clearly can you please provide me any sample file. As i understand you want one field based on two field so use concat command for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577423#M1113633</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-02-27T08:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577424#M1113634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try another object like a pivot or straight table (chart / in general tab choose one of the two)&lt;/P&gt;&lt;P&gt;Dimension: Card user name&lt;/P&gt;&lt;P&gt;Expression: max(date &amp;amp; time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577424#M1113634</guid>
      <dc:creator />
      <dc:date>2014-02-27T08:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577425#M1113635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aamir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How exactly should I do your suggestion? I am very new to qlikview and now sure how to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577425#M1113635</guid>
      <dc:creator />
      <dc:date>2014-02-27T08:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577426#M1113636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently my table box would show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CARD USERNAME&amp;nbsp;&amp;nbsp; DATE &amp;amp; TIME&lt;/P&gt;&lt;P&gt;jimlim&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/27/2014 7:04:52 am&lt;/P&gt;&lt;P&gt;jimlim&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/27/2014 8:06:33 am&lt;/P&gt;&lt;P&gt;jimlim&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/27/2014 10:04:11 am&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like that it only shows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CARD USERNAME&amp;nbsp;&amp;nbsp; DATE&amp;amp; TIME&lt;/P&gt;&lt;P&gt;jimlim&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/27/2014&amp;nbsp; 10:04:11 am&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So only 1 jimlim (unique) and the DATE &amp;amp; TIME is 2/27/2014 10:04:11 am, which is the latest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you kindly provide details on how do I use CONCAT fuction to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577426#M1113636</guid>
      <dc:creator />
      <dc:date>2014-02-27T08:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577427#M1113637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks Fabrice, I did some clicking and somehow I figured out what you suggested. And it is exactly what I needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again and have a nice day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 09:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577427#M1113637</guid>
      <dc:creator />
      <dc:date>2014-02-27T09:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577428#M1113638</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;If say in expression level so use Expression like Max(DATE&amp;amp; TIME) and in dimension use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CARD USERNAME by using this only latest value is shown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 09:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577428#M1113638</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-02-27T09:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577429#M1113639</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;If you want to do this on the load script do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;LOAD Sequence,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; [Date and Time],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;&amp;nbsp;&amp;nbsp; [Card user name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq) &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;where &lt;STRONG style="font-family: inherit; font-style: inherit; color: #000000;"&gt;[Date and Time] = Max(&lt;STRONG style="font-family: inherit; font-style: inherit; color: #000000;"&gt;[Date and Time]&lt;/STRONG&gt;)&lt;/STRONG&gt; ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HTH&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks &amp;amp; Regards &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #000000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 09:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577429#M1113639</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-02-27T09:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577430#M1113640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #000000;"&gt;LOAD Sequence,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp; max([Date and Time]) as &lt;/STRONG&gt;&lt;STRONG style="color: #000000;"&gt;[Date and Time]&lt;/STRONG&gt;&lt;STRONG style="color: #000000;"&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp; [Card user name],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;group by&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG style="color: #000000;"&gt;[Card user name]&lt;/STRONG&gt;&lt;STRONG style="color: #000000;"&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 09:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577430#M1113640</guid>
      <dc:creator />
      <dc:date>2014-02-27T09:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577431#M1113641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your post. I tried but getting "invalid expression..." message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 23:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577431#M1113641</guid>
      <dc:creator />
      <dc:date>2014-02-27T23:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show only unique based on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577432#M1113642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the exact script you posted and it gave me error message: "Execution of script failed....".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 23:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-only-unique-based-on-criteria/m-p/577432#M1113642</guid>
      <dc:creator />
      <dc:date>2014-02-27T23:40:51Z</dc:date>
    </item>
  </channel>
</rss>

