<?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: Selected Dates Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435705#M431321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.. Thank you so much...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't mind can you explain me the logic..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2017 07:30:08 GMT</pubDate>
    <dc:creator>bharatkishore</dc:creator>
    <dc:date>2017-10-26T07:30:08Z</dc:date>
    <item>
      <title>Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435698#M431314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date field from Jan 2014 to Sep 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate sum(consumption) from Oct 2015 to Sep 2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I need to calculate sum(consumption) from Oct 2016 to Sep 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how can i achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached app for more reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 06:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435698#M431314</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-26T06:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435699#M431315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In text boxes? Are these ranges static or you have some logic to decide upon the ranges?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 06:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435699#M431315</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-26T06:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435700#M431316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be based on the dates selection,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I have dates starting from Jan 2014 to Sep 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select Sep 2017 the first expression i.e. sum(consumption) should calculate last 11 months i.e. Oct 2016 to Sep 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;And in the second expression i.e. sum(consumption) should calculate last 11 months i.e. Oct 2015 to Sep 2016. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The same way if i select Aug 2017 date range should be Sep 2016 to Aug 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And second expression should be Sep 2015 to Aug 2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please let me know if you require anything more.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 06:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435700#M431316</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-26T06:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435701#M431317</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;You are saying your fiscal year starts from October and ends in September&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435701#M431317</guid>
      <dc:creator>poojashribanger</dc:creator>
      <dc:date>2017-10-26T07:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435702#M431318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You are saying your fiscal year starts from October and ends in September&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435702#M431318</guid>
      <dc:creator>poojashribanger</dc:creator>
      <dc:date>2017-10-26T07:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435703#M431319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Poojashri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not the fiscal year.. the calculation should be done based on last 11 months from what ever date i select..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435703#M431319</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-26T07:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435704#M431320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last year:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum({&amp;lt;Year, Month,[MonthYear]={"&amp;gt;=$(=MonthStart(Max(MonthYear),-&lt;STRONG&gt;11&lt;/STRONG&gt;)) &amp;lt;=$(=MonthStart(Max(MonthYear)))"}&amp;gt;}Consumption)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last to last year:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Year, Month,[MonthYear]={"&amp;gt;=$(=MonthStart(Max(MonthYear),-&lt;STRONG&gt;23)&lt;/STRONG&gt;) &amp;lt;=$(=MonthStart(Max(MonthYear),-&lt;STRONG&gt;11&lt;/STRONG&gt;))"}&amp;gt;}Consumption)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435704#M431320</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-26T07:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435705#M431321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.. Thank you so much...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't mind can you explain me the logic..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435705#M431321</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-26T07:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435706#M431322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am lazy and bad in explaining too (especially when it is non-verbal).&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt; However, if you could ask a specific portion of the expression you could not follow, I might give a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435706#M431322</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-26T07:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435707#M431323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please tell me why we have taken these Year, Month and Month Year and why month start and max(monthyear) and how to know what number to give like how you have given 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({&amp;lt;Year, Month,[MonthYear]={"&amp;gt;=$(=MonthStart(Max(MonthYear),-11))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435707#M431323</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-26T07:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435708#M431324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year, Month are taken to disregard the selection in those fields. I.e. the calculation would be only based on MonthYear field's reference (defined in the range expression). Max() is used to tell monthstart() where it should start from to go behind (11 months as you need). For better understanding you might want to learn more about set analysis. &lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435708#M431324</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-26T07:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Dates Range</title>
      <link>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435709#M431325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u so much .... thanks for ur time n patience for explaining and thank u so much once again..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 07:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selected-Dates-Range/m-p/1435709#M431325</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-26T07:48:54Z</dc:date>
    </item>
  </channel>
</rss>

