<?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: Latest newest distinct value in text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365270#M845528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue({&amp;lt;Fruit = {"=Count(DISTINCT Date) = 1"}&amp;gt;}Fruit, -Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Apr 2017 18:04:27 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-04-07T18:04:27Z</dc:date>
    <item>
      <title>Latest newest distinct value in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365269#M845527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I want to show the latest newest distinct value in a text object based on the date. So:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;01-04-2017 Apple&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;01-04-2017 Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;02-04-2017 Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;02-04-2017 Apple&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;04-04-2017 Banana&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;05-04-2017 Apple&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;05-04-2017 Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The result in the text object must be Banana, as it is the latest new distinct value based on the data. How can I solve it?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365269#M845527</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Latest newest distinct value in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365270#M845528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue({&amp;lt;Fruit = {"=Count(DISTINCT Date) = 1"}&amp;gt;}Fruit, -Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 18:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365270#M845528</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-07T18:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Latest newest distinct value in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365271#M845529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! It works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 18:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365271#M845529</guid>
      <dc:creator />
      <dc:date>2017-04-07T18:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Latest newest distinct value in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365272#M845530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I see above solution is working only if there is one banana. But suppose there are multiple Banana's, but I still want to get a solution banana as it was the latest new distinct value:&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;01-04-2017 Apple&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;01-04-2017 Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;02-04-2017 Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;02-04-2017 Apple&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;04-04-2017 Banana&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;05-04-2017 Apple&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;05-04-2017 Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;05-04-2017 Banana&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I expect a textbox with the value Banana, as it was the latest original value based on the date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Apr 2017 10:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365272#M845530</guid>
      <dc:creator />
      <dc:date>2017-04-08T10:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Latest newest distinct value in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365273#M845531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue({&amp;lt;Date = {"=Count(Product) = 1"}&amp;gt;}Product, Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159554_Capture.PNG" style="height: 300px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Apr 2017 16:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365273#M845531</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-09T16:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Latest newest distinct value in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365274#M845532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, it works! Only in case that on the same date there are two unique new values it goes wrong. I tried to change Date by something like a RowNo or with Time, but I did not make it. Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RowNo, Date, Time, Product&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1, &lt;SPAN style="font-size: 13.3333px;"&gt;01-04-2017, 20:15, Apple&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2, 01-04-2017, 20:45, Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3, 02-04-2017, 18:00, Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4, 02-04-2017, 19:30, &lt;SPAN style="font-size: 13.3333px;"&gt;Apple&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;5, 04-04-2017, 20:10, Apple&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;6, 05-04-2017, 15:45, Apple&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7, 05-04-2017, 17:20, Strawberry&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;8, 06-04-2017, 19:25, Banana&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;9, 06-04-2017, 20:20, O&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small;"&gt;range&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In this case I expect Orange, but I am getting '-' (which I do understand why that happens).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 16:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365274#M845532</guid>
      <dc:creator />
      <dc:date>2017-04-11T16:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Latest newest distinct value in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365275#M845533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you re-explain the logic behind picking Orange or Banana in the previous examples.... I am not sure I understand the logic (after few of our iterations)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 17:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365275#M845533</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-11T17:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Latest newest distinct value in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365276#M845534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ofcourse, what I want is to see the newest distinct value. You can see it as arrivals of products and I want to know which is the newest product which is received for the first time. In the last case I posted, you can see that on 06-04-2017 I received Banana and Orange. I received both products for the first time, but I received Oranges about a hour later than the Banana so the Orange is the latest product I received for the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see it also like:&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;01-04-2017, 20:15, Apple &lt;STRONG&gt;(first receive of Apples)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2, 01-04-2017, 20:45, Strawberry&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;STRONG&gt;first receive of Strawberry)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3, 02-04-2017, 18:00, Strawberry &lt;STRONG&gt;(Second &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;receive of Strawberry)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;4, 02-04-2017, 19:30, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Apple &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;(Second receive of Apples)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;5, 04-04-2017, 20:10, Apple &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;(Third receive of Apples)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;6, 05-04-2017, 15:45, Apple&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;(Fourth receive of Apples)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;7, 05-04-2017, 17:20, Strawberry &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Third &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;receive of Strawberry)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;8, 06-04-2017, 19:25, Banana&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;First &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;receive of Banana)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;9, 06-04-2017, 20:20, O&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: small; font-family: arial, sans-serif; color: #545454;"&gt;range &lt;STRONG&gt;(First receive of Orange)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am always looking for the latest &lt;STRONG&gt;first&lt;/STRONG&gt; receive in my list. So even in the case that on 07-04-2017 I do receive again Oranges, I still expect that my output in a text object is Orange as it is (based on date and time) my latest first receive, even if I received it on 07-04-2017 for the second time. I can imagine it is a difficult case to understand, sorry for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 17:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Latest-newest-distinct-value-in-text-object/m-p/1365276#M845534</guid>
      <dc:creator />
      <dc:date>2017-04-11T17:13:35Z</dc:date>
    </item>
  </channel>
</rss>

