<?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: Date range when you select year from listbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-range-when-you-select-year-from-listbox/m-p/689943#M249804</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&lt;/P&gt;&lt;P&gt;If you are calculating Year at front end then&lt;/P&gt;&lt;P&gt;use below expression in text Obejct&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;StartDate={"&amp;gt;=$(=Date(max(StartDate)),'DD-MM-YYYY')"}&amp;gt;}Run)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you calculate Year At back end&lt;/P&gt;&lt;P&gt;then use below expression in text Obejct&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={"&amp;gt;=$(=max(Year))"}&amp;gt;}Run)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 08:44:41 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2014-10-09T08:44:41Z</dc:date>
    <item>
      <title>Date range when you select year from listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-when-you-select-year-from-listbox/m-p/689942#M249803</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 have a the following issue. The following data set is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 242px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="31"&gt;Run&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="66"&gt;Startdate&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="73"&gt;Enddate&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="72"&gt;Frequency&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1-1-2012&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;30-12-2013&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1-1-2013&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;11-2-2013&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="20" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;12-2-2013&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;15-6-2014&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I also have a Year listbox which is the Year(Startdate) function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="64"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;Year&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2014&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select year 2012 in the list box it shout give me run 1, 2 and 3 with a total of 7 (total of field Frequency). When I select year 2013 it should give me run 2 and 3 with a total of 5 (total of field Frequency).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is does now is when I select only the year which matches thus 2012 only 2012 is given which gives a total of 2 (total of field Frequency).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is how do I program Qlikview to get the whole data set corresponding to the year (Startdate) selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 08:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-when-you-select-year-from-listbox/m-p/689942#M249803</guid>
      <dc:creator>basaiuser</dc:creator>
      <dc:date>2014-10-09T08:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date range when you select year from listbox</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-when-you-select-year-from-listbox/m-p/689943#M249804</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&lt;/P&gt;&lt;P&gt;If you are calculating Year at front end then&lt;/P&gt;&lt;P&gt;use below expression in text Obejct&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;StartDate={"&amp;gt;=$(=Date(max(StartDate)),'DD-MM-YYYY')"}&amp;gt;}Run)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you calculate Year At back end&lt;/P&gt;&lt;P&gt;then use below expression in text Obejct&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={"&amp;gt;=$(=max(Year))"}&amp;gt;}Run)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 08:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-when-you-select-year-from-listbox/m-p/689943#M249804</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-10-09T08:44:41Z</dc:date>
    </item>
  </channel>
</rss>

