<?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: Trending with Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825759#M290836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Happy to write a helpful answer. &lt;BR /&gt;Cheers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Dec 2014 10:29:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-14T10:29:10Z</dc:date>
    <item>
      <title>Trending with Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825753#M290830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to trend a growth rate fact with a time dimension, MonthYear.&amp;nbsp; The growth rate is calculated as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[current month prescriptions]/[previous month prescription] - 1 and formatted as a percentage.&amp;nbsp; To test the calculation, i have created a text object which yields the following value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2014-12-14 at 10.09.47.png" class="image-1 jive-image" src="/legacyfs/online/73426_Screen Shot 2014-12-14 at 10.09.47.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;However when i try to trend the growth rate in a line chart over the MonthYear dimension, only one point is displayed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2014-12-14 at 10.09.34.png" class="jive-image image-2" src="/legacyfs/online/73439_Screen Shot 2014-12-14 at 10.09.34.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The value displayed is for only one point which is the last MonthYear equivalent.&amp;nbsp; Can you assist in resolving this problem.&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;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 09:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825753#M290830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-14T09:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trending with Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825754#M290831</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;Could you please post an example QlikView file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 09:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825754#M290831</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2014-12-14T09:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trending with Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825755#M290832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen where the problem is.&amp;nbsp; My expression for calculating 'Previous Month' has errors.&amp;nbsp; I tested it out by constructing the following straight table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2014-12-14 at 11.57.57.png" class="image-1 jive-image" src="/legacyfs/online/73440_Screen Shot 2014-12-14 at 11.57.57.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The expression for 'Current Month' is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(Distinct [Script Number])&lt;/P&gt;&lt;P&gt;I tried the following for previous month which is yielding the above result:&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0433ff;"&gt;Count&lt;/SPAN&gt;(${&amp;lt;Month = &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(=max(Month)-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;}Distinct&lt;SPAN style="color: #941100;"&gt;[Script Number]&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;Can you assist?&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;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 10:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825755#M290832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-14T10:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trending with Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825756#M290833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this :&lt;/P&gt;&lt;P&gt;=sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;prescriptions&lt;/SPAN&gt;)/above(sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;prescriptions&lt;/SPAN&gt;))-1 in the chart and you will get what you need. And of course check the percentage box&lt;/P&gt;&lt;P&gt;Cheers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 10:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825756#M290833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-14T10:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Trending with Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825757#M290834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to figure is out with the following expression for the growth rate:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;=&lt;/SPAN&gt;count&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;DISTINCT&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #941100;"&gt;[Script Number]&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)/&lt;/SPAN&gt;Above&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;Count&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;DISTINCT&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #941100;"&gt;[Script Number]&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;))-1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the following result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2014-12-14 at 12.24.02.png" class="image-1 jive-image" src="/legacyfs/online/73441_Screen Shot 2014-12-14 at 12.24.02.png" style="height: 213px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thank you all&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;Chris&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 10:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825757#M290834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-14T10:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trending with Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825758#M290835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Utkarsh, that is the right approach, i had managed to figure it out when i got your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 10:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825758#M290835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-14T10:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trending with Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825759#M290836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Happy to write a helpful answer. &lt;BR /&gt;Cheers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 10:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-with-Line-Chart/m-p/825759#M290836</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-14T10:29:10Z</dc:date>
    </item>
  </channel>
</rss>

