<?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: Calculate data from specific dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432125#M430636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will be using MonthYear only, since i will be using this field in various charts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that is why i will be using only MonthYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need anything else..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2017 13:14:30 GMT</pubDate>
    <dc:creator>bharatkishore</dc:creator>
    <dc:date>2017-10-25T13:14:30Z</dc:date>
    <item>
      <title>Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432113#M430624</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 data from 2014 Jan to 2019-Sep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to calculate data from 2015 - Jan to 2016 - Dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should not be hard-coded, and every year it should change automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&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>Wed, 25 Oct 2017 12:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432113#M430624</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-25T12:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432114#M430625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Elaborate more &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Do you have date fields in model &lt;/P&gt;&lt;P&gt;2. You need to load data&lt;/P&gt;&lt;P&gt;3. Or else you need to calculate data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 12:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432114#M430625</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-25T12:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432115#M430626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have date field below image for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180869_T.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I have data from Jan 2014 to Sep 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate sum(myfield) from Jan 2015 to Dec 2016. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you require anything more.&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>Wed, 25 Oct 2017 12:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432115#M430626</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-25T12:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432116#M430627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loading data from table try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;From Source Where&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Datefield &amp;lt;= &lt;/SPAN&gt;YearStart(AddYears( Max(Datefield), -3)) and&lt;/P&gt;&lt;P&gt;Datefield &amp;gt;= YearEnd(AddYears( Max(Order_Date), -2))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 12:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432116#M430627</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-25T12:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432117#M430628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your date is in string format or num format.&lt;/P&gt;&lt;P&gt;Or can you provide sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 12:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432117#M430628</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-25T12:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432118#M430629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA qvw for more understanding.&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>Wed, 25 Oct 2017 12:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432118#M430629</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-25T12:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432119#M430630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pfa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 12:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432119#M430630</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-25T12:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432120#M430631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Monthyear={ &amp;gt;=$ (=Yearstart(Monthyear),-3) &amp;lt;=&lt;SPAN style="font-size: 13.3333px;"&gt;$ (=Yearend(Monthyear),-1) &lt;/SPAN&gt;}&amp;gt;}Myfield)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 12:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432120#M430631</guid>
      <dc:creator>qlikview979</dc:creator>
      <dc:date>2017-10-25T12:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432121#M430632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expre:-&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Year={"&amp;gt;=$(=Max(Year)-1) &amp;lt;=$(=Max(Year))"},Month={"&amp;gt;=$(=Max(Month)-12) &amp;lt;=$(=Max(Month))"}&amp;gt;}SystemYr_sql)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 12:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432121#M430632</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-25T12:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432122#M430633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request you please find the attached file and there i have derived a new MonthYear field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this can we achieve and i need data from 2015 Jan to 2016 Dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your file it is Jan 2016 to Sep 2017.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you require anything more.&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>Wed, 25 Oct 2017 13:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432122#M430633</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-25T13:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432123#M430634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not required as you have Year and Month fields as well as so why you do with Month Year field. Is this required let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432123#M430634</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-25T13:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432124#M430635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also you dont have data for Dec 2017 in data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432124#M430635</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-25T13:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432125#M430636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will be using MonthYear only, since i will be using this field in various charts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that is why i will be using only MonthYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need anything else..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432125#M430636</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-25T13:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432126#M430637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No i need to calculate from Jan 2015 to Dec 2016 only not 2017 data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432126#M430637</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-25T13:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432127#M430638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will give you proper result then why go for new field and new field format gives you only MM/DD/YYYY date format then why go for that. You have to go for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output&lt;/P&gt;&lt;P&gt;&lt;IMG alt="OP11.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180885_OP11.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432127#M430638</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-25T13:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432128#M430639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anand..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure i will use this one, but the last thing is if we un-select the 2016 data then it default dates are changing.. i needed without selecting anything the dates are 2015 Jan to 2016 Dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for asking more.. but this is what i needed. Below image for reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180887_T.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Defaultly without selecting anything it should show from Jan 2015 to Dec 2016&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 13:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432128#M430639</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-25T13:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432129#M430640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then in formula use this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Year={"&amp;gt;=$(=Max(Year)-2) &amp;lt;=$(=Max(Year)-1)"},Month={"&amp;gt;=$(=Max(Month)-12) &amp;lt;=$(=Max(Month))"}&amp;gt;}SystemYr_sql)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432129#M430640</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-25T15:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate data from specific dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432130#M430641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 05:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-data-from-specific-dates/m-p/1432130#M430641</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-26T05:01:50Z</dc:date>
    </item>
  </channel>
</rss>

