<?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 Historical comparison in line chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Historical-comparison-in-line-chart/m-p/461496#M1159734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I've got a table of EventIDs each with a corresponding StartDateTime. I'd like to have a line graph with the horizontal dimension as the week of the year (e.g. 12/3/2012, 12/10/2012 etc.) and one expression as the count of EventIDs during a given week with another expression as the average of the three weeks prior to the given week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've loaded the data 3 additional times, each time with an additional +1 week offset. This can't be the way to go. Any suggestions? Thank you! -Reid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm aggregating the event dates by week during a LOAD statement with&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13561173367605245" jivemacro_uid="_13561173367605245"&gt;&lt;P&gt;Dual(WeekStart(StartDateTime), Year(StartDateTime)*100+Week(StartDateTime)) as StartWeekYear,&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;and I'm giving the offset to the additional tables with&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13561175645865137" jivemacro_uid="_13561175645865137"&gt;&lt;P&gt;Dual(WeekStart(StartDateTime + 7), Year(StartDateTime + 7)*100+Week(StartDateTime + 7)) as StartWeekYear,&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2012 19:23:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-21T19:23:08Z</dc:date>
    <item>
      <title>Historical comparison in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Historical-comparison-in-line-chart/m-p/461496#M1159734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I've got a table of EventIDs each with a corresponding StartDateTime. I'd like to have a line graph with the horizontal dimension as the week of the year (e.g. 12/3/2012, 12/10/2012 etc.) and one expression as the count of EventIDs during a given week with another expression as the average of the three weeks prior to the given week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've loaded the data 3 additional times, each time with an additional +1 week offset. This can't be the way to go. Any suggestions? Thank you! -Reid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm aggregating the event dates by week during a LOAD statement with&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13561173367605245" jivemacro_uid="_13561173367605245"&gt;&lt;P&gt;Dual(WeekStart(StartDateTime), Year(StartDateTime)*100+Week(StartDateTime)) as StartWeekYear,&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;and I'm giving the offset to the additional tables with&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13561175645865137" jivemacro_uid="_13561175645865137"&gt;&lt;P&gt;Dual(WeekStart(StartDateTime + 7), Year(StartDateTime + 7)*100+Week(StartDateTime + 7)) as StartWeekYear,&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 19:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Historical-comparison-in-line-chart/m-p/461496#M1159734</guid>
      <dc:creator />
      <dc:date>2012-12-21T19:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Historical comparison in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Historical-comparison-in-line-chart/m-p/461497#M1159735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Accumulation would let me get a moving average, but I'd like to be able to use the average value within another expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 19:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Historical-comparison-in-line-chart/m-p/461497#M1159735</guid>
      <dc:creator />
      <dc:date>2012-12-21T19:28:42Z</dc:date>
    </item>
  </channel>
</rss>

