<?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 Need help for filters Data between two dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873458#M1003598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have three date fields like Year,StartDate,EndDate.&lt;/P&gt;&lt;P&gt;Year calendar year which is used as a Filter.I have also few other fields like Agent and Sales and Sale year.&lt;/P&gt;&lt;P&gt;Now my requirement is like when i select a year in filter it should fall in between start and end dates of that selected agent and i have to show the data which is from the selected year to end year of that particular agent.&lt;/P&gt;&lt;P&gt;for ex.agent a have start date like 01/01/2012 and end date is like 10/16/2014.first i will select an agent and after that,&lt;/P&gt;&lt;P&gt;if i select year in filter it should fall between 01/01/2012 and 10/06/2014.&lt;/P&gt;&lt;P&gt;and the data which have to display should be from selected year to end year.&lt;/P&gt;&lt;P&gt;If i select 2013 in Year filter,The agent StartDate is 2012 and EndDate is 2014.I want to Display the agent sales from selected year 2013 to end year 2014.If the selected year is not in between the startDate and EndDate&amp;nbsp; like 2011 then we should not show any data .&lt;/P&gt;&lt;P&gt;Tab1&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&amp;nbsp; StartYear, EndYear&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2011, 2015&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 2010, 2014&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 2009, 2013&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 2008, 2011&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 2012, 2014&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, 2014, 2015&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7,&amp;nbsp; 2007, 2010&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8,&amp;nbsp; 2006, 2014&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9,2003, 2015&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10,&amp;nbsp; 2005, 2010&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11, 2009, 2013&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Tab2:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;ID,Sales,SaleYear&lt;BR /&gt;1,100,2011&lt;BR /&gt;1,150,2012&lt;BR /&gt;1,200,2013&lt;BR /&gt;1,250,2014&lt;/P&gt;&lt;P&gt;2,120,2012&lt;/P&gt;&lt;P&gt;3,130,2013&lt;/P&gt;&lt;P&gt;2,150,2014&lt;/P&gt;&lt;P&gt;2,190,2015&lt;/P&gt;&lt;P&gt;2,200,2013&lt;/P&gt;&lt;P&gt;3,180,2014&lt;/P&gt;&lt;P&gt;3,300,2015&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LOAD StartYear as Year&lt;BR /&gt;Resident Tab1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help me It is an urgent requirement.I am unable to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2015 10:53:50 GMT</pubDate>
    <dc:creator>vishalgoud</dc:creator>
    <dc:date>2015-06-11T10:53:50Z</dc:date>
    <item>
      <title>Need help for filters Data between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873458#M1003598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have three date fields like Year,StartDate,EndDate.&lt;/P&gt;&lt;P&gt;Year calendar year which is used as a Filter.I have also few other fields like Agent and Sales and Sale year.&lt;/P&gt;&lt;P&gt;Now my requirement is like when i select a year in filter it should fall in between start and end dates of that selected agent and i have to show the data which is from the selected year to end year of that particular agent.&lt;/P&gt;&lt;P&gt;for ex.agent a have start date like 01/01/2012 and end date is like 10/16/2014.first i will select an agent and after that,&lt;/P&gt;&lt;P&gt;if i select year in filter it should fall between 01/01/2012 and 10/06/2014.&lt;/P&gt;&lt;P&gt;and the data which have to display should be from selected year to end year.&lt;/P&gt;&lt;P&gt;If i select 2013 in Year filter,The agent StartDate is 2012 and EndDate is 2014.I want to Display the agent sales from selected year 2013 to end year 2014.If the selected year is not in between the startDate and EndDate&amp;nbsp; like 2011 then we should not show any data .&lt;/P&gt;&lt;P&gt;Tab1&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&amp;nbsp; StartYear, EndYear&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2011, 2015&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 2010, 2014&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 2009, 2013&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 2008, 2011&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 2012, 2014&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, 2014, 2015&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7,&amp;nbsp; 2007, 2010&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8,&amp;nbsp; 2006, 2014&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9,2003, 2015&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10,&amp;nbsp; 2005, 2010&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11, 2009, 2013&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Tab2:&lt;BR /&gt;Load * Inline&lt;BR /&gt;[&lt;BR /&gt;ID,Sales,SaleYear&lt;BR /&gt;1,100,2011&lt;BR /&gt;1,150,2012&lt;BR /&gt;1,200,2013&lt;BR /&gt;1,250,2014&lt;/P&gt;&lt;P&gt;2,120,2012&lt;/P&gt;&lt;P&gt;3,130,2013&lt;/P&gt;&lt;P&gt;2,150,2014&lt;/P&gt;&lt;P&gt;2,190,2015&lt;/P&gt;&lt;P&gt;2,200,2013&lt;/P&gt;&lt;P&gt;3,180,2014&lt;/P&gt;&lt;P&gt;3,300,2015&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LOAD StartYear as Year&lt;BR /&gt;Resident Tab1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help me It is an urgent requirement.I am unable to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 10:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873458#M1003598</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2015-06-11T10:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for filters Data between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873459#M1003600</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;Try using interval match function in qv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 10:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873459#M1003600</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-06-11T10:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for filters Data between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873460#M1003602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushil kumar,&lt;/P&gt;&lt;P&gt;Please give me the Sample expression for this issue using intervalmatch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 11:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873460#M1003602</guid>
      <dc:creator>vishalgoud</dc:creator>
      <dc:date>2015-06-11T11:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for filters Data between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873461#M1003604</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ID,Sales,SaleYear&lt;/P&gt;&lt;P&gt;1,100,2011&lt;/P&gt;&lt;P&gt;1,150,2012&lt;/P&gt;&lt;P&gt;1,200,2013&lt;/P&gt;&lt;P&gt;1,250,2014&lt;/P&gt;&lt;P&gt;2,120,2012&lt;/P&gt;&lt;P&gt;3,130,2013&lt;/P&gt;&lt;P&gt;2,150,2014&lt;/P&gt;&lt;P&gt;2,190,2015&lt;/P&gt;&lt;P&gt;2,200,2013&lt;/P&gt;&lt;P&gt;3,180,2014&lt;/P&gt;&lt;P&gt;3,300,2015&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE &lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ID,&amp;nbsp; StartYear, EndYear&lt;/P&gt;&lt;P&gt;1, 2011, 2015&lt;/P&gt;&lt;P&gt;2, 2010, 2014&lt;/P&gt;&lt;P&gt;3, 2009, 2013&lt;/P&gt;&lt;P&gt;4, 2008, 2011&lt;/P&gt;&lt;P&gt;5, 2012, 2014&lt;/P&gt;&lt;P&gt;6, 2014, 2015&lt;/P&gt;&lt;P&gt;7,&amp;nbsp; 2007, 2010&lt;/P&gt;&lt;P&gt;8,&amp;nbsp; 2006, 2014&lt;/P&gt;&lt;P&gt;9,2003, 2015&lt;/P&gt;&lt;P&gt;10,&amp;nbsp; 2005, 2010&lt;/P&gt;&lt;P&gt;11, 2009, 2013&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join&lt;/P&gt;&lt;P&gt;IntervalMatch(SaleYear, ID)&lt;/P&gt;&lt;P&gt;LOAD StartYear, EndYear, ID Resident Tab2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join(Tab1)&lt;/P&gt;&lt;P&gt;LOAD * Resident Tab2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Tab2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 11:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-filters-Data-between-two-dates/m-p/873461#M1003604</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-06-11T11:16:35Z</dc:date>
    </item>
  </channel>
</rss>

