<?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: Creating Year field in forecast data based on Period no. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56049#M774606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 May 2018 12:54:29 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-18T12:54:29Z</dc:date>
    <item>
      <title>Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56042#M774598</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 some forecast data which is based on a rolling 13 period. I need to get the year created in the data too but it needs to change based on the period no. &lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the current year is 18 (i have a field stating the current year) and the current period is 12 (again i have a field for this too)&lt;/P&gt;&lt;P&gt;then Id want 1812 applied to that row. &lt;/P&gt;&lt;P&gt;the same for period 13, it should be flagged as 1813.&lt;/P&gt;&lt;P&gt;but for period 1 - 11 id want the year to increment by 1, so it would show 1901, 1902, 1903, to 1911. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then when the next period starts, the new field would show..&lt;/P&gt;&lt;P&gt;1813&lt;/P&gt;&lt;P&gt;1901&lt;/P&gt;&lt;P&gt;1902&lt;/P&gt;&lt;P&gt;1903&lt;/P&gt;&lt;P&gt;1904&lt;/P&gt;&lt;P&gt;1905&lt;/P&gt;&lt;P&gt;to 1912&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help please?&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/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56042#M774598</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56043#M774599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do we know if the current period is 12 in 2018?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 10:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56043#M774599</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-18T10:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56044#M774600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a field 'Current Year' which states 118 and there is another field 'Current period' which states 12. there is also a field in the calendar which states how many periods are in the current year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you mean? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 10:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56044#M774600</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-05-18T10:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56045#M774601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that make sense, but why is year 118, not 18 or 2018? Just curious&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 10:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56045#M774601</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-18T10:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56046#M774602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have asked this question myself and was unable to get an answer! maybe the century.. its a very old system they have. &lt;/P&gt;&lt;P&gt;I will just strip out the leading 1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 10:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56046#M774602</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-05-18T10:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56047#M774603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202755_Capture.PNG" style="height: 249px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 11:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56047#M774603</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-18T11:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56048#M774605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's great, thanks again Sunny!&lt;/P&gt;&lt;P&gt;I've changed it slightly as the current period (12) was showing as 201912 when it should be 201812, so ive changed the IF statement to be &amp;gt;=. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 12:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56048#M774605</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-05-18T12:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56049#M774606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 12:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56049#M774606</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-18T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Year field in forecast data based on Period no.</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56050#M774609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep posted for something else! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 12:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Year-field-in-forecast-data-based-on-Period-no/m-p/56050#M774609</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2018-05-18T12:55:27Z</dc:date>
    </item>
  </channel>
</rss>

