<?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: data for previous months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/data-for-previous-months/m-p/1735856#M722975</link>
    <description>&lt;P&gt;&lt;SPAN&gt;alas, but the option with Join is not suitable, because data volume is about 13 million lines. I would like to solve the problem through measure&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Aug 2020 07:12:40 GMT</pubDate>
    <dc:creator>mechanix85</dc:creator>
    <dc:date>2020-08-14T07:12:40Z</dc:date>
    <item>
      <title>data for previous months</title>
      <link>https://community.qlik.com/t5/QlikView/data-for-previous-months/m-p/1735597#M722973</link>
      <description>&lt;P&gt;Hello. Is it possible to create a table with data for the previous month without filtering any fields? below table and expected result&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;year,month,Measure&lt;BR /&gt;2019,1,467&lt;BR /&gt;2019,2,462&lt;BR /&gt;2019,3,472&lt;BR /&gt;2019,4,473&lt;BR /&gt;2019,5,120&lt;BR /&gt;2019,6,126&lt;BR /&gt;2019,7,245&lt;BR /&gt;2019,8,177&lt;BR /&gt;2019,9,127&lt;BR /&gt;2019,10,102&lt;BR /&gt;2019,11,492&lt;BR /&gt;2019,12,471&lt;BR /&gt;2020,1,314&lt;BR /&gt;2020,2,310&lt;BR /&gt;2020,3,333&lt;BR /&gt;2020,4,184&lt;BR /&gt;2020,5,494&lt;BR /&gt;2020,6,474&lt;BR /&gt;2020,7,343&lt;BR /&gt;2020,8,80&lt;BR /&gt;2020,9,0&lt;BR /&gt;2020,10,0&lt;BR /&gt;2020,11,0&lt;BR /&gt;2020,12,0&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;the number of lines for each month is more than 1&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for 2019 the data must be null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Снимок.PNG" style="width: 421px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38977iA3D97AEAD3E5B435/image-size/large?v=v2&amp;amp;px=999" role="button" title="Снимок.PNG" alt="Снимок.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-for-previous-months/m-p/1735597#M722973</guid>
      <dc:creator>mechanix85</dc:creator>
      <dc:date>2024-11-16T00:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: data for previous months</title>
      <link>https://community.qlik.com/t5/QlikView/data-for-previous-months/m-p/1735850#M722974</link>
      <description>&lt;P&gt;Hi, having only two years you can use:&amp;nbsp;If(year=2020, Sum(TOTAL &amp;lt;month&amp;gt; {&amp;lt;year={2019}&amp;gt;} Measure))&lt;/P&gt;&lt;P&gt;Another option that can work for morre than 2 years can be adding another field to store data from last year, like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;OrigData:
LOAD * Inline...

// Add data for Last Year
Left Join (OrigData)
LOAD year+1 as year,
	month,
	Measure as Measure_LY
Resident OrigData;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 06:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-for-previous-months/m-p/1735850#M722974</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-08-14T06:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: data for previous months</title>
      <link>https://community.qlik.com/t5/QlikView/data-for-previous-months/m-p/1735856#M722975</link>
      <description>&lt;P&gt;&lt;SPAN&gt;alas, but the option with Join is not suitable, because data volume is about 13 million lines. I would like to solve the problem through measure&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 07:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-for-previous-months/m-p/1735856#M722975</guid>
      <dc:creator>mechanix85</dc:creator>
      <dc:date>2020-08-14T07:12:40Z</dc:date>
    </item>
  </channel>
</rss>

