<?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: Help adding information to Rolling 12 data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201891#M386897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you only looking to add year to your date field? I think it would be very helpful if you can share some sample data to understand what you have and what you are looking to get&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2016 10:05:52 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-05T10:05:52Z</dc:date>
    <item>
      <title>Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201890#M386896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have data that we download that is already in Rolling 12 form - from a system with a code-base of 1977&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the data we get a Beginning Balance with date and Ending balance with Date.&lt;/LI&gt;&lt;LI&gt;All the inventory transactions in between beg/end just have Month and Day of transaction but not Year.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY PROBLEM:&lt;/P&gt;&lt;P&gt;We want to analyze inventory in point in time slices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my Ending Date is 10/4/16 then rolling 12 Beginning Date is 10/5/15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is data on 10/22 then the year is 2015&lt;/P&gt;&lt;P&gt;If there is data on 10/3 then the year is 2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a method to add the year to my transaction rows and am struggling to think through how to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 05:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201890#M386896</guid>
      <dc:creator />
      <dc:date>2016-10-05T05:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201891#M386897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you only looking to add year to your date field? I think it would be very helpful if you can share some sample data to understand what you have and what you are looking to get&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 10:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201891#M386897</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T10:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201892#M386898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create variables for Ending Date and Beginning date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And create an expression in the chart object like below with &lt;STRONG&gt;MonthName(Datefield)&lt;/STRONG&gt; as dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;DateField={"&amp;gt;=$(=Date($(vBeginDate),'MM/DD/YY')) &amp;lt;=$(=Date($(vEndDate),'MM/DD/YY'))"}&amp;gt;}[Volume Total]).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will automatically display rolling 12 months data based on the dates provided in the Set analysis variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 10:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201892#M386898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T10:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201893#M386899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry - had to do some scrubbing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201893#M386899</guid>
      <dc:creator />
      <dc:date>2016-10-05T18:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201894#M386900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry - had to scrub and it was late - see attached below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201894#M386900</guid>
      <dc:creator />
      <dc:date>2016-10-05T18:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201895#M386901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - the goal is to get to this point.&amp;nbsp;&amp;nbsp; See attached example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201895#M386901</guid>
      <dc:creator />
      <dc:date>2016-10-05T18:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201896#M386902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Roller:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Match(TypeSort,'BEG','END'), Left(TransactionDate,2)&amp;amp;'/'&amp;amp;Mid(TransactionDate,3,2)&amp;amp;'/20'&amp;amp;Right(TransactionDate,2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;MonthNo &amp;amp; '/'&amp;amp;Day &amp;amp; '/' &amp;amp; If(MakeDate(Year(Today()), MonthNo, Day) &amp;lt;= Today(1), Year(Today()), Year(Today())-1)&lt;/SPAN&gt;) as TranDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident R12Temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201896#M386902</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T18:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201897#M386903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed to your formula and it works perfectly except a minor tweek.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our system is a batch system, so Today() is really 2015 in the Rolling 12.&amp;nbsp;&amp;nbsp; Today won't be 10/5 until we run close this evening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201897#M386903</guid>
      <dc:creator />
      <dc:date>2016-10-05T21:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201898#M386904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201898#M386904</guid>
      <dc:creator />
      <dc:date>2016-10-05T21:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201899#M386905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So instead of less than equal to, you might have just used less than Today(1), right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201899#M386905</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T21:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201900#M386906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Roller:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Match(TypeSort,'BEG','END'), Left(TransactionDate,2)&amp;amp;'/'&amp;amp;Mid(TransactionDate,3,2)&amp;amp;'/20'&amp;amp;Right(TransactionDate,2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; MonthNo &amp;amp; '/'&amp;amp;Day &amp;amp; '/' &amp;amp; If(MakeDate(Year(Today()), MonthNo, Day) &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;&amp;lt;&lt;/SPAN&gt; Today(1), Year(Today()), Year(Today())-1)) as TranDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident R12Temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201900#M386906</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-05T21:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help adding information to Rolling 12 data</title>
      <link>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201901#M386907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duh.....that would be too easy....&amp;nbsp;&amp;nbsp; thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-adding-information-to-Rolling-12-data/m-p/1201901#M386907</guid>
      <dc:creator />
      <dc:date>2016-10-05T21:24:11Z</dc:date>
    </item>
  </channel>
</rss>

