<?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: Date conversion..Month Start, Month End Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188915#M384299</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(Month(Today() - 1) &amp;lt;= 3, Month(Today() - 1) + 9, Month(Today() - 1) - 3)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 18:43:24 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-20T18:43:24Z</dc:date>
    <item>
      <title>Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188908#M384292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to schedule the report for a MTD extraction. Means it will extract the data like 1 sep to 19 sep, 1 To 20 Sep and&amp;nbsp; on 1 Oct 2016 it will extract the report for complete month i.e. 1 to 30 sep. and again from 2 nd oct onwards&amp;nbsp; it will extract the report 1 to 2nd oct, 1 to 3 rd oct. and so on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same way in another report i want to schedule a report on the basis of Financial Month. Means up to 1 oct. Month will be 6 i.e. September and from 2nd Oct. till 1 Nov Month will become 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a below given variables...currently this variables are giving correct dates but not sure whether in next month i.e. in 1st Oct it will holds good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find Month start date....=date(if(Today()-1&amp;gt;=MonthStart(Today()-1),MonthStart(Today()-1)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Find MTD date.....=date(if(Today()-1&amp;lt;=MonthEnd(Today()-1),(Today()-1)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Find FINMONTH...=if(num(month(Today()))&amp;lt;=3,num(Month(Today()))+9,num(Month(Today()))-3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 16:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188908#M384292</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-09-20T16:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188909#M384293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since today is 20th, you want 1-20 Sep, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this for MTD&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(If(Day(Today()) = 1, Today() - 1, Today()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthStart could be this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=Date(MonthStart(If(Day(Today()) = 1, Today() - 1, Today())))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188909#M384293</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-20T17:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188910#M384294</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;Thanks sunny..Actually for MTD i want data up to 19th so i have modified the formula &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(If(Day(Today()) = 1, Today() - 1, Today())-1). Whether it is right..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, by keeping same formulas of MTD and Month start can I get Data for 1 sep to 30 sep complete month data on 1 oct. and again from 2nd oct i want data for 1 st oct and on 3rd oct for period 1 to 2nd oct and so on..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188910#M384294</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-09-20T17:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188911#M384295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about 2nd Sept? The date needs to be 1 or 2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188911#M384295</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-20T17:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188912#M384296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On 2nd oct. i will require a data of 1 oct..on 3 Oct I require a data frm 1 to 2 nd oct and so on..and on 1 st Nov i will require a data for 1 to 31 oct..means always up to the Month data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188912#M384296</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-09-20T18:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188913#M384297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then why not just use Date(Today() - 1) for MTD?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188913#M384297</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-20T18:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188914#M384298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right Sunny..this will do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;i forgot such simple thing..&lt;/SPAN&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just one more thing in one report i am going to use below given formula to calculate MTD data same way but on Financial Month..As below given formula currently giving me month as 6 but on 1 st oct it will give me month as 7. Where as on 1st i will require clmplete data for 6 i.e sep. and from 2 nd onwsrds for 7 month 7 i.e Oct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;To Find FINMONTH...=if(num(month(Today()))&amp;lt;=3,num(Month(Today()))+9,num(Month(Today()))-3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188914#M384298</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-09-20T18:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188915#M384299</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(Month(Today() - 1) &amp;lt;= 3, Month(Today() - 1) + 9, Month(Today() - 1) - 3)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188915#M384299</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-20T18:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date conversion..Month Start, Month End Date</title>
      <link>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188916#M384300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny..It is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 16:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-conversion-Month-Start-Month-End-Date/m-p/1188916#M384300</guid>
      <dc:creator>pra_kale</dc:creator>
      <dc:date>2016-09-21T16:00:45Z</dc:date>
    </item>
  </channel>
</rss>

