<?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 min and aggr question [sample included] in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235343#M86606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2010 03:19:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-10T03:19:11Z</dc:date>
    <item>
      <title>min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235342#M86605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;P&gt;aggr(min(if(due &amp;gt; 0,due)),code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why doesnt this work?&lt;/P&gt;&lt;P&gt;i need there the code-value from the corresponding min(if(due &amp;gt; 0,due).&lt;/P&gt;&lt;P&gt;Gives me all '-' cause there are many answers ... while there only should be one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 00:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235342#M86605</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-10T00:44:49Z</dc:date>
    </item>
    <item>
      <title>min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235343#M86606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 03:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235343#M86606</guid>
      <dc:creator />
      <dc:date>2010-02-10T03:19:11Z</dc:date>
    </item>
    <item>
      <title>min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235344#M86607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;empty message scar .. did i miss anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 11:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235344#M86607</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-10T11:01:04Z</dc:date>
    </item>
    <item>
      <title>min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235345#M86608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 11:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235345#M86608</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-11T11:34:11Z</dc:date>
    </item>
    <item>
      <title>Re. :min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235346#M86609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amien,&lt;/P&gt;&lt;P&gt;That's not that it doesn't work. In fact, the '-' character here means that you have several values. Try the following expression and you'll see that I'm right.&lt;/P&gt;&lt;P&gt;= Concat( Aggr( Min( If( due &amp;gt; 0, due ) ), code ), ', ' )&lt;/P&gt;&lt;P&gt;Here, I just concatenated the list returned by your expression.&lt;/P&gt;&lt;P&gt;I hope that'll answer your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Franck SEREGAZA&lt;/P&gt;&lt;P&gt;Business &amp;amp; Decision&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 11:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235346#M86609</guid>
      <dc:creator>fseregaza</dc:creator>
      <dc:date>2010-02-11T11:51:33Z</dc:date>
    </item>
    <item>
      <title>Re. :min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235347#M86610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Gives me all '-' cause there are many answers ... while there only should be one"&lt;/P&gt;&lt;P&gt;but then i have the wrong expression&lt;/P&gt;&lt;P&gt;cause i need the code (and that is only one) where min(if(due &amp;gt; 0,due)) is the lowest .. based on filenumber and value&lt;/P&gt;&lt;P&gt;so .. where min(if(due &amp;gt; 0,due)) is the lowest (within the same filenumber) .. i need that code .. and that can only be one&lt;/P&gt;&lt;P&gt;see attachment ..&lt;/P&gt;&lt;P&gt;on filenumber 1 .. and value = 200, due = 4 is the lowest&lt;/P&gt;&lt;P&gt;on filenumber 1... and value = 300 , due = 5 is the lowest&lt;/P&gt;&lt;P&gt;so, i need this output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1, 200, 4, 002&lt;/P&gt;&lt;P&gt;1, 300, 5, 002&lt;/P&gt;&lt;P&gt;1, 500, 4, 004&lt;/P&gt;&lt;P&gt;1, 100, 4 005&lt;/P&gt;&lt;P&gt;2, 100, 28, 202&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 14:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235347#M86610</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2010-02-11T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235348#M86611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Amien, I didn't correctly read your post. Try this one:&lt;/P&gt;&lt;P&gt;=concat({$&amp;lt;due={'$(=min(if(due&amp;gt;0, due)))'}&amp;gt;} distinct code, ', ')&lt;/P&gt;&lt;P&gt;It works with your current data, but what if you have more "due" values above 0. Try and tell me.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Franck SEREGAZA&lt;/P&gt;&lt;P&gt;Business &amp;amp; Decision&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 14:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235348#M86611</guid>
      <dc:creator>fseregaza</dc:creator>
      <dc:date>2010-02-11T14:55:29Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235349#M86612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't bother. It doesn't work (I just get too tired to see the right column). Sorry.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Franck SEREGAZA&lt;/P&gt;&lt;P&gt;Business &amp;amp; Decision&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 15:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235349#M86612</guid>
      <dc:creator>fseregaza</dc:creator>
      <dc:date>2010-02-11T15:03:40Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :min and aggr question [sample included]</title>
      <link>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235350#M86613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for keeping you waiting, but I've finally found out the solution to your problem. Use the "FirstSortedValue" function:&lt;/P&gt;&lt;P&gt;=FirstSortedValue(code, if(due&amp;gt;0, due))&lt;/P&gt;&lt;P&gt;I'm pretty sure, but if I'm wrong, keep me informed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Franck SEREGAZA&lt;/P&gt;&lt;P&gt;Business &amp;amp; Decision&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2010 15:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-and-aggr-question-sample-included/m-p/235350#M86613</guid>
      <dc:creator>fseregaza</dc:creator>
      <dc:date>2010-02-11T15:35:26Z</dc:date>
    </item>
  </channel>
</rss>

