<?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 Common calendar for two Date field in the same table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Common-calendar-for-two-Date-field-in-the-same-table/m-p/317748#M582667</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;Need help on building up a data model&amp;nbsp; with 2 date fields.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am looking for an analysis based on Clearing dates &amp;amp; Posting using a common date table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have attached a file with the data and&amp;nbsp; the result which I am looking for when I select a month ( for my example its Oct) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; Rufus Lopes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2011 14:29:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-14T14:29:04Z</dc:date>
    <item>
      <title>Common calendar for two Date field in the same table</title>
      <link>https://community.qlik.com/t5/QlikView/Common-calendar-for-two-Date-field-in-the-same-table/m-p/317748#M582667</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;Need help on building up a data model&amp;nbsp; with 2 date fields.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am looking for an analysis based on Clearing dates &amp;amp; Posting using a common date table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have attached a file with the data and&amp;nbsp; the result which I am looking for when I select a month ( for my example its Oct) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; Rufus Lopes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 14:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-calendar-for-two-Date-field-in-the-same-table/m-p/317748#M582667</guid>
      <dc:creator />
      <dc:date>2011-11-14T14:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Common calendar for two Date field in the same table</title>
      <link>https://community.qlik.com/t5/QlikView/Common-calendar-for-two-Date-field-in-the-same-table/m-p/317749#M582668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is an example of trying two date fields in the same table to a common Date field, which is what would then connect to your calendar.&amp;nbsp; Script below minus the calendar, which would be built like any other calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Data:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD recno() as ID, * INLINE [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CreatedDate, DepartureDate, Value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;2011-5-10,2011-5-15,10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;2011-5-12,2011-5-15,20&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;2011-5-15,2011-5-16,40&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CROSSTABLE (DateType, Date)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,CreatedDate as Created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,DepartureDate as Departure&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RESIDENT Data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 01:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-calendar-for-two-Date-field-in-the-same-table/m-p/317749#M582668</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-15T01:45:48Z</dc:date>
    </item>
  </channel>
</rss>

