<?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: Formula help - MonthsStart? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-help-MonthsStart/m-p/473918#M483186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're right. I was not aware that I could specify a second parameter for the Monthstart() function, but that works fine. I guess it is also better on the performance side, MonthsStart calculates with a millisecond´, that sounds kind of resource-heavy to me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2013 10:21:46 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2013-07-12T10:21:46Z</dc:date>
    <item>
      <title>Formula help - MonthsStart?</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-help-MonthsStart/m-p/473916#M483184</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;a little background on what I want to do with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have on one worksheet two pivot_tables (looking like two calendar_sheets). Currently the logic is this:&lt;/P&gt;&lt;P&gt;- Upon opening the sheet, the current month is automatically selected.&lt;/P&gt;&lt;P&gt;- The upper calendar_sheet then displays the days (Mo-Sat) of the current month, with data from an underlying list in the corresp. field.&lt;/P&gt;&lt;P&gt;- The lower one displays the same for the past month.&lt;/P&gt;&lt;P&gt;- The problem that I'm just trying to avoid is that all this currently works only when a selection has been made - it is a condition for recalculation that exactly one&lt;BR /&gt;&amp;nbsp;&amp;nbsp; month be selected. The formula in the lower diagram thus looks very different from the one in the upper diagram, making it very complicated to implement new&lt;BR /&gt;&amp;nbsp;&amp;nbsp; features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After realizing that I cannot combine the MONTHSTART and MONTH() functions, I have tried MONTHsSTART. That seems to work, by trial-and-error I have found out how I can display the first and last week of this or the past month. I hope to implement this as a condition in the "week" dimension of both diagrams and thus get the same result without any selection.&lt;/P&gt;&lt;P&gt;I would, however, like to understand what the function does - I have played around with the parameters and I can write either &amp;gt;MonthsStart(2, TODAY()), -1)&amp;lt; OR &amp;gt;MonthsStart(1, TODAY(), -2)&amp;lt;, both will give me the 1st of May (two months back). &lt;/P&gt;&lt;P&gt;Can someone clarify this function for me, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 07:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-help-MonthsStart/m-p/473916#M483184</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-07-12T07:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help - MonthsStart?</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-help-MonthsStart/m-p/473917#M483185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After realizing that I cannot combine the MONTHSTART and MONTH() functions, I have tried MONTHsSTART. &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sorry, I don't get why you can't combine these functions. Monthsstart() is not what you need here, Monthstart() is much more simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=monthstart(today(),-2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 08:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-help-MonthsStart/m-p/473917#M483185</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-07-12T08:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help - MonthsStart?</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-help-MonthsStart/m-p/473918#M483186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're right. I was not aware that I could specify a second parameter for the Monthstart() function, but that works fine. I guess it is also better on the performance side, MonthsStart calculates with a millisecond´, that sounds kind of resource-heavy to me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 10:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-help-MonthsStart/m-p/473918#M483186</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-07-12T10:21:46Z</dc:date>
    </item>
  </channel>
</rss>

