<?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: How to show data from the 12 previous months only? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979074#M955575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your expression, use set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can define a variable as today - 12 months using the addmonths function (use -12) and then that variable can then be used in your set analysis statement as part of the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example of variable - vDateRange&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=('&amp;gt;=' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MyDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), -12 , 0 ) &amp;amp; '&amp;lt;=' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MyDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;in set analysis you are only summing up inforamtion if the date of the item (keydate) is between the max date in your application and 12 months back&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In set analys&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt; Keydate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(vDateRange)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} DimesionName you are summing&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2015 17:17:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-11T17:17:39Z</dc:date>
    <item>
      <title>How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979073#M955574</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 pivot table in my sheet, where i need to show data only of the previous 12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date field of my data base is like that:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="105195" alt="data.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105195_data.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 17:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979073#M955574</guid>
      <dc:creator />
      <dc:date>2015-11-11T17:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979074#M955575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your expression, use set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can define a variable as today - 12 months using the addmonths function (use -12) and then that variable can then be used in your set analysis statement as part of the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example of variable - vDateRange&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=('&amp;gt;=' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MyDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), -12 , 0 ) &amp;amp; '&amp;lt;=' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MyDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;in set analysis you are only summing up inforamtion if the date of the item (keydate) is between the max date in your application and 12 months back&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In set analys&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt; Keydate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(vDateRange)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} DimesionName you are summing&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 17:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979074#M955575</guid>
      <dc:creator />
      <dc:date>2015-11-11T17:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979075#M955576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year = {$(=Max(Year))}, Quarter =, Date =, Month = {$(=Max(Month)-12)}&amp;gt;} YourFieldName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 05:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979075#M955576</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2015-11-12T05:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979076#M955577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;if you use "Data of resultado" as dimension try using a calculated dimension instead.it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.: if("Data of resultado"&amp;gt;=addmonths(today(),-12), "Data of resultado")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then check "Suppress when value is null".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 07:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979076#M955577</guid>
      <dc:creator>anlonghi2</dc:creator>
      <dc:date>2015-11-12T07:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979077#M955578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9162"&gt;Set Analysis for certain Point in Time&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 07:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979077#M955578</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-11-12T07:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979078#M955579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ishfaque,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;P&gt;In my case, i am not doing a sum, i just want to show the current value of a field.&lt;/P&gt;&lt;P&gt;So, how it shoud be my expression??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 11:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979078#M955579</guid>
      <dc:creator />
      <dc:date>2015-11-16T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979079#M955580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk below link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/180655"&gt;How to create MTD,YTD,PMTD and PYTD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 11:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979079#M955580</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-11-16T11:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979080#M955581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anlonghi2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your tip.&lt;/P&gt;&lt;P&gt;I did what you suggested, but did´t work, no results was shown in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field "Data do Resultado" is a date field in the following format: MM/YYYY.&lt;/P&gt;&lt;P&gt;In the script, i did the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date# &lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Data do Resultado]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, 'MM/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Data do Resultado]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Data do Resultado]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Data do Resultado]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I added the following calculated dimension:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"Month"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(),-12), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;"Month"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;After apply that expression, my table displayed no results, all blank.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 13:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979080#M955581</guid>
      <dc:creator />
      <dc:date>2015-11-16T13:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979081#M955582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;please look at attached qlik doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 08:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979081#M955582</guid>
      <dc:creator>anlonghi2</dc:creator>
      <dc:date>2015-11-17T08:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979082#M955583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;I did exactly how you made in the the qlik doc attached, and it was displayed all months of my data base, take a look:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="105763" alt="Meses.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105763_Meses.JPG" style="width: 620px; height: 47px;" /&gt;&lt;/P&gt;&lt;P&gt;I dont know why it didnt limited in 12 months.&lt;/P&gt;&lt;P&gt;You can see that some months are duplicated, when the result of green or red are different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 12:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979082#M955583</guid>
      <dc:creator />
      <dc:date>2015-11-17T12:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the 12 previous months only?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979083#M955584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rodrigo,&lt;/P&gt;&lt;P&gt;please look at attached qvd where I used Group field to simulate your situation.&lt;/P&gt;&lt;P&gt;I made a little change to the calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 18:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-12-previous-months-only/m-p/979083#M955584</guid>
      <dc:creator>anlonghi2</dc:creator>
      <dc:date>2015-11-17T18:49:43Z</dc:date>
    </item>
  </channel>
</rss>

