<?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 do i create a Time Based Chart for this? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319977#M1180430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the attached file for a possible solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;BR /&gt;Dennis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2011 13:42:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-12-22T13:42:58Z</dc:date>
    <item>
      <title>How do i create a Time Based Chart for this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319976#M1180429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 3 fields for example: ContractID, Start_Date, End_Date&lt;/P&gt;&lt;P&gt;I want to create a bar chart for the last 12 Months that counts all contract IDs in that chart month that have start_date&amp;lt;=chart month and End_date&amp;gt;=chart month - I want to see how many active contracts in any month over a 12 month period.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 13:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319976#M1180429</guid>
      <dc:creator />
      <dc:date>2011-12-22T13:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a Time Based Chart for this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319977#M1180430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the attached file for a possible solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;BR /&gt;Dennis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 13:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319977#M1180430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-22T13:42:58Z</dc:date>
    </item>
    <item>
      <title>How do i create a Time Based Chart for this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319978#M1180431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are currrently evaluating QlikView so I only have the Personal Edition installed at present.&amp;nbsp; I am unable to open any files that weren't created using my installed copy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 16:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319978#M1180431</guid>
      <dc:creator />
      <dc:date>2011-12-22T16:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a Time Based Chart for this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319979#M1180432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;I will try to explain what I did for&lt;A _jive_internal="true" href="https://community.qlik.com/people/giozedzed1" style="outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;giozedzed1&lt;/A&gt; here:&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/168502#168502" style="outline-style: none; color: #007fc0;"&gt;http://community.qlik.com/message/168502#168502&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;I used his attached Excel file for the data.&lt;BR /&gt;His question was simulare to yours, only his question was about days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;1 When you load that Excel file you can use the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;LOAD name,&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; number,&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Afdeling,&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Salaris,&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; birthday,&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Datumindienst,&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(ISNULL(Datumuitdienst) , 'Still Active' , Date(Datumuitdienst)) as Datumuitdienst&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;[Kopie van personeel.xls]&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;(biff, embedded labels, table is Blad1$);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;2 Then make 2 new variables (CTRL+ALT+v)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vStartDate&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vEndDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;3 create an inputbox with the variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;4 Creat below Macro (CTRL+m)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;sub SelectDatum&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.ClearAll false&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; First= ActiveDocument.Variables("vStartDate").GetContent.String&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last= ActiveDocument.Variables("vEndDate").GetContent.String&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mySelect= "&amp;gt;=" &amp;amp; First &amp;amp; " &amp;lt;=" &amp;amp; Last&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("Datumindienst").Select mySelect&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("Datumuitdienst").Select mySelect&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.GetField("Datumuitdienst").ToggleSelect "Still Active"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; padding-left: 30px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;end sub&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;5 Create a button with an action to start the macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Properties &amp;gt;&amp;gt; Action &amp;gt;&amp;gt; Add&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; External&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt; Run Macro &amp;gt;&amp;gt;OK&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Marco Name:&amp;nbsp; &lt;STRONG&gt;SelectDatum&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Fill in the inputbox the startdate (vStartDate) and the enddate (vEndDate) and press the button to execute the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;The macro selects the range on the fiels &lt;EM&gt;Datumindienst and&lt;/EM&gt; &lt;EM&gt;Datumuitdienst&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;The last line in the script is optional, this line ad the `Still Active` ones to your selection on field &lt;EM style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Datumuitdienst.&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;EM&gt;("Still Active" &lt;/EM&gt; is created in the script when there is no value in the field Datumuitdienst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;I hope this makes sence to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Dennis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 18:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319979#M1180432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-22T18:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a Time Based Chart for this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319980#M1180433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extra info to clearify the case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Datumindienst is in this Excel file the first day of an employment&lt;/P&gt;&lt;P&gt;Datumuitdiens is the last day of the employment, so no value in this fields means the employment is not yet ended.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 18:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-create-a-Time-Based-Chart-for-this/m-p/319980#M1180433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-22T18:37:08Z</dc:date>
    </item>
  </channel>
</rss>

