<?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 Analisys Year And Month Acummulation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analisys-Year-And-Month-Acummulation/m-p/430829#M562463</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;Try this Expression for &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Example 3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 16px; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;= &lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: blue;"&gt;P&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: gray;"&gt;$(=max(Year)-1)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: maroon;"&gt;Type&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;= {'EXP'}&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12.0pt; font-family: 'Courier New';"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Regards,&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2013 05:18:12 GMT</pubDate>
    <dc:creator>nirav_bhimani</dc:creator>
    <dc:date>2013-03-12T05:18:12Z</dc:date>
    <item>
      <title>Set Analisys Year And Month Acummulation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-Year-And-Month-Acummulation/m-p/430828#M562462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Dear QV Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem while attempting a dynamic sales accumulated from months to years, this should work as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) one year and month selcciona eg, 2012 and March&lt;/P&gt;&lt;P&gt;2) It indicates how many years you want to earn and how many months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result may be as follows depending on the number of years and months indicated the desired accumulation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 1: Years 1 and months accumulation accumulation 0&lt;/P&gt;&lt;P&gt;Outcome 1: March 2012 sales more sales March 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 2: Years 1 and months accumulation Accumulation 1&lt;/P&gt;&lt;P&gt;Result 2: February sales over March 2012 over February sales over March 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 3: 2 years of accumulation and buildup months 0&lt;/P&gt;&lt;P&gt;Result 2: March 2012 sales more sales over March 2011 sales for March 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 4: Years 2 and month accumulation Accumulation 1&lt;/P&gt;&lt;P&gt;Result 2: Sales in February and March 2012 sales over February and March 2011 over sales in February and March 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 5: Years of accumulation accumulation 2 and 2 months&lt;/P&gt;&lt;P&gt;Result 2: Sales of January, February and March 2012 sales over January, February and March 2011 sales over January, February and March 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with many Formulas, the last version is (Over Text Object)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Money(Sum({$&amp;lt;Type={'EXP'}, Year={"&amp;gt;=$(=Max(Year)-AcumYears)"},Month={'&amp;lt;=$(=Month(AddMonths(Max(Date),AcumMonths(*-1))))'}&amp;gt;} Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AcumYears --&amp;gt; Variable with integer value to years for acummulation&lt;/P&gt;&lt;P&gt;AcumMonths --&amp;gt; Variable with integer value to months for acummulation&lt;/P&gt;&lt;P&gt;Month Field --&amp;gt; Date in ('MMM') format made from Script with Month(Date) as Month&lt;/P&gt;&lt;P&gt;Year--&amp;gt; Date in ('YYYY') format made from Script with Year(Date) as Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expresion works fine just with Type and Year set analysis delimiters, but with month parameter not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 03:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-Year-And-Month-Acummulation/m-p/430828#M562462</guid>
      <dc:creator />
      <dc:date>2013-03-12T03:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys Year And Month Acummulation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-Year-And-Month-Acummulation/m-p/430829#M562463</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;Try this Expression for &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Example 3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 16px; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;= &lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: blue;"&gt;P&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: gray;"&gt;$(=max(Year)-1)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: maroon;"&gt;Type&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;= {'EXP'}&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12.0pt; font-family: 'Courier New';"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Regards,&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 05:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-Year-And-Month-Acummulation/m-p/430829#M562463</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2013-03-12T05:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys Year And Month Acummulation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-Year-And-Month-Acummulation/m-p/430830#M562464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Solved the issue with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=Money(Sum({$&amp;lt;Type={'EXP'}, Year={"&amp;gt;=$(=Max(Year)-AcumYears)"},Month={"&amp;gt;= $(=Max(Month)-&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;AcumMonths&lt;/SPAN&gt;)"}&amp;gt;} Sales))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 17:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-Year-And-Month-Acummulation/m-p/430830#M562464</guid>
      <dc:creator />
      <dc:date>2013-03-12T17:43:13Z</dc:date>
    </item>
  </channel>
</rss>

