<?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: Two month comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518032#M193419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DateField={'&amp;gt;=$(Vrolling2)&amp;lt;=$(vMaxDate)'}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vrolling2: =Date(MonthStart(vMaxDate,-1),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;vMaxDate: =Date(max(DateField),'DD/MM/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2013 07:31:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-03T07:31:39Z</dc:date>
    <item>
      <title>Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518029#M193416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a formula, contain a variable (vMaxDate).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this instance it will show me November 2013 info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I show information for October 2013 next to the column that shows the November 2013 info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create another variable (vMaxDate2) that will basically show the vMaxDate less one month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about the syntax of the formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice the best way I can structure my formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;*R*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 07:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518029#M193416</guid>
      <dc:creator />
      <dc:date>2013-12-03T07:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518030#M193417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your expression for current month working fine? If so, please post your expression here, it would be easier to modify your expression for second last month. Otherwise, share your sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 07:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518030#M193417</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-03T07:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518031#M193418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes my current month is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one of the expression formulas for the current month:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Created Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Created Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vMaxDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='L',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Agreement Number]&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;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;*R*&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 07:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518031#M193418</guid>
      <dc:creator />
      <dc:date>2013-12-03T07:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518032#M193419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DateField={'&amp;gt;=$(Vrolling2)&amp;lt;=$(vMaxDate)'}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vrolling2: =Date(MonthStart(vMaxDate,-1),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;vMaxDate: =Date(max(DateField),'DD/MM/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 07:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518032#M193419</guid>
      <dc:creator />
      <dc:date>2013-12-03T07:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518033#M193420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rentia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can using set analysis for this case. Please try this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;Month=,Year=,[Created Date]={"&amp;gt;=$(=AddMonths( max([Created Date]),-2 )) &amp;lt;=$(=AddMonths( max([Created Date]),0 ))"}&amp;gt;}if(Status='L',[Agreemenr Number]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renyta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 07:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518033#M193420</guid>
      <dc:creator />
      <dc:date>2013-12-03T07:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518034#M193421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guessing your vMaxDate is holding the created date one month earlier. If so, you can try:&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Created Date] =,Month=,Year=, [Created Date]={"&amp;lt;=$(vMaxDate2) &amp;gt;$(vMaxDate)"},Status={'L'}&amp;gt;}[Agreement Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where, vMaxDate2=AddMonths($(vMaxDate), -1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 07:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518034#M193421</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-03T07:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518035#M193422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;[Created Date] =,Month=,Year=, [Created Date]={"&amp;lt;=$(vMaxDate2)"},Status={'L'}&amp;gt;}[Agreement Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where vMaxDate2 should have =AddMonths(vMaxDate, -1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 08:09:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518035#M193422</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-12-03T08:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518036#M193423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({&amp;lt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Created Date]&lt;/SPAN&gt;={'&amp;gt;=$(Vrolling2)&amp;lt;=$(vMaxDate)'},status={'L'}&amp;gt;}&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Agreement Number]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Vrolling2: =Date(MonthStart(vMaxDate,-1),'DD/MM/YYYY')&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vMaxDate: =Date(max(&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Created Date]&lt;/SPAN&gt;),'DD/MM/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 08:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518036#M193423</guid>
      <dc:creator />
      <dc:date>2013-12-03T08:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Two month comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518037#M193424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Hi there,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Thank you. This one works for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Can you maybe help me with the following formula as well?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Created Date]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Created Date]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vMaxDate2&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Status&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;='L' &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Product Type]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;gt;'5' &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;or&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Product Type]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;gt;='A'),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;NBV&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Exactly the same scenario…want to show the info for October 2013.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;I can just replace the count with sum etc… but I am not quite sure how to type the last bit stating that the product type should be bigger that 5&amp;nbsp; and bigger that type A.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;R*&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 09:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-month-comparison/m-p/518037#M193424</guid>
      <dc:creator />
      <dc:date>2013-12-03T09:50:00Z</dc:date>
    </item>
  </channel>
</rss>

