<?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: Set Analysis  - calculate data from the past in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330437#M617896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is working but only shows data for 1 month, if I remove the Max function, it is no longer working, no translation is done in the formula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2017 13:18:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-05-24T13:18:36Z</dc:date>
    <item>
      <title>Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330433#M617892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate data from a moment in the past with a formula and set analysis, but it does not work like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year_Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=$(=MonthName(AddMonths(Year_Month,-3)))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FC_KG&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;Year_Month&amp;nbsp; has format 'mon YY', such as Apr 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks for you answer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Kind regards&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 12:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330433#M617892</guid>
      <dc:creator />
      <dc:date>2017-05-24T12:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330434#M617893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;Year_Month = {"$(=Date(AddMonths(Max(Year_Month),-3),'MMM YY'))"}&amp;gt;}FC_KG)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=SUM({&amp;lt;Year_Month = {"$(=Date(AddMonths(Max(Year_Month),-3),'MMM YYYY'))"}&amp;gt;}FC_KG)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330434#M617893</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-05-24T13:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330435#M617894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IS there any selections happening in Year_Month ??? If so, Remove equal symbol before the $ indicator and then check&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330435#M617894</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-24T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330436#M617895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum({&amp;lt;Year_Month={'$(=MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;Date#&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(Year_Month,'MMM YYYY'),-3))'}&amp;gt;} FC_KG)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330436#M617895</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-05-24T13:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330437#M617896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is working but only shows data for 1 month, if I remove the Max function, it is no longer working, no translation is done in the formula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330437#M617896</guid>
      <dc:creator />
      <dc:date>2017-05-24T13:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330438#M617897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is nothing selected, all selections are cleared&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330438#M617897</guid>
      <dc:creator />
      <dc:date>2017-05-24T13:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330439#M617898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly you are looking for?&lt;/P&gt;&lt;P&gt;1) If something selected &lt;/P&gt;&lt;P&gt;2) If nothing selected..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330439#M617898</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-05-24T13:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330440#M617899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with year_month, material and data,&lt;/P&gt;&lt;P&gt;I want to show the data from the past, meaning the data that was reported 3 months ago,&lt;/P&gt;&lt;P&gt;so, if in the table year_month is equal to apr 2017, it should show the data of jan 2017, and this for all months in the table,&lt;/P&gt;&lt;P&gt;I cannot get this working, have tried a number of different syntaxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 14:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330440#M617899</guid>
      <dc:creator />
      <dc:date>2017-05-24T14:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330441#M617900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use Set Analysis in this case.. As set expression is calculated once per chart.. &lt;BR /&gt;you can use something like &lt;/P&gt;&lt;P&gt;Above(Sum(Sales),3) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 14:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330441#M617900</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-05-24T14:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330442#M617901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use the below expression in the expression tab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[A/C Type]={'Direct Staff Costs*'}, FinResultsDate={'&amp;gt;=$(=date(date#('01/09/2016','DD/MM/YYYY'),'MMM-YY'))&amp;lt;=$(=max(FinResultsDate))'}&amp;gt;} [USD amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 10:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330442#M617901</guid>
      <dc:creator>sonysree88</dc:creator>
      <dc:date>2017-05-26T10:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis  - calculate data from the past</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330443#M617902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry above calculation is for current date selections ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use this : &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM({&amp;lt;Year_Month = {"$(=Date(AddMonths(Max(Year_Month),-3),'MMM YYYY'))"}&amp;gt;}FC_KG)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 10:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-calculate-data-from-the-past/m-p/1330443#M617902</guid>
      <dc:creator>sonysree88</dc:creator>
      <dc:date>2017-05-26T10:38:51Z</dc:date>
    </item>
  </channel>
</rss>

