<?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: Previous month last date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951326#M1219751</link>
    <description>&lt;P&gt;Requirement is&amp;nbsp; to calculate IDs from start of the previous month to end of previous the previous month.&amp;nbsp;&lt;BR /&gt;Can you please tell what should I use?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2022 12:25:00 GMT</pubDate>
    <dc:creator>U_Waqar</dc:creator>
    <dc:date>2022-07-04T12:25:00Z</dc:date>
    <item>
      <title>Previous month last date</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951231#M1219743</link>
      <description>&lt;P&gt;Hi Experts,&lt;BR /&gt;I am using following expression to get count from start of last month to end of last month but not getting count of last day only i.e 30/06/2022: &lt;BR /&gt;Expression:&lt;BR /&gt;count(&lt;BR /&gt;{&amp;lt; &lt;BR /&gt;REGISTRATION_DATE = {"&amp;gt;=$(=MonthStart(Addmonths(Max(REGISTRATION_DATE),-1)) &amp;lt;=$(=Monthend(Addmonths(Max(REGISTRATION_DATE),-1)) )"}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;DISTINCT ID)&lt;BR /&gt;DateFormat is DD/MM/YYYY&lt;/P&gt;
&lt;P&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951231#M1219743</guid>
      <dc:creator>U_Waqar</dc:creator>
      <dc:date>2022-07-04T09:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Previous month last date</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951273#M1219746</link>
      <description>&lt;P&gt;You're checking against MonthStart, which is the first of the month, so I'm not sure why you'd expect to only get the last day of the month here.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 10:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951273#M1219746</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-04T10:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Previous month last date</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951277#M1219747</link>
      <description>&lt;P&gt;I want to get for complete last month but count is not showing for only last day of previous month i.e 30/06/2022.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 10:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951277#M1219747</guid>
      <dc:creator>U_Waqar</dc:creator>
      <dc:date>2022-07-04T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Previous month last date</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951282#M1219749</link>
      <description>&lt;P&gt;Then you shouldn't be using MonthStart()..? Perhaps Floor(MonthEnd(Whatever)) instead? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 10:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951282#M1219749</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-04T10:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Previous month last date</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951326#M1219751</link>
      <description>&lt;P&gt;Requirement is&amp;nbsp; to calculate IDs from start of the previous month to end of previous the previous month.&amp;nbsp;&lt;BR /&gt;Can you please tell what should I use?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 12:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951326#M1219751</guid>
      <dc:creator>U_Waqar</dc:creator>
      <dc:date>2022-07-04T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Previous month last date</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951343#M1219752</link>
      <description>&lt;P&gt;You might be having issues with the time portion of the datetime (EndMonth returns e.g. 30/06/2022 23:59:59.999), have you tried the same thing but with that date floored? Does the actual formula return the expected value when used in e.g. a text object?&lt;/P&gt;
&lt;P&gt;As an aside, if it's feasible for you, I'd suggest having a Registration Month field (Monthname([Registration Date])) and then you can just compare months instead of date ranges, which is easier to work with and cleaner to read.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 13:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-last-date/m-p/1951343#M1219752</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-07-04T13:00:35Z</dc:date>
    </item>
  </channel>
</rss>

