<?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 show current and previous 2 months. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378677#M1169719</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 am trying to create a bar graph that shows the count(month) but does not show any data from two months prior to the current date. I have my dimension as Month and Expression as count(month).&amp;nbsp; That shows the graph with the correct numbers but i would like to only show the previous two month from the current date. I tried to create another expressions Sum({&amp;lt;Month={"$(=Max(Month)-2)"}&amp;gt;}[Month] but I think its wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 17:12:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-16T17:12:38Z</dc:date>
    <item>
      <title>show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378677#M1169719</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 am trying to create a bar graph that shows the count(month) but does not show any data from two months prior to the current date. I have my dimension as Month and Expression as count(month).&amp;nbsp; That shows the graph with the correct numbers but i would like to only show the previous two month from the current date. I tried to create another expressions Sum({&amp;lt;Month={"$(=Max(Month)-2)"}&amp;gt;}[Month] but I think its wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378677#M1169719</guid>
      <dc:creator />
      <dc:date>2012-08-16T17:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378678#M1169720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost right, I think:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Month={"&amp;gt;=$(=Max(Month)-2)"}&amp;gt;}[Month] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or better still, if you're on v11 use dimension limits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 17:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378678#M1169720</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-08-16T17:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378679#M1169721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still seeing all the months listed in the graph. Should the expression show both items? Count(Month) and &lt;/P&gt;&lt;P&gt;Count({&amp;lt;Month={"&amp;gt;=$(=Max(Month)-2)"}&amp;gt;}[Month] )? I tried with one and both and no changes seem to occur.&amp;nbsp; I have the dimension still with just month.&amp;nbsp; Below is the data i get when i export the graph to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="492"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="57" width="164"&gt;Month&lt;/TD&gt;&lt;TD class="xl68" width="164"&gt;Count({&amp;lt;Month={"&amp;gt;=-"}&amp;gt;}[Month] )&lt;/TD&gt;&lt;TD class="xl65" width="164"&gt;count (Month)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;1899-12&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;1172&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2011-08&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2011-09&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2012-01&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;48&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2012-04&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;26&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2012-05&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2012-06&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2012-07&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2012-08&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2012-10&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17"&gt;2012-11&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;77&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 19:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378679#M1169721</guid>
      <dc:creator />
      <dc:date>2012-08-16T19:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378680#M1169722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A few suggestions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You'd better use month-year instead of simply month, othervise you will face problems crossing year borders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Use AddMonths function to get earlier/later months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Count({&amp;lt;MonthYear={"&amp;gt;=$(=AddMonths(Max(MonthYear),-2))"}&amp;gt;} [MonthYear] )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 20:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378680#M1169722</guid>
      <dc:creator />
      <dc:date>2012-08-16T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378681#M1169724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good advice from Dmitry, and also it looks like your "Month" field is not actually a numeric date field. Before AddMonths() will work you need to ensure "Month" is a date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 21:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378681#M1169724</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-08-16T21:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378682#M1169727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Very helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicholas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 16:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378682#M1169727</guid>
      <dc:creator />
      <dc:date>2012-08-20T16:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378683#M1169729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought i had this down but seemed to have lost it. My graph just shows a blank.&amp;nbsp; I am using QV 10, so i do not have the dimensions finction available. When I use your recommended expression &lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #636363; font-size: 12px;"&gt;Count({&amp;lt;MonthYear={"&amp;gt;=$(=AddMonths(Max(MonthYear),-2))"}&amp;gt;} [MonthYear] )&amp;nbsp; I am just getting a blank.&amp;nbsp; My Dimension has the month listed in it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: Arial; color: #636363; font-size: 12px;"&gt;Sorry and thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 14:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378683#M1169729</guid>
      <dc:creator />
      <dc:date>2012-09-27T14:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378684#M1169731</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; Can you able to say the MonthYear format?&lt;/P&gt;&lt;P&gt;Because Addmonths() gives like 11/11/2012 ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthYear is also same format? i.e DD/MM/YYYY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 18:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378684#M1169731</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-27T18:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378685#M1169732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im not sure I understand what you are looking for exactly.&amp;nbsp; I have this in my script to make sure it is coming through as a date format. &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;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date#&lt;SPAN style="font-size: 8pt;"&gt;(C&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ompDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'DD/MM/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NumCompdate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 21:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378685#M1169732</guid>
      <dc:creator />
      <dc:date>2012-09-27T21:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378686#M1169733</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;MonthYear format?? Can you give a sample value for MonthYear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 21:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378686#M1169733</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-27T21:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378687#M1169734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="511"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="17" width="319"&gt;&lt;P&gt;Topic Area&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;NumCompDate&lt;/TD&gt;&lt;TD width="64"&gt;ows_ComDate&lt;/TD&gt;&lt;TD width="64"&gt;CompDateMonth&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;#Agri Commodity Definition&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;"&gt;2011-09-12 00:00:00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none;"&gt;9/12/2011&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;"&gt;Sep&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;#Agri Swaps&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2012-10-12 00:00:00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10/12/2012&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Oct&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;#Amend to July 14, 2011 Order for Swap Regulation&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2011-12-23 00:00:00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;12/23/2011&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Dec&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;#Amend to CPO and CTA Regulations Resulting from DF Act&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2012-11-05 00:00:00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;11/5/2012&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Nov&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;#Amend to CPO and CTA Regulations Resulting from DF Act&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;#Ben Ownership Reporting Requirements and Security-Based Swaps&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2011-07-16 00:00:00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;7/16/2011&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Jul&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;#Business Affiliate Marketing and Disposal of Consumer Information Rules&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2012-09-21 00:00:00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;9/21/2012&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Sep&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;&lt;P&gt;#Business Affiliate Marketing and Disposal of Consumer Information &lt;/P&gt;&lt;P&gt;Rules&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;#Clearing Exemption for Swaps Between Certain Affiliated Entities&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: medium none;"&gt;#Commodity Options&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2012-10-12 00:00:00&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: medium none; border-top: medium none;"&gt;10/12/2012&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Oct&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 21:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378687#M1169734</guid>
      <dc:creator />
      <dc:date>2012-09-27T21:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378688#M1169735</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 like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;DateField={"&amp;gt;=$(=AddMonths(Max(DateField),-2))"}&amp;gt;} CountField )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its takes max(DateField) for example 05/11/2012 format DD/MM/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculate dated from 05/09/2012 to 05/11/2012 and count the values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose want to calcualte from 01/09/2012 to 05/11/2012 , use&lt;STRONG&gt; MonthStart(AddMonths(Max(DateField),-2))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 21:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378688#M1169735</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-27T21:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378689#M1169736</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 tried the expression but again nothing. Keep getting an error message--&amp;gt; "no data to display."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use this expression : &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&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;ComplianceDateMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=AddMonths(Max(ComplianceDateMonth),-2))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ComplianceDateMonth]&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I get a bar graph but with every date from sep-2010 to mar-2014 listed.&amp;nbsp; The dimension I use is a datemonth field (shows MM-YYYY).&amp;nbsp; It still is not showing the current date and&amp;nbsp; past 2 months.&amp;nbsp; &lt;IMG __jive_id="22850" class="jive-image-thumbnail jive-image" onclick="" alt="Effective date calendar.jpg" src="/legacyfs/online/22850_Effective date calendar.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 20:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378689#M1169736</guid>
      <dc:creator />
      <dc:date>2012-10-02T20:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378690#M1169737</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;Instead of using &lt;/P&gt;&lt;P&gt;[ComplianceDateMonth] field&amp;nbsp; , can you able to use Datefield(i.e. not the monthYear field but date field in the expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 20:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378690#M1169737</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-02T20:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378691#M1169738</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 changed it to:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Count&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ows_ComplianceDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=AddMonths(Max(ows_ComplianceDate),-2))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ows_ComplianceDate]&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;IMG __jive_id="22857" class="jive-image-thumbnail jive-image" onclick="" alt="Dimension Limits.jpg" src="/legacyfs/online/22857_Dimension Limits.jpg" width="450" /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My expression is DateTest which = Date&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ows_ComplianceDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MMM-YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateTest &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="font-family: mceinline;"&gt;T&lt;A&gt;&lt;/A&gt;hank you for your help.&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 21:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378691#M1169738</guid>
      <dc:creator />
      <dc:date>2012-10-02T21:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378692#M1169739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi .. Look this example ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it can be useful for you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 21:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378692#M1169739</guid>
      <dc:creator>GabrielAraya</dc:creator>
      <dc:date>2012-10-02T21:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: show current and previous 2 months.</title>
      <link>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378693#M1169740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; I have figured it out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also thank you Mayil Vahanan.&amp;nbsp; I would not have understood this without your imput.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 16:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-current-and-previous-2-months/m-p/378693#M1169740</guid>
      <dc:creator />
      <dc:date>2012-10-03T16:48:05Z</dc:date>
    </item>
  </channel>
</rss>

