<?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: Please help me with the error below. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543332#M203037</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;If(DEP_ACCT_OPN_DT &amp;gt;= date(floor(monthstart(Today()))) and DEP_ACCT_OPN_DT &amp;lt;= date(floor(MonthEnd(Today()))), DEP_ACCT_OPN_DT ) as FirstMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Aug 2013 15:40:14 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2013-08-28T15:40:14Z</dc:date>
    <item>
      <title>Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543327#M203032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; I am getting an error with the below if statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if(DEP_ACCT_OPN_DT &amp;gt;= $(CurrentMonth) and DEP_ACCT_OPN_DT &amp;lt;= $(PreviousMonth)) as FirstMonth,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;Note :CurrentMonth is a variable with value set as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;date&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;monthstart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&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;SPAN style="font-size: 8pt;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543327#M203032</guid>
      <dc:creator />
      <dc:date>2013-08-28T15:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543328#M203033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your if condition is not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Expression, return value if condition satisfied, return value if condition not satusfied)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have an expression but you are not returning anything, the 2nd parameter, the 3rd parameter is optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543328#M203033</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2013-08-28T15:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543329#M203034</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 guess you trying to get date if both the condition is satisfied&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(DEP_ACCT_OPN_DT &amp;gt;= $(CurrentMonth) and DEP_ACCT_OPN_DT &amp;lt;= $(PreviousMonth), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DEP_ACCT_OPN_DT &lt;/SPAN&gt;) as FirstMonth,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;Hope it helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543329#M203034</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-28T15:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543330#M203035</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(DEP_ACCT_OPN_DT &amp;gt;= $(CurrentMonth) and DEP_ACCT_OPN_DT &amp;lt;= $(PreviousMonth),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DEP_ACCT_OPN_DT &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) as FirstMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543330#M203035</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-08-28T15:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543331#M203036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank very much for your help but I am getting the error again .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in expression:&lt;/P&gt;&lt;P&gt;')' expected&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEP_ACCT_NBR, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(DEP_ACCT_OPN_DT &amp;gt;= =date(floor(monthstart(Today()))) and DEP_ACCT_OPN_DT &amp;lt;= =date(floor(MonthEnd(Today()))), DEP_ACCT_OPN_DT ) as FirstMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEP_ACT_AGE_DD, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;Q&gt;&lt;/Q&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Sheet1$])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543331#M203036</guid>
      <dc:creator />
      <dc:date>2013-08-28T15:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543332#M203037</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;If(DEP_ACCT_OPN_DT &amp;gt;= date(floor(monthstart(Today()))) and DEP_ACCT_OPN_DT &amp;lt;= date(floor(MonthEnd(Today()))), DEP_ACCT_OPN_DT ) as FirstMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543332#M203037</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-08-28T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543333#M203038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;if(DEP_ACCT_OPN_DT &amp;gt;= Date(floor(monthstart(Today()))) and DEP_ACCT_OPN_DT &amp;lt;= Date(floor(MonthEnd(Today()))), DEP_ACCT_OPN_DT ) as FirstMonth,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543333#M203038</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-28T15:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543334#M203039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup,I got the date which i wanted.But I wanted to use a variable istead of the date function in the script.Can u please tell me why is it giving error when I am using variable here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 15:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543334#M203039</guid>
      <dc:creator />
      <dc:date>2013-08-28T15:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543335#M203040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; Can you please help me with the below if condition.Sorry to bug you.Many thanks for all your help.I appreciate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;(if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEP_ACCT_OPN_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;monthstart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEP_ACCT_OPN_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()))), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEP_ACCT_OPN_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ), 'CurrentMonth',&lt;BR /&gt;&lt;BR /&gt;(if(DEP_ACCT_OPN_DT &amp;gt;= Date(floor(monthstart(Today(),-1))) and DEP_ACCT_OPN_DT &amp;lt;= Date(floor(MonthEnd(Today(),-1))), DEP_ACCT_OPN_DT ) ,'PreviousMonth',&lt;BR /&gt;&lt;BR /&gt;( if(DEP_ACCT_OPN_DT &amp;gt;= Date(floor(monthstart(Today(),-2))) and DEP_ACCT_OPN_DT &amp;lt;= Date(floor(MonthEnd(Today(),-2))), DEP_ACCT_OPN_DT ) , 'PREPreviousMonth'))) as Bucket,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 16:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543335#M203040</guid>
      <dc:creator />
      <dc:date>2013-08-28T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543336#M203041</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;How you assigned it to a variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable Assignment should be &lt;/P&gt;&lt;P&gt;SET &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CurrentMonth&lt;/SPAN&gt;=&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;monthstart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;())))&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 16:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543336#M203041</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-28T16:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543337#M203042</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;if(DEP_ACCT_OPN_DT &amp;gt;= Date(floor(monthstart(Today()))) and DEP_ACCT_OPN_DT &amp;lt;= Date(floor(MonthEnd(Today()))), 'CurrentMonth',&lt;/P&gt;&lt;P&gt;if(DEP_ACCT_OPN_DT &amp;gt;= Date(floor(monthstart(Today(),-1))) and DEP_ACCT_OPN_DT &amp;lt;= Date(floor(MonthEnd(Today(),-1))),'PreviousMonth',&lt;/P&gt;&lt;P&gt; if(DEP_ACCT_OPN_DT &amp;gt;= Date(floor(monthstart(Today(),-2))) and DEP_ACCT_OPN_DT &amp;lt;= Date(floor(MonthEnd(Today(),-2))), 'PREPreviousMonth'))) as Bucket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 16:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543337#M203042</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-08-28T16:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the error below.</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543338#M203043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for all your help.It did work.Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 17:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-error-below/m-p/543338#M203043</guid>
      <dc:creator />
      <dc:date>2013-08-28T17:01:59Z</dc:date>
    </item>
  </channel>
</rss>

