<?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 Reference line in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reference-line-in-chart/m-p/223347#M75881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to have a reference line in my chart which would give previous years Ontime %average based on year selection. i.e if 2009 selected than 2008 average is given.&lt;/P&gt;&lt;P&gt;Ontime % is calculated per distinct Document Numbers received based on receive date selection.&lt;/P&gt;&lt;P&gt;I am able to show average as per the same year selection by the expression&lt;/P&gt;&lt;H4&gt;=-sum(aggr([Transit Time] &amp;gt;= ([Receipt Date] - [Ship Date]),[Doc. Number]))/count(distinct [Doc. Number]&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How Can i include previous year parametr within this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thansk for any help.&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2010 00:24:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-27T00:24:22Z</dc:date>
    <item>
      <title>Reference line in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-line-in-chart/m-p/223347#M75881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to have a reference line in my chart which would give previous years Ontime %average based on year selection. i.e if 2009 selected than 2008 average is given.&lt;/P&gt;&lt;P&gt;Ontime % is calculated per distinct Document Numbers received based on receive date selection.&lt;/P&gt;&lt;P&gt;I am able to show average as per the same year selection by the expression&lt;/P&gt;&lt;H4&gt;=-sum(aggr([Transit Time] &amp;gt;= ([Receipt Date] - [Ship Date]),[Doc. Number]))/count(distinct [Doc. Number]&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How Can i include previous year parametr within this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thansk for any help.&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 00:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-line-in-chart/m-p/223347#M75881</guid>
      <dc:creator />
      <dc:date>2010-01-27T00:24:22Z</dc:date>
    </item>
  </channel>
</rss>

