<?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: Min and First Sorted Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686292#M1082355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have multiple dates for the same value and that is causing the issue. Try:&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Aggr(Min({&amp;lt;Properzi_Weight={'&amp;gt;0'}&amp;gt;}Date),[Properzi_Weight]),[Properzi_Weight])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2014 12:07:08 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-07-01T12:07:08Z</dc:date>
    <item>
      <title>Min and First Sorted Value</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686287#M1082350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;Dear All Qlikview Users,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif; font-size: 12pt;"&gt;I am facing a problem while writing expressions for calculating Minimum Value and on which Date and for what product it relates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;In my attached QVW Document, The minimum value for June should come to 2.047 and if I select only 1st June then it should come to 25.945 as can be seen from the Table Box Object. The Value which I am calculating is &lt;STRONG&gt;&lt;EM&gt;Sum(Properzi_Weight) - Sum(Properzi_Nil_AR_1)&lt;/EM&gt;&lt;/STRONG&gt;. Since on some days there is 0 Value, so I am unable to get next minimum value which is my desired result. Also after getting that minimum value, I am trying to get two things, one for which Plant No it was and another, on which date it was.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;I need help of you all in getting this issue resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: tahoma,arial,helvetica,sans-serif;"&gt;Manish Prasad&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 09:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686287#M1082350</guid>
      <dc:creator>manpri7078</dc:creator>
      <dc:date>2014-07-01T09:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Min and First Sorted Value</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686288#M1082351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;=FirstSortedValue({&amp;lt;Properzi_Weight={'&amp;gt;0'}&amp;gt;}[Properzi Plant No],[Properzi_Weight])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 09:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686288#M1082351</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-07-01T09:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Min and First Sorted Value</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686289#M1082352</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;Look at the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below expression&lt;/P&gt;&lt;P&gt;FirstSortedValue({&amp;lt;Properzi_Weight={'&amp;gt;0'}&amp;gt;}[Properzi_Weight],[Properzi_Weight])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;AHSFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 09:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686289#M1082352</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-07-01T09:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Min and First Sorted Value</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686290#M1082353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Ashfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. It is now calculating correctly the minimum weight as desired, but also I want to know on which Date it was. I am unable to figure it out how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your suggestion will be helpful to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 10:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686290#M1082353</guid>
      <dc:creator>manpri7078</dc:creator>
      <dc:date>2014-07-01T10:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Min and First Sorted Value</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686291#M1082354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got your point what you are suggesting. Thanks for that, but I also want to know the relevant Date for that record.&lt;/P&gt;&lt;P&gt;How can we do that ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 11:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686291#M1082354</guid>
      <dc:creator>manpri7078</dc:creator>
      <dc:date>2014-07-01T11:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Min and First Sorted Value</title>
      <link>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686292#M1082355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have multiple dates for the same value and that is causing the issue. Try:&lt;/P&gt;&lt;P&gt;=FirstSortedValue(Aggr(Min({&amp;lt;Properzi_Weight={'&amp;gt;0'}&amp;gt;}Date),[Properzi_Weight]),[Properzi_Weight])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 12:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-and-First-Sorted-Value/m-p/686292#M1082355</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-07-01T12:07:08Z</dc:date>
    </item>
  </channel>
</rss>

