<?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: Comparison between any two given months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparison-between-any-two-given-months/m-p/829374#M291932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use two variables. Create an input box with two variables vPeriod1 and vPeriod2. Change your expressions to use the variables: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;PERIOD={&lt;STRONG&gt;$(vPeriod1)&lt;/STRONG&gt;}&amp;gt;}&amp;nbsp; $(vCurrencyField))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 09:50:03 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-06-16T09:50:03Z</dc:date>
    <item>
      <title>Comparison between any two given months</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-between-any-two-given-months/m-p/829373#M291931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight table which currently shows month on month comparison for sales. What I want to show is the comparison between any given months not just consecutive months. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Note in my case my months 1-12 are marked as period. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So currently my expressions are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exprerssion 1 :Sum({&amp;lt;PERIOD={$(=Max(PERIOD)-1)}&amp;gt;}&amp;nbsp; $(vCurrencyField))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 2:&amp;nbsp; Sum({&amp;lt;PERIOD={$(=Max(PERIOD))}&amp;gt;}&amp;nbsp; $(vCurrencyField))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 3 : Difference between the two above.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 09:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-between-any-two-given-months/m-p/829373#M291931</guid>
      <dc:creator />
      <dc:date>2015-06-16T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison between any two given months</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-between-any-two-given-months/m-p/829374#M291932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use two variables. Create an input box with two variables vPeriod1 and vPeriod2. Change your expressions to use the variables: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;PERIOD={&lt;STRONG&gt;$(vPeriod1)&lt;/STRONG&gt;}&amp;gt;}&amp;nbsp; $(vCurrencyField))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 09:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-between-any-two-given-months/m-p/829374#M291932</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-06-16T09:50:03Z</dc:date>
    </item>
  </channel>
</rss>

