<?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, aggr function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/min-aggr-function/m-p/556942#M1135248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to achieve max month/selected month Avg score as text on trellis line chart for Min 3 providers. The expression I wrote is working fine month &amp;amp;Region selections but when I Sub-Region its not.&lt;/P&gt;&lt;P&gt;Am using Aggr, Min(Expr, Rank) functions.under presentation--&amp;gt;test in chart.&lt;/P&gt;&lt;P&gt;Ex: =NUM(Min(Aggr(Avg({$&amp;lt; MonthYear={"$(=Max(MonthYear))"},DQC_DATA_PROVIDER={"*"}&amp;gt;}OVERALL_PCT)/100, DQC_DATA_PROVIDER), 2), '####.##%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advnace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2013 21:15:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-14T21:15:19Z</dc:date>
    <item>
      <title>min, aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/min-aggr-function/m-p/556942#M1135248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to achieve max month/selected month Avg score as text on trellis line chart for Min 3 providers. The expression I wrote is working fine month &amp;amp;Region selections but when I Sub-Region its not.&lt;/P&gt;&lt;P&gt;Am using Aggr, Min(Expr, Rank) functions.under presentation--&amp;gt;test in chart.&lt;/P&gt;&lt;P&gt;Ex: =NUM(Min(Aggr(Avg({$&amp;lt; MonthYear={"$(=Max(MonthYear))"},DQC_DATA_PROVIDER={"*"}&amp;gt;}OVERALL_PCT)/100, DQC_DATA_PROVIDER), 2), '####.##%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advnace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 21:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-aggr-function/m-p/556942#M1135248</guid>
      <dc:creator />
      <dc:date>2013-10-14T21:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: min, aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/min-aggr-function/m-p/556943#M1135249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is indeed odd.&amp;nbsp; What is strange is that you are using min values 2, 3 and 4 to get your Reference Points.&amp;nbsp; I would say it is only when you select CA that these return the right values.&amp;nbsp; In all other cases min 1 and 2 return the same values.&amp;nbsp; The only thing I can assume is that rogue rows are being created by the AGGR function - but I can't see why that would be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way you can simplify your data model and get it working like that before bringing in more associations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 23:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-aggr-function/m-p/556943#M1135249</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2013-10-14T23:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: min, aggr function</title>
      <link>https://community.qlik.com/t5/QlikView/min-aggr-function/m-p/556944#M1135250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your MonthYear a text field or date (numeric)?&lt;/P&gt;&lt;P&gt;You may run into some problems if you are comparing numeric with text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Also&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date(addmonths(Max(MonthYear), -5), 'MMM YY')) &amp;lt;=$(=Date(addmonths(Max(MonthYear), 0),&amp;nbsp; 'MMM YY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;may cause problems because you are searching for what precedes what in string values and "Dec 12" is less than "Jan 12" in string comparison&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 00:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/min-aggr-function/m-p/556944#M1135250</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2013-10-15T00:02:27Z</dc:date>
    </item>
  </channel>
</rss>

