<?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 Previous Month from Today in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323828#M409771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement where I don't have a filter for Year and Month and the date fIeld is 'YYYYMM'.&amp;nbsp;&amp;nbsp; By default the report shows the data for the current month.&amp;nbsp; The expression is a set analysis.&amp;nbsp; Its working fine, until you hit the 1st of the month. So on the1st of Aug for example I still have the data loaded for Jul 31st&amp;nbsp; and no Aug Data yet.&amp;nbsp; So the report will show 0 cuz month(T0day()) is Aug and there is no data for Aug.&amp;nbsp; I am trying to build a logic&amp;nbsp; like (If(Day(Today()&amp;gt;1, Month(Today()), Month(Today())-1 for previous MOnth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong here ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 02:06:18 GMT</pubDate>
    <dc:creator>azmeerrehan</dc:creator>
    <dc:date>2017-08-01T02:06:18Z</dc:date>
    <item>
      <title>Previous Month from Today</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323828#M409771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement where I don't have a filter for Year and Month and the date fIeld is 'YYYYMM'.&amp;nbsp;&amp;nbsp; By default the report shows the data for the current month.&amp;nbsp; The expression is a set analysis.&amp;nbsp; Its working fine, until you hit the 1st of the month. So on the1st of Aug for example I still have the data loaded for Jul 31st&amp;nbsp; and no Aug Data yet.&amp;nbsp; So the report will show 0 cuz month(T0day()) is Aug and there is no data for Aug.&amp;nbsp; I am trying to build a logic&amp;nbsp; like (If(Day(Today()&amp;gt;1, Month(Today()), Month(Today())-1 for previous MOnth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong here ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 02:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323828#M409771</guid>
      <dc:creator>azmeerrehan</dc:creator>
      <dc:date>2017-08-01T02:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month from Today</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323829#M409772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Day(Today()) &amp;gt; 1, Month(Today()), Month(Today() - 1))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 02:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323829#M409772</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-01T02:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month from Today</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323830#M409773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesnt work, but was able to get this work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(day(Today())&amp;gt;1,Month(Today()),dATE(Date(Today(),'YYYYMM')-1,'MMM'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 02:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323830#M409773</guid>
      <dc:creator>azmeerrehan</dc:creator>
      <dc:date>2017-08-01T02:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month from Today</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323831#M409774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange, but okay &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 02:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-from-Today/m-p/1323831#M409774</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-01T02:22:05Z</dc:date>
    </item>
  </channel>
</rss>

