<?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: Created Current Month, Last Month Buckets in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Created-Current-Month-Last-Month-Buckets/m-p/13177#M458636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Date &amp;gt;= MonthStart(Today()), 'Current Month',&lt;/P&gt;&lt;P&gt;If(Date &amp;gt;= MonthStart(Today(), -1), 'Last Month')) as Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar idea should apply for weeks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2018 14:32:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-29T14:32:05Z</dc:date>
    <item>
      <title>Created Current Month, Last Month Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Created-Current-Month-Last-Month-Buckets/m-p/13176#M458635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a new field in my load script that takes a date (MM/DD/YYYY) and puts it in a current month, last month, etc .. bucket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also wonder if I can do this with rolling weeks ... i.e make a new field that says, last 4 weeks, last 8 weeks, last X weeks ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- dave &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 14:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Created-Current-Month-Last-Month-Buckets/m-p/13176#M458635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-29T14:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Created Current Month, Last Month Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Created-Current-Month-Last-Month-Buckets/m-p/13177#M458636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to do like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Date &amp;gt;= MonthStart(Today()), 'Current Month',&lt;/P&gt;&lt;P&gt;If(Date &amp;gt;= MonthStart(Today(), -1), 'Last Month')) as Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar idea should apply for weeks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 14:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Created-Current-Month-Last-Month-Buckets/m-p/13177#M458636</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-29T14:32:05Z</dc:date>
    </item>
  </channel>
</rss>

