<?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 Dynamic Date Formulas in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Date-Formulas/m-p/200700#M59136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see the attached example to get some ideas to achieve your goal.&lt;/P&gt;&lt;P&gt;Please spent a main emphasis on the field format (number or character).&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Apr 2010 14:26:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-01T14:26:42Z</dc:date>
    <item>
      <title>Dynamic Date Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Date-Formulas/m-p/200699#M59135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoping someone can help me, as I am having some difficulties getting QV to recognize dynamic date formulas.&lt;/P&gt;&lt;P&gt;Essentially, I would like QV to calculate some data using only the maximum date and each of the prior 2 months. For example, this month, I want to get data as of 12/1/2009, 11/1/2009, and 10/1/2009 by only filtering on those dates. While next month, I want to get data as of 3/1/2010, 2/1/2010, 1/1/2010 by only filtering those dates.&lt;/P&gt;&lt;P&gt;I'm trying to get the formula in QV to recognize the maximum date, and calculate the data based upon that max date in addition to each of the prior months.&lt;/P&gt;&lt;P&gt;If I use the simple formula of "max(CYCLE_DATE)", QV will give me the max cycle date, but when I try to encompass it into a calculation formula, I don't get any results.&lt;/P&gt;&lt;P&gt;Here is my formula:&lt;/P&gt;&lt;P&gt;count (if((CYCLE_DATE = (monthstart (NUM(year(today()))&amp;amp;'-'&amp;amp; NUM(month(Max (CYCLE_DATE))-1)&amp;amp; '-01' ))) AND ([AGE] = '30'),(PEOPLE)))&lt;/P&gt;&lt;P&gt;conversely, if I replaced "max(CYCLE_DATE)" with "today()" or "today()-1", then I do get my results. Problem is, I don't want the formula to look at today's date, I want it to look at the max date of the dates I filtered.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 14:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Date-Formulas/m-p/200699#M59135</guid>
      <dc:creator />
      <dc:date>2010-04-01T14:00:11Z</dc:date>
    </item>
    <item>
      <title>Dynamic Date Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Date-Formulas/m-p/200700#M59136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see the attached example to get some ideas to achieve your goal.&lt;/P&gt;&lt;P&gt;Please spent a main emphasis on the field format (number or character).&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 14:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Date-Formulas/m-p/200700#M59136</guid>
      <dc:creator />
      <dc:date>2010-04-01T14:26:42Z</dc:date>
    </item>
    <item>
      <title>Dynamic Date Formulas</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Date-Formulas/m-p/200701#M59137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, but no dice.&lt;/P&gt;&lt;P&gt;the addmonths function does not work in there either.&lt;/P&gt;&lt;P&gt;are these functions converting the dates to text or numbers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 15:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Date-Formulas/m-p/200701#M59137</guid>
      <dc:creator />
      <dc:date>2010-04-01T15:14:48Z</dc:date>
    </item>
  </channel>
</rss>

