<?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: Problem with Master Calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Master-Calendar/m-p/951384#M961357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your calendar looks incorrect based on the presence of the 1899 date -- means you are starting at Day 0. I think the problem is in your calendar script at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempActionCal:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; date($(&lt;STRONG&gt;vMinDate&lt;/STRONG&gt;)+ rowno() -1) AS TempActionDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should be &lt;SPAN style="font-size: 13.3333px;"&gt;$(vMin&lt;STRONG&gt;Action&lt;/STRONG&gt;Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 09:17:55 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2015-10-23T09:17:55Z</dc:date>
    <item>
      <title>Problem with Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Master-Calendar/m-p/951383#M961356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a second Master Calendar but I'm having trouble. I already have one for Transactions, and now I want one for Actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actions is loaded into QlikView via SQL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `action_datetime`&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Action Datetime],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(floor(`action_datetime`))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Action Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And "Action Datetime" has this look in the database:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="102899" alt="Captura de pantalla 2015-10-23 a las 10.38.24 AM.png" class="jive-image image-1" src="/legacyfs/online/102899_Captura de pantalla 2015-10-23 a las 10.38.24 AM.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I created a Master Calendar for actions in a text file (and I call it with Include$...). Find it attached (Actions_Calendar.txt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Action Date] is primary key, linked to other tables. When I do the preview in the table viewer it's correct:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="102901" alt="previw.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/102901_previw.png" style="height: 375px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I create a multitable in a sheet, looks like it is not working (The expression below is evaluated, though):&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="102902" alt="doc.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/102902_doc.png" style="height: 326px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what's going on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 08:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Master-Calendar/m-p/951383#M961356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-23T08:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Master-Calendar/m-p/951384#M961357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your calendar looks incorrect based on the presence of the 1899 date -- means you are starting at Day 0. I think the problem is in your calendar script at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempActionCal:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; date($(&lt;STRONG&gt;vMinDate&lt;/STRONG&gt;)+ rowno() -1) AS TempActionDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should be &lt;SPAN style="font-size: 13.3333px;"&gt;$(vMin&lt;STRONG&gt;Action&lt;/STRONG&gt;Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 09:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Master-Calendar/m-p/951384#M961357</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-10-23T09:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Master-Calendar/m-p/951385#M961359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That was it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 09:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Master-Calendar/m-p/951385#M961359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-23T09:31:30Z</dc:date>
    </item>
  </channel>
</rss>

