<?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: Compare two Years which each other in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766603#M272371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression for the month this fiscal year could be:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;FiscalYear={2015},FiscalMonth={02}&amp;gt;}[data_to_compare])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression for the month last fiscal year could be:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;FiscalYear={2014},FiscalMonth={02}&amp;gt;}[data_to_compare])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option: You can have the years you want to compare in variables. Then, instead of {2015} and {2014} you can use {'$(variableYear)'} and {'$(variableYearMinus1)'} or {'$(=variableYear-1)'}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janneke.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2015 08:02:06 GMT</pubDate>
    <dc:creator>Janneke</dc:creator>
    <dc:date>2015-03-24T08:02:06Z</dc:date>
    <item>
      <title>Compare two Years which each other</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766598#M272366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm very new to QlikView and i would now like to Compare Data of one Month in a Fiscal Year with the same Month one year before.&lt;/P&gt;&lt;P&gt;If there is any other selection this should also be considered.&lt;/P&gt;&lt;P&gt;How can i do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 07:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766598#M272366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-23T07:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two Years which each other</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766599#M272367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use set analysis in two expressions:&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;Month={SelectedMonth},Year={ThisYear}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;Value) &lt;/SPAN&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;Month={SelectedMonth},Year={PreviousYear}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Greetings, Janneke.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766599#M272367</guid>
      <dc:creator>Janneke</dc:creator>
      <dc:date>2015-03-23T15:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two Years which each other</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766600#M272368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What date fields do you have in your qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 16:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766600#M272368</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-23T16:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two Years which each other</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766601#M272369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; in modifer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$1&amp;lt;month={jan}&amp;gt;}amount)&lt;/P&gt;&lt;P&gt;=sumn({1&amp;lt;month={jan}&amp;gt;amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 17:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766601#M272369</guid>
      <dc:creator />
      <dc:date>2015-03-23T17:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two Years which each other</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766602#M272370</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;i have the following Fields in my QVW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalenderMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalenderYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CalenderYearmonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FiscalYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; F&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;iscalMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FiscalYearMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PrevFY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PrevCalenderYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NameofMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Workingdays &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 06:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766602#M272370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-24T06:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two Years which each other</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766603#M272371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression for the month this fiscal year could be:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;FiscalYear={2015},FiscalMonth={02}&amp;gt;}[data_to_compare])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression for the month last fiscal year could be:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;FiscalYear={2014},FiscalMonth={02}&amp;gt;}[data_to_compare])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Option: You can have the years you want to compare in variables. Then, instead of {2015} and {2014} you can use {'$(variableYear)'} and {'$(variableYearMinus1)'} or {'$(=variableYear-1)'}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janneke.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 08:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766603#M272371</guid>
      <dc:creator>Janneke</dc:creator>
      <dc:date>2015-03-24T08:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two Years which each other</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766604#M272372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a straight table with one dimension = FiscalMonth and two expressions like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FiscalYear = {$(=Max(FiscalYear))}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=sum({&amp;lt;FiscalYear = {$(=Max(FiscalYear) - 1)}&amp;gt;} Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Replace the dummy field Data in the examples with the one you want to aggregate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Peter&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 08:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766604#M272372</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-03-24T08:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two Years which each other</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766605#M272373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Previous Year&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Year = {'$(=Max(Year)-1)'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month = {'$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month&lt;/SPAN&gt;))'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;Value&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Current Year&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Year = {'$(=Max(Year))'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month = {'$(=Max(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;))'}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;Value&lt;/SPAN&gt;)&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 08:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-Years-which-each-other/m-p/766605#M272373</guid>
      <dc:creator>sagarkharpude</dc:creator>
      <dc:date>2015-03-24T08:26:57Z</dc:date>
    </item>
  </channel>
</rss>

