<?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/MAX for sparkline in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424153#M458812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The chart dimension is Event. The dimension for the sparkline is QuarterEndDt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2017 20:17:13 GMT</pubDate>
    <dc:creator>kmstephenson</dc:creator>
    <dc:date>2017-12-04T20:17:13Z</dc:date>
    <item>
      <title>MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424149#M458808</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 would like to add expressions on my straight table to measure the minimum and maximum value displayed in the sparkline mini chart on the table. This is the expression used for sparkline:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EndDt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QuarterEndDt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={''}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KeyPatEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EndDt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QuarterEndDt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={''}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KeyPatEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Dimension used: QuarterEndDt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;EndDt is set to Always One Selected Value in this application which is why it is ignored in Set Analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What code should I use to calculated a minimum and maximum value for this sparkline?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 18:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424149#M458808</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-04T18:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424150#M458809</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;Min({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd), QuarterEndDt))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd), QuarterEndDt))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 19:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424150#M458809</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-04T19:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424151#M458810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response, Sunny! It doesn't appear to calculate correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, I want the values of both the minimum and maximum % for each row (value in dimension Events). Also, the values that are displayed for one row using the code above are not calculated correctly. The maximum is closer to 4% and the minimum lower.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SparklineTest.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/185657_SparklineTest.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424151#M458810</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-04T20:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424152#M458811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the chart dimension? What is the dimension for the sparkline?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424152#M458811</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-04T20:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424153#M458812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The chart dimension is Event. The dimension for the sparkline is QuarterEndDt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424153#M458812</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-04T20:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424154#M458813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd), QuarterEndDt, &lt;SPAN style="color: #ff0000;"&gt;Event&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Min({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd), QuarterEndDt, &lt;SPAN style="color: #ff0000;"&gt;Event&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424154#M458813</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-04T20:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424155#M458814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That now populates minimums and maximums for every row, but the values are all too low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SparklineTest.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/185658_SparklineTest.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424155#M458814</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-04T20:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424156#M458815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424156#M458815</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-04T20:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424157#M458816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to determine that the denominator was being incorrectly calculated and it looks like all that was missing was this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT &lt;STRONG&gt;{&amp;lt;Event&amp;gt;}&lt;/STRONG&gt;KeyPatEnd), Event,QuarterEndDt))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424157#M458816</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-04T20:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424158#M458817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny - another couple related questions you might be able to help with as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) What does QlikView do if more than one value is equal to the minimum or maximum? Will it highlight the most recent one on the sparkline? Or the first one? Or Both?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) The above code works for finding the Minimum % and Maximum %. What if I want to return the date value (QuarterEndDt) for the minimum and maximum %? This question partly relates to question (1) because I would need to know which date would be returned if there are more than one minimum or maximum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 14:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424158#M458817</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-05T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424159#M458818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that you are now talking about the sparklines themselves? or is it still related to the two new expressions? What is the expression you are using to determine the highlighting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 14:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424159#M458818</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-05T14:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424160#M458819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, question (1) is the sparkline itself. In Mini Chart Settings I have Highlight Max Value With Color and Highlight Min Value With Color both selected. What does QlikView do if there are two maximums or minimums? Highlight both? Or choose first or last?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I know this, I want to leverage the code above to create 2 additional columns on the table. In addition to Minimum % and Maximum %, I want to create Minimum Quarterly Rolling Year and Maximum Quarterly Rolling Year to display QuarterEndDt associated with those minimum and maximum values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 19:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424160#M458819</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-05T19:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424161#M458820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally, it should highlight both, but I am not sure what expression you are using to give you the right answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 00:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424161#M458820</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-06T00:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424162#M458821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sunny! Also, how do I report the QuarterEndDt associated with these maximums and minimums:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT &lt;STRONG&gt;{&amp;lt;Event&amp;gt;}&lt;/STRONG&gt;KeyPatEnd), Event,QuarterEndDt))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Min({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT &lt;STRONG&gt;{&amp;lt;Event&amp;gt;}&lt;/STRONG&gt;KeyPatEnd), Event,QuarterEndDt))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 14:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424162#M458821</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-07T14:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424163#M458822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Report the QuarterEndDt? I am not sure I follow.... I don't even know what are we exactly solving for... are we still on one issue or are these stems from one issue going into another one and then another one. You have me all confused now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 14:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424163#M458822</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-07T14:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424164#M458823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry! It's another issue. With your help, I was able to find that the answer to my question originally posted was shown below. These accurately display the correct Minimum % and Maximum % of the highlighted values on the sparkline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT &lt;STRONG&gt;{&amp;lt;Event&amp;gt;}&lt;/STRONG&gt;KeyPatEnd), Event,QuarterEndDt))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Min({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT &lt;STRONG&gt;{&amp;lt;Event&amp;gt;}&lt;/STRONG&gt;KeyPatEnd), Event,QuarterEndDt))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to this, I was hoping to have 2 additional columns that display the QuarterEndDt of the Minimum&amp;nbsp; % and Maximum % (i.e. which QuarterEndDt is highlighted as the Minimum and Maximum on the sparkline). This is related to the first question, only instead of showing the % of the minimum and maximum, I want to see the QuarterEndDt of the minimum and maximum. Does this make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 15:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424164#M458823</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-07T15:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424165#M458824</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;EndDt,QuarterEndDt-={''}&amp;gt;} QuarterEndDt, -Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT &lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Event&amp;gt;}&lt;/SPAN&gt; KeyPatEnd), Event,QuarterEndDt))&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;STRONG style="font-size: 13.3333px;"&gt;FirstSortedValue({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} QuarterEndDt, Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT &lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;Event&amp;gt;}&lt;/SPAN&gt; KeyPatEnd), Event,QuarterEndDt))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know what the red highlighted part is used for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 19:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424165#M458824</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-08T19:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: MIN/MAX for sparkline</title>
      <link>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424166#M458825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tested this and this is perfect! Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 17:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MIN-MAX-for-sparkline/m-p/1424166#M458825</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2017-12-19T17:26:05Z</dc:date>
    </item>
  </channel>
</rss>

