<?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: Select a date range in Qlikview? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-a-date-range-in-Qlikview/m-p/1340965#M413093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean that you want want to aggregate data in a QuarterToDate timeline where ToDate is the last day of the selected month (or the most recent month if your calendar allows multiple selecitons)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's assume that you have a calendar with a field CalendarDate, then you can try adding someting like this to your set expression (in both sum() calculations):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;{ ... CalendarDate={'&amp;gt;=$(=QuarterStart(Max(CalendarDate)))&amp;lt;=$(=MonthEnd(Max(CalendarDate)))'}, ...}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 May 2017 17:16:13 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2017-05-14T17:16:13Z</dc:date>
    <item>
      <title>Select a date range in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-date-range-in-Qlikview/m-p/1340964#M413092</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;I have the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;DocType={'A'}&amp;gt;}&amp;nbsp; Value1)*-1&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;sum({&amp;lt;DocType={'A'}&amp;gt;}&amp;nbsp; Value2)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Data from Jan 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have &lt;STRONG&gt;Date&lt;/STRONG&gt; field in my table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to show the above expression in KPI&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have given the user to select Month,Year,Quarter &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What i want is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;for example :- I the user selects &lt;STRONG&gt;Year=2016 and Quarter =Q1 and Month =Feb&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So the value in KPI should show Value for the date range form &lt;STRONG&gt;1 Jan 2013 to 28 Feb 2016 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Note:- i do not have access to the data load editor &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 18:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-date-range-in-Qlikview/m-p/1340964#M413092</guid>
      <dc:creator>gauravgg</dc:creator>
      <dc:date>2017-05-13T18:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select a date range in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-date-range-in-Qlikview/m-p/1340965#M413093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean that you want want to aggregate data in a QuarterToDate timeline where ToDate is the last day of the selected month (or the most recent month if your calendar allows multiple selecitons)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's assume that you have a calendar with a field CalendarDate, then you can try adding someting like this to your set expression (in both sum() calculations):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;{ ... CalendarDate={'&amp;gt;=$(=QuarterStart(Max(CalendarDate)))&amp;lt;=$(=MonthEnd(Max(CalendarDate)))'}, ...}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 May 2017 17:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-date-range-in-Qlikview/m-p/1340965#M413093</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-05-14T17:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select a date range in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/Select-a-date-range-in-Qlikview/m-p/1340966#M413094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two additions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) It seems you want to only filter the date range up to the selected month end (i.e. don't define the lower limit of the range). Hence just remove the lower limit from the numeric search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If the user can make active selections in calendar fields, like Month, Year, Quarter, you need to ignore selections in these fields to avoid incompatible sets (if you are using set identifier $):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{$&amp;lt; CalendarDate={&lt;STRONG&gt;"&amp;lt;=$(=MonthEnd(Max(CalendarDate)))"&lt;/STRONG&gt;}, &lt;STRONG&gt;Year=, Quarter=, Month=&lt;/STRONG&gt;&amp;gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also&lt;/P&gt;&lt;P&gt;&lt;A href="http://aftersync.com/blog/the-magic-of-set-analysis-point-in-time-reporting" title="http://aftersync.com/blog/the-magic-of-set-analysis-point-in-time-reporting"&gt;The Magic of Set Analysis - Point In Time Reporting • Blog • AfterSync&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 May 2017 17:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-a-date-range-in-Qlikview/m-p/1340966#M413094</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-14T17:22:09Z</dc:date>
    </item>
  </channel>
</rss>

