<?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 Chart Expression with date functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190646#M53070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please see the attached example. It should give you a hint to solve your problem.&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, 17 Dec 2009 16:04:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-17T16:04:11Z</dc:date>
    <item>
      <title>Chart Expression with date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190645#M53069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table Shipping with columns ship_id, PartNum, ship_date etc. I am trying to create a chart .&lt;/P&gt;&lt;P&gt;The first dimension is PartNum, second is Month. For each month, I have to calculate this expression =&amp;gt; 1/X and display this value in the chart&lt;/P&gt;&lt;P&gt;Where x is the count(ship_id) for ship_date within 12 months but starting from (month - 2).&lt;BR /&gt;For example, if month selected is July 2007, then start counting ship_id by going back two months i.e May 2007&lt;/P&gt;&lt;P&gt;For Jul 2007, need count(ship_id) for ship_date between Jun 2006 to May 2007&lt;BR /&gt;For Aug 2007, need count(ship_id) for ship_date between Jul 2006 to Jun 2007&lt;/P&gt;&lt;P&gt;How can I construct this expression? Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 10:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190645#M53069</guid>
      <dc:creator />
      <dc:date>2009-12-17T10:43:46Z</dc:date>
    </item>
    <item>
      <title>Chart Expression with date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190646#M53070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please see the attached example. It should give you a hint to solve your problem.&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, 17 Dec 2009 16:04:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190646#M53070</guid>
      <dc:creator />
      <dc:date>2009-12-17T16:04:11Z</dc:date>
    </item>
    <item>
      <title>Chart Expression with date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190647#M53071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;I was able to open your file the first time, couldn't open it later. Can you please attach the file again?&lt;BR /&gt; Also, after posting this question, I tried this.&lt;BR /&gt;Created a chart.&lt;BR /&gt;The first dimension is PartNum, second dimension is Month(ship_date)&lt;BR /&gt;Then defined this expression&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if( Month(ship_date) &amp;lt; Month( AddMonths(ship_date, -2) ) OR&lt;BR /&gt; Month(ship_date) &amp;gt; Month( Addmonths(ship_date, -14) ), count(ship_id_) )&lt;/P&gt;&lt;P&gt;But not sure, if this is the correct expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2009 08:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190647#M53071</guid>
      <dc:creator />
      <dc:date>2009-12-19T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Chart Expression with date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190648#M53072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here are the application again.&lt;/P&gt;&lt;P&gt;In your expression it seems to me that you have to change "or" in to "and".&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 20:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Expression-with-date-functions/m-p/190648#M53072</guid>
      <dc:creator />
      <dc:date>2009-12-21T20:45:55Z</dc:date>
    </item>
  </channel>
</rss>

