<?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: Generate monthly historical data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1676007#M723298</link>
    <description>&lt;P&gt;may be this helps,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Slowly-Changing-Dimensions/ba-p/1464187" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Slowly-Changing-Dimensions/ba-p/1464187&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2020 23:08:22 GMT</pubDate>
    <dc:creator>skiruthigadevi</dc:creator>
    <dc:date>2020-02-15T23:08:22Z</dc:date>
    <item>
      <title>Generate monthly historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1675881#M723296</link>
      <description>&lt;P&gt;Hello, I have this data table&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Tab 01.png" style="width: 264px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28457iB34D0D0BD4F3A8FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tab 01.png" alt="Tab 01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to generate monthly data observing the occupation change date, how to do it in the script so that I have this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tab 02.png" style="width: 389px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28459i6819C420D93BC6D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="tab 02.png" alt="tab 02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1675881#M723296</guid>
      <dc:creator>rogeriobarbosa</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Generate monthly historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1676003#M723297</link>
      <description>&lt;P&gt;can he have more than two occupations? or always 2 as in the example&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 22:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1676003#M723297</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-02-15T22:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Generate monthly historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1676007#M723298</link>
      <description>&lt;P&gt;may be this helps,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Slowly-Changing-Dimensions/ba-p/1464187" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Slowly-Changing-Dimensions/ba-p/1464187&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 23:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1676007#M723298</guid>
      <dc:creator>skiruthigadevi</dc:creator>
      <dc:date>2020-02-15T23:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generate monthly historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1676352#M723299</link>
      <description>&lt;P&gt;Base:&lt;BR /&gt;LOAD&lt;BR /&gt;Name,&lt;BR /&gt;Occupation,&lt;BR /&gt;Change_Date as End,&lt;BR /&gt;date(if(Name=peek(Name),previous(Change_Date),yearstart(Change_Date))) as Start&lt;BR /&gt;;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Name, Occupation, Change_Date&lt;BR /&gt;Jhon, Programmer, 01/03/2019&lt;BR /&gt;Jhon, Program Analyst, 15/06/2019&lt;BR /&gt;Jhon, Manager, 10/08/2019&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Base_1:&lt;BR /&gt;Load&lt;BR /&gt;*,&lt;BR /&gt;date((Start +iterno()-1)) as Date&lt;BR /&gt;Resident Base&lt;BR /&gt;While Start +iterno()-1 &amp;lt; End;&lt;/P&gt;&lt;P&gt;drop table Base;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 17:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-monthly-historical-data/m-p/1676352#M723299</guid>
      <dc:creator>otaviofs</dc:creator>
      <dc:date>2020-02-17T17:23:39Z</dc:date>
    </item>
  </channel>
</rss>

