<?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 Sparkline Trending Issue - Example QVW Included in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/4999#M458656</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;The expression that I'm using for sparklines is incorrectly drawing the sparkline column of the table. When the numerator and denominator of this same expression is calculated using hardcoded dates in other columns of the table, these columns are correctly calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example for HCC Diabetes variable - the trend line in the sparkline is incorrectly depicted as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190962_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you'll see by the data in the INLINE load of the script, the correct trendline pattern is displayed by a line chart in the application and should look like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/190963_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice the data is pulled in at 2 levels so that multiple indicators can be displayed on same chart (i.e. multiple chronic conditions). This example application is simplified to only include 2 patients and 2 chronic conditions but the actual application contains many more patients and conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2018 21:24:18 GMT</pubDate>
    <dc:creator>kmstephenson</dc:creator>
    <dc:date>2018-01-22T21:24:18Z</dc:date>
    <item>
      <title>Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/4999#M458656</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;The expression that I'm using for sparklines is incorrectly drawing the sparkline column of the table. When the numerator and denominator of this same expression is calculated using hardcoded dates in other columns of the table, these columns are correctly calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached example for HCC Diabetes variable - the trend line in the sparkline is incorrectly depicted as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/190962_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you'll see by the data in the INLINE load of the script, the correct trendline pattern is displayed by a line chart in the application and should look like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/190963_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice the data is pulled in at 2 levels so that multiple indicators can be displayed on same chart (i.e. multiple chronic conditions). This example application is simplified to only include 2 patients and 2 chronic conditions but the actual application contains many more patients and conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 21:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/4999#M458656</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-01-22T21:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5000#M458657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What formula did you use to generate the correct line chart?&lt;/P&gt;&lt;P&gt;Using your sparkline formula and dimension in a line chart generates the same output as the sparkline as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 09:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5000#M458657</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2018-01-24T09:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5001#M458658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd)/COUNT(TOTAL &amp;lt;QuarterEndDt&amp;gt; {&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)&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/191198_Capture.PNG" style="height: 192px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 12:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5001#M458658</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-24T12:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5002#M458659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;What formula did you use to generate the correct line chart?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;then i will able to help you&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 12:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5002#M458659</guid>
      <dc:creator>arvind1494</dc:creator>
      <dc:date>2018-01-24T12:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5003#M458660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sunny! This worked on my dummied data above but when I tried this on my actual data, trend patterns were closer but I still noticed some differences in the charts. I put together a test_sparklines_v2 QVW with dummied data that the above code DOES NOT work on - I included additional columns to compare denominators with and without the update you sent. It appears as though this code doesn't work when one of the patients doesn't have any HCC condition (i.e. either CHF or Diabetes) in the specified time, because there is no row on HCCDim table for that KeyPatEnd. Is there any way around this? Obviously, the reason for using the separate dimension and fact tables is that I want to display all of the HCC conditions (Diabetes, CHF, plus many additional not included on dummy data) on the same charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5003#M458660</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-01-24T16:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5004#M458661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The line chart and straight table use data from a different structure (i.e. different variables). Here is the code in the script, showing the two table structures (but using the data values from the new QVW I posted as a response to Sunny's feedback below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PatientFACT:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeyPatEnd, EndDt, HCCDM, HCCCHF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201312, 2013-12-31, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201401, 2014-01-31, 1, 0 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201402, 2014-02-28, 1, 0 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201403, 2014-03-31, 1, 0 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201404, 2014-04-30, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201405, 2014-05-31, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201406, 2014-06-30, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201407, 2014-07-31, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201408, 2014-08-31, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201409, 2014-09-30, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201410, 2014-10-31, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201411, 2014-11-30, 1, 0 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201412, 2014-12-31, 1, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201406, 2014-06-30, 0, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201407, 2014-07-31, 0, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201408, 2014-08-31, 0, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201409, 2014-09-30, 0, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201410, 2014-10-31, 0, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201411, 2014-11-30, 0, 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201412, 2014-12-31, 0, 1&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HCCDim:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeyPatEnd, HCCCondition&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201312, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201401, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201402, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201403, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201404, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201405, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201406, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201407, Dibetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201408, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201409, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201410, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201411, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201412, Diabetes&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201412, CHF&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuarterEndDt:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndDt, QuarterEndDt&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013-12-31, 2013-12-31&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-03-31, 2014-03-31&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-06-30, 2014-06-30&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-09-30, 2014-09-30&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-12-31, 2014-12-31&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code used for the CORRECT line chart:&lt;BR /&gt;COUNT(DISTINCT {&amp;lt;EndDt, HCCDM*={1}&amp;gt;} KeyPatEnd)/COUNT({&amp;lt;EndDt&amp;gt;}DISTINCT KeyPatEnd)&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice, it is using the field from the PatientFACT table, i.e. the indicator for HCCDM. The reason why I wanted to create HCCDim separate table with one row per HCC indicators set to 1 is because I'd like to display all HCC condition indicators on the same charts (i.e. compare %s and trends for each condition).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5004#M458661</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-01-24T16:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5005#M458662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;The line chart and straight table use data from a different structure (i.e. different variables). Here is the code in the script, showing the two table structures (but using the data values from the new QVW I posted as a response to Sunny's feedback below)&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;PatientFACT:&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;LOAD * INLINE [&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeyPatEnd, EndDt, HCCDM, HCCCHF&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201312, 2013-12-31, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201401, 2014-01-31, 1, 0 &lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201402, 2014-02-28, 1, 0 &lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201403, 2014-03-31, 1, 0 &lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201404, 2014-04-30, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201405, 2014-05-31, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201406, 2014-06-30, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201407, 2014-07-31, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201408, 2014-08-31, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201409, 2014-09-30, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201410, 2014-10-31, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201411, 2014-11-30, 1, 0 &lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201412, 2014-12-31, 1, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201406, 2014-06-30, 0, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201407, 2014-07-31, 0, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201408, 2014-08-31, 0, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201409, 2014-09-30, 0, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201410, 2014-10-31, 0, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201411, 2014-11-30, 0, 0&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201412, 2014-12-31, 0, 1&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;];&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;HCCDim:&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;LOAD * INLINE [&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeyPatEnd, HCCCondition&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201312, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201401, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201402, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201403, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201404, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201405, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201406, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201407, Dibetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201408, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201409, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201410, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201411, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_201412, Diabetes&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_201412, CHF&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;];&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;QuarterEndDt:&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;LOAD * INLINE [&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndDt, QuarterEndDt&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013-12-31, 2013-12-31&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-03-31, 2014-03-31&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-06-30, 2014-06-30&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-09-30, 2014-09-30&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-12-31, 2014-12-31&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;Here is the code used for the CORRECT line chart:&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;COUNT(DISTINCT {&amp;lt;EndDt, HCCDM*={1}&amp;gt;} KeyPatEnd)/COUNT({&amp;lt;EndDt&amp;gt;}DISTINCT KeyPatEnd)&amp;nbsp; &lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;Notice, it is using the field from the PatientFACT table, i.e. the indicator for HCCDM. The reason why I wanted to create HCCDim separate table with one row per HCC indicators set to 1 is because I'd like to display all HCC condition indicators on the same charts (i.e. compare %s and trends for each condition). This is why I need to use HCCDim instead of PatientFACT for the sparkline straight table which contains all conditions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5005#M458662</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-01-24T16:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5006#M458663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd)/Only({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(NODISTINCT COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd), 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;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191235_Capture.PNG" style="height: 353px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5006#M458663</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-24T16:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5007#M458664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks really good. I'll validate and then mark as correct! Do you also know whether I'll need to update my code to calculate in columns the Minimum Quarterly Rolling Year, Minimum Quarterly RY Date, Maximum Quarterly RY, and Maximum Quarterly RY Date? You helped with these in a separate post but now that I have updated sparkline code, I'd like to create the same columns that display the minimum % highlighted in the sparkline, the associated date, and the maximum % highlighted in the sparkline, and the associated date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using this code before made the change to sparkline code:&lt;/P&gt;&lt;P&gt;Minimum Quarterly RY:&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;QuarterEndDt&amp;gt;{&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd), QuarterEndDt,"$(vDimensionConditionTrends)"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minimum Quarterly RY Date:&lt;/P&gt;&lt;P&gt;FirstSortedValue({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} QuarterEndDt, Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL &amp;lt;QuarterEndDt&amp;gt;{&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd), "$(vDimensionConditionTrends)",QuarterEndDt))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maximum Quarterly RY:&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;QuarterEndDt&amp;gt;{&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd), "$(vDimensionConditionTrends)",QuarterEndDt))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maximum Quarterly RY Date:&lt;/P&gt;&lt;P&gt;FirstSortedValue({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} QuarterEndDt, -Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/COUNT(TOTAL &amp;lt;QuarterEndDt&amp;gt;{&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd), "$(vDimensionConditionTrends)",QuarterEndDt))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much! Will validate and mark as correct!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 17:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5007#M458664</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-01-24T17:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5008#M458665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Minimum Quarterly RY Date:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FirstSortedValue({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} QuarterEndDt, Aggr(COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd)/&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Only({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(NODISTINCT COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd), QuarterEndDt))&lt;/STRONG&gt;, "$(vDimensionConditionTrends)",QuarterEndDt))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So essentially replace this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;COUNT(TOTAL &amp;lt;QuarterEndDt&amp;gt;{&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}DISTINCT KeyPatEnd)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;with this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Only({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(NODISTINCT COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd), QuarterEndDt))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;in all your expressions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 17:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5008#M458665</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-24T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5009#M458666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This results in missing values for all of these columns. I've added this code to the attached file - these columns are not populated. Any minor change I'll need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all of your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5009#M458666</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-01-24T18:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5010#M458667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Three problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You missed a closing parenthesis for Only() function&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Only({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(NODISTINCT COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd), QuarterEndDt)&lt;SPAN style="color: #ff0000; font-size: 18pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You have a variable which is not even created in the sample app... so I guess this is probably not going to be an issue for you&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;vDimensionConditionTrends&lt;/STRONG&gt; is not available&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) If there are more than one month with Max/Min value, what would you want to show? Randomly any? If Random is good, add DISTINCT after FirstSortedValue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191270_Capture.PNG" style="height: 239px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5010#M458667</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-24T18:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5011#M458668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahhh! Good catches! See my responses and fixes below!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;1) You missed a closing parenthesis for Only() function - &lt;STRONG style="text-decoration: underline;"&gt;&lt;EM&gt;DONE!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: bold; border-color: #3d3d3d; border-style: none;"&gt;Only({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;}Aggr(NODISTINCT COUNT({&amp;lt;EndDt,QuarterEndDt-={''}&amp;gt;} DISTINCT KeyPatEnd), QuarterEndDt)&lt;SPAN style="color: #ff0000; font-family: &amp;amp;font-size:24px; font-style: normal; font-weight: bold; border-color: #ff0000; border-style: none;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;2) You have a variable which is not even created in the sample app... so I guess this is probably not going to be an issue for you - &lt;STRONG style="text-decoration: underline;"&gt;&lt;EM&gt;Updated the sample app to use the appropriate field for the dummied data!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; border-color: #3d3d3d; border-style: none;"&gt;&lt;STRONG style="font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: bold; border-color: #3d3d3d; border-style: none;"&gt;vDimensionConditionTrends&lt;/STRONG&gt; is not available&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;3) If there are more than one month with Max/Min value, what would you want to show? Randomly any? If Random is good, add DISTINCT after FirstSortedValue. - &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;I would like to show the most recent date when there is more than one month with the min or max... how would I do this? See attached _v4.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5011#M458668</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-01-24T18:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5012#M458669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191271_Capture.PNG" style="height: 229px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5012#M458669</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-24T18:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sparkline Trending Issue - Example QVW Included</title>
      <link>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5013#M458670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is perfect! Thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sparkline-Trending-Issue-Example-QVW-Included/m-p/5013#M458670</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-01-24T18:57:35Z</dc:date>
    </item>
  </channel>
</rss>

