<?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: 12 Months Moving Min and Max for Moving Fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290196#M853555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script or in a front end chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Mar 2017 17:16:27 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-01T17:16:27Z</dc:date>
    <item>
      <title>12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290195#M853554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pretty simple database with 5 fields, RowNo, Date, 1 Year Ahead, 2 Years Ahead, and 3 Years Ahead fields:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Moving Fields 4.PNG" class="jive-image image-1" src="/legacyfs/online/154899_Moving Fields 4.PNG" style="height: 314px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I'm trying to figure out a 12 months min and max for a particular year - year that is in 1 Year Ahead Field.&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;&lt;SPAN style="font-size: 13.3333px;"&gt;F&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or example, on &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;February 1st, 2017&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;1 Year Ahead&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; field contains data for year &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;2018&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;. However, between January and December 2016, year 2018 data is contained in &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;2 Years Ahead&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; field.&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;&lt;SPAN style="font-size: 13.3333px;"&gt;Another example is &lt;STRONG&gt;November 1st, 2016&lt;/STRONG&gt;. Here 1 Year Ahead field contains data for year &lt;STRONG&gt;2017&lt;/STRONG&gt;. Using attached spreadsheet we can see that the 12 months min on November 1st, 2016 is &lt;STRONG&gt;4&lt;/STRONG&gt;.&lt;BR /&gt;&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;&lt;SPAN style="font-size: 13.3333px;"&gt;Does anyone know of a way to get QlikView to figure out a 12 months min for a given date?&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;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks,&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;&lt;SPAN style="font-size: 13.3333px;"&gt;Mikhail Bespartochnyy&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290195#M853554</guid>
      <dc:creator>mbespartochnyy</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: 12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290196#M853555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script or in a front end chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 17:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290196#M853555</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-01T17:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: 12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290197#M853556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I am still trying to figure out what you are trying to get here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 17:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290197#M853556</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-01T17:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: 12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290198#M853557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Preferrably in the script and I'm trying to figure out a 12 months min and max for a given date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Originally, database contained year fields. Data with dates from January 2016 through December 2016 stored values in fields 2017, 2018, and 2019. January, February, and March 2017 had no data populated in field named 2017, but had data for fields 2018, 2019, and 2020.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of having 6 fields (2015-2020), I moved them all into 3, 1 Year Ahead to 3 Years Ahead. Howeve, now using January 1st, 2016 through March 1st, 2017 date range as an exampl, the values for year 2018 were moved to 1 Year Ahead fiel but for dates from last year (Jan - Dec 2016), values from year 2018 are stored in 2 Years Ahead field which creates this problem of me having to reference either 1 or two fields to find a min for a year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290198#M853557</guid>
      <dc:creator>mbespartochnyy</dc:creator>
      <dc:date>2017-03-01T18:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: 12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290199#M853558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw your other thread (&lt;A href="https://community.qlik.com/thread/251524"&gt;Moving Fields 12 Months Max and Min&lt;/A&gt;) which actually shows the real raw data and also shows the actual complexity of what you are trying to do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will keep this in the back of my mind and will try to figure it out at a later time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290199#M853558</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-01T18:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: 12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290200#M853559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the original database. If it's easier to calculate 12 months min and max for the first available year for a given date in this format of the database, I'll take that as well. I've been hitting a wall with this for the last three days and still can't resolve it. I'm short of just creating a Min and Max fields in a spreadsheet and forgetting trying to write script and expressions to make this work in QlikView. Figured I'd reach out to the community to see if anyone has any suggestions before I turn to Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mikhail B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290200#M853559</guid>
      <dc:creator>mbespartochnyy</dc:creator>
      <dc:date>2017-03-01T18:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: 12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290201#M853560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While I will also try this out, but in the meantime I would suggest you to create the Min and Max field before you put them into your new bucket of 1 year ahead, 2 year ahead, and 3 year ahead....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290201#M853560</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-01T18:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: 12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290202#M853561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I figured I'd simplify it and see if anyone will try to solve this one instead and then I'll work through and translate the fix to the more complex problem. I'll appreciate any suggestion you may come up with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290202#M853561</guid>
      <dc:creator>mbespartochnyy</dc:creator>
      <dc:date>2017-03-01T18:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: 12 Months Moving Min and Max for Moving Fields</title>
      <link>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290203#M853562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the app with solution script for this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 18:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/12-Months-Moving-Min-and-Max-for-Moving-Fields/m-p/1290203#M853562</guid>
      <dc:creator>mbespartochnyy</dc:creator>
      <dc:date>2017-03-02T18:24:50Z</dc:date>
    </item>
  </channel>
</rss>

