<?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: How to create a Calendar in the following type? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364343#M1171376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;So kind of you.&lt;/P&gt;&lt;P&gt;I have practiced an example and&lt;/P&gt;&lt;P&gt;I have tried the expression to display&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sum({&amp;lt;Month = {"&amp;gt;=$(=Date('$vMinDate)', 'YYYY-MM')) &amp;lt;=$(=Date('$vMinDate)', 'YYYY-MM'))"} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; however, i failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you pls help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 09:38:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-24T09:38:35Z</dc:date>
    <item>
      <title>How to create a Calendar in the following type?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364341#M1171374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hi, &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; I need to create a calendar so that i can make an ad-hoc range selection when viewing the report.&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;the data i have is&amp;nbsp; as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Material&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Order#&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 540&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 560&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 640&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 580&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 510&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 340&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 360&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 140&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 580&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;M02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012-05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 810&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;and the I can imagine that the calendat i need for start month and endmonth should be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp; 2012&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Jan&amp;nbsp; Feb Mar Apr&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;May Jun Jul&amp;nbsp;&amp;nbsp; Aug&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sep Oct Nov Dec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Could you pls help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Regards&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 09:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364341#M1171374</guid>
      <dc:creator />
      <dc:date>2012-07-24T09:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Calendar in the following type?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364342#M1171375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simplest way to this is to use two variables, say vMinDate and vMaxDate and allow the user to enter these via an input box or calendar. Then use these variables in your expressions. Lets assume you use calendar boxes for the time being (we can refine that later):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume when you loaded month it was loaded as a datefield:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#(Month, 'YYYY-MM'), 'YYYY-MM') As Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month = {"&amp;gt;=$(=Date('$vMinDate)', 'YYYY-MM')) &amp;lt;=$(=Date('$vMinDate)', 'YYYY-MM'))"} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Check for closing brackets etc). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I &lt;EM&gt;think&lt;/EM&gt; that's right. The date manipulation is because you are not using a standard date format. If you upload a sample of your model, I could test this in place and get it working for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 09:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364342#M1171375</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-07-24T09:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Calendar in the following type?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364343#M1171376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;So kind of you.&lt;/P&gt;&lt;P&gt;I have practiced an example and&lt;/P&gt;&lt;P&gt;I have tried the expression to display&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Sum({&amp;lt;Month = {"&amp;gt;=$(=Date('$vMinDate)', 'YYYY-MM')) &amp;lt;=$(=Date('$vMinDate)', 'YYYY-MM'))"} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; however, i failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you pls help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 09:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364343#M1171376</guid>
      <dc:creator />
      <dc:date>2012-07-24T09:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Calendar in the following type?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364344#M1171377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure where you tried the expression, but as this model bears little in common with your original post, its not surprising that it does not work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There were also some syntax errors in my post &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;, my bad!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 16:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364344#M1171377</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-07-25T16:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Calendar in the following type?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364345#M1171378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;can't run it, still trying to find the solution.&lt;/P&gt;&lt;P&gt;anyway, thanks for your kindly help&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 07:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-Calendar-in-the-following-type/m-p/364345#M1171378</guid>
      <dc:creator />
      <dc:date>2012-07-30T07:14:20Z</dc:date>
    </item>
  </channel>
</rss>

