<?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 Bar chart piled based in date range filter and previous years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart-piled-based-in-date-range-filter-and-previous-years/m-p/1428003#M429879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi everyone,&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I'm trying to get this one and can't think of a way. After several days trying I'm finally asking for advise here.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;What I'm trying to acomplish is as followed:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Once user Filters a date range (i.e: 01/04/2013 - 01/04/2014)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;Getting values for the filtered dates:&lt;/STRONG&gt; date={"&amp;gt;=$(=DATE(Min(fec)))&amp;lt;=$(=DATE(Max(fec)))"}&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;Same period for the previous year:&lt;/STRONG&gt; date={"&amp;gt;=$(=DATE(AddYears(Min(fec),-1)))&amp;lt;=$(=DATE(AddYears(Max(fec),-1)))"}&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;As well as for same period two years prior:&lt;/STRONG&gt; date={"&amp;gt;=$(=DATE(AddYears(Min(fec),-2)))&amp;lt;=$(=DATE(AddYears(Max(fec),-2)))"}&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Using as dimension: year(date)&lt;/P&gt;&lt;P style="text-align: left;"&gt;I get as followed, what I would like to achieve is piled for each of 3 ranges&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="180827" alt="range_date_dimension.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180827_range_date_dimension.png" style="height: 287px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks in advance to anyone that can shed some light here!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2017 07:21:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-25T07:21:58Z</dc:date>
    <item>
      <title>Bar chart piled based in date range filter and previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-piled-based-in-date-range-filter-and-previous-years/m-p/1428003#M429879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi everyone,&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I'm trying to get this one and can't think of a way. After several days trying I'm finally asking for advise here.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;What I'm trying to acomplish is as followed:&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Once user Filters a date range (i.e: 01/04/2013 - 01/04/2014)&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;Getting values for the filtered dates:&lt;/STRONG&gt; date={"&amp;gt;=$(=DATE(Min(fec)))&amp;lt;=$(=DATE(Max(fec)))"}&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;Same period for the previous year:&lt;/STRONG&gt; date={"&amp;gt;=$(=DATE(AddYears(Min(fec),-1)))&amp;lt;=$(=DATE(AddYears(Max(fec),-1)))"}&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG&gt;As well as for same period two years prior:&lt;/STRONG&gt; date={"&amp;gt;=$(=DATE(AddYears(Min(fec),-2)))&amp;lt;=$(=DATE(AddYears(Max(fec),-2)))"}&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Using as dimension: year(date)&lt;/P&gt;&lt;P style="text-align: left;"&gt;I get as followed, what I would like to achieve is piled for each of 3 ranges&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="180827" alt="range_date_dimension.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180827_range_date_dimension.png" style="height: 287px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thanks in advance to anyone that can shed some light here!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 07:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-piled-based-in-date-range-filter-and-previous-years/m-p/1428003#M429879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-25T07:21:58Z</dc:date>
    </item>
  </channel>
</rss>

