<?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: Trendline Week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194805#M385512</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;Volume), 0, 6)) &lt;SPAN style="color: #ff0000;"&gt;* Avg(1)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2016 11:35:09 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-13T11:35:09Z</dc:date>
    <item>
      <title>Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194800#M385507</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 make charge with a trendLine.&lt;/P&gt;&lt;P&gt;We have a dashboard with volumes petrol from fuelstations by day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the volume in a weekend is less then a weekdayvolume. We would like to see&amp;nbsp; a volume by day. But the volume in the graph would be the volume + the volume of the previous 6 days (so we have one week). Can I do this in the chart?&lt;/P&gt;&lt;P&gt;Or do I have to do this in the script?&lt;/P&gt;&lt;P&gt;The volume for the 10th of setptember in the graph should be the volume from 4 + 5 + 6 + 7+ 8 + 9 +10th of september.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 08:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194800#M385507</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2016-10-13T08:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194801#M385508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(Sum(Volume), 0, 6))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 09:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194801#M385508</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T09:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194802#M385509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One solution is to make a special "rolling" 7 days dimension pointing to you calendar. In this "rolling 7 days"-table you will for each "rolling 7 date" have 7 rows of each &lt;SPAN style="font-size: 13.3333px;"&gt;"rolling 7 date" &lt;/SPAN&gt;pointing to this date, the day before etc until 6 days before. Then you just switch your chart to having this new field as dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, Rolling 7 date&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-13, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-13&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-13&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-11, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-13&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-10, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-13&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-09, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-13&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-08, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-13&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-07, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-13&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-11, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-10, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-09, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-08, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-07, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-06, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2016-10-12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;//Johan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 10:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194802#M385509</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2016-10-13T10:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194803#M385510</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;thaks for both the responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created the trendvolume in the script.&lt;/P&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KeyTrend,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // where KeyTrend = Site_Id &amp;amp; Article&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DatumNum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(KeyTrend = Peek(KeyTrend), Peek(Volume) + Volume, Volume) as Volume2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(KeyTrend = Peek(KeyTrend), Peek(Volume2) + Volume, Volume) as Volume3,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(KeyTrend = Peek(KeyTrend), Peek(Volume3) + Volume, Volume) as Volume4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(KeyTrend = Peek(KeyTrend), Peek(Volume4) + Volume, Volume) as Volume5,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(KeyTrend = Peek(KeyTrend), Peek(Volume5) + Volume, Volume) as Volume6,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(KeyTrend = Peek(KeyTrend), Peek(Volume6) + Volume, Volume) as TrendVolume &lt;/P&gt;&lt;P&gt;resident TrendTemp1 order by KeyTrend, DatumNum;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 11:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194803#M385510</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2016-10-13T11:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194804#M385511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works but the first 6 days of a month it doesn't show the correct values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="trend.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140488_trend.JPG" style="height: 511px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 11:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194804#M385511</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2016-10-13T11:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194805#M385512</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(Sum(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;Volume), 0, 6)) &lt;SPAN style="color: #ff0000;"&gt;* Avg(1)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 11:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194805#M385512</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T11:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194806#M385513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, instead of using 1, you would need to ignore date related field because one will ignore all selections, but I am not sure what all date fields you have where you plan to make selections, but those are the ones I would ignore. You will still see the selected area in your chart because of the use of Avg(1) which will be 0 outside of the selection. RangeSum() will take place over all the data included the unselected dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 11:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194806#M385513</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T11:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194807#M385514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I ignore the date related field. QV count all the first days of each month, all the second days, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the result is not what I expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now calculated the trend in the script and this is working fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 13:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194807#M385514</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2016-10-13T13:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194808#M385515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't really know your setup, but if you want to take this route you can provide a sample to work with and I can look into it &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, 13 Oct 2016 13:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194808#M385515</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-13T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Trendline Week</title>
      <link>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194809#M385516</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;there might as well be an easier solution to your question using the chart integrated accumulation function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_236196_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140560_QlikCommunity_Thread_236196_Pic1.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_236196_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/140567_QlikCommunity_Thread_236196_Pic2.JPG" style="height: 406px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 20:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trendline-Week/m-p/1194809#M385516</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-10-13T20:27:41Z</dc:date>
    </item>
  </channel>
</rss>

