<?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: Current and previous month's report count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300793#M822271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try Below Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vPreviousMonthCount=count({&amp;lt;Month={'$(=addmonths(max(Month)),-1)'}&amp;gt;}ReportName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Arvind Patil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jul 2017 07:34:36 GMT</pubDate>
    <dc:creator>arvind_patil</dc:creator>
    <dc:date>2017-07-27T07:34:36Z</dc:date>
    <item>
      <title>Current and previous month's report count</title>
      <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300792#M822270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get count of reports for current month and previous month.&lt;/P&gt;&lt;P&gt;My month is getting calculated from master calender as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(MonthStart(Date),'MMM-YY') as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I am writing two variables as &lt;/P&gt;&lt;P&gt;vCurrentMonthCount=count({&amp;lt;Month={"$(=max(Month))"}&amp;gt;}ReportName)&lt;BR /&gt;vPreviousMonthCount=count({&amp;lt;Month={"$(=max(Month)-1)"}&amp;gt;}ReportName)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But the previous month calculation is not giving me value. I am not sure&lt;BR /&gt;where is my mistake .&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300792#M822270</guid>
      <dc:creator>ashis</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Current and previous month's report count</title>
      <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300793#M822271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try Below Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vPreviousMonthCount=count({&amp;lt;Month={'$(=addmonths(max(Month)),-1)'}&amp;gt;}ReportName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Arvind Patil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 07:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300793#M822271</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2017-07-27T07:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Current and previous month's report count</title>
      <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300794#M822272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for the reply, however it is giving me 0 value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am correct addmonths will give the first date of the previous month. eg 1/6/2017 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 07:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300794#M822272</guid>
      <dc:creator>ashis</dc:creator>
      <dc:date>2017-07-27T07:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Current and previous month's report count</title>
      <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300795#M822273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you try like this,&lt;/P&gt;&lt;P&gt;vPrevMonth&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Month={'$(=Month(AddMonths(Today(),-1))'}&amp;gt;}ReportName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 08:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300795#M822273</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-07-27T08:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Current and previous month's report count</title>
      <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300796#M822274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vCurrentMonthCount=count({&amp;lt;Month={"$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(max(Month),&lt;STRONG&gt;'MMM-YY'&lt;/STRONG&gt;))"}&amp;gt;}ReportName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vPreviousMonthCount=count({&amp;lt;Month={"$(=&lt;STRONG&gt;Date(AddMonths&lt;/STRONG&gt;(max(Month),&lt;STRONG&gt;-1)),'MMM-YY')&lt;/STRONG&gt;"}&amp;gt;}ReportName)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 08:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300796#M822274</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-07-27T08:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Current and previous month's report count</title>
      <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300797#M822275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PreviousMonthCount is giving 0 value. However current month is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashis &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 08:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300797#M822275</guid>
      <dc:creator>ashis</dc:creator>
      <dc:date>2017-07-27T08:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Current and previous month's report count</title>
      <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300798#M822276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A bit correction in brackets is needed. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vPreviousMonthCount=count({&amp;lt;Month={"$(=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(AddMonths&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(max(Month),&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-1),'MMM-YY')&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"}&amp;gt;}ReportName)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 08:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300798#M822276</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-07-27T08:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Current and previous month's report count</title>
      <link>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300799#M822277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, this works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 09:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-and-previous-month-s-report-count/m-p/1300799#M822277</guid>
      <dc:creator>ashis</dc:creator>
      <dc:date>2017-07-27T09:13:33Z</dc:date>
    </item>
  </channel>
</rss>

