<?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: date question re {$&amp;lt;CallInDay =  VisitDay  ,  VisitDay = , in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459711#M171605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look into the p() function for use in a set expression. Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal" style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; (&lt;BR /&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN id="yui_3_7_2_1_1351341031913_99" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;CallInDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; =&amp;nbsp; p(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitDay)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; ,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;CallInMth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = p(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitMth)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitMth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;CallInYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = p(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitYr)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = &amp;gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Call_Site_Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Call_LoggedDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;There are potentially also some different approaches to solve your problem, for example using a master calendar and a link table. There were recently some threads about this here in the forum and a design blog post by Henric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;Stefan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Oct 2012 13:11:25 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-10-27T13:11:25Z</dc:date>
    <item>
      <title>date question re {$&lt;CallInDay =  VisitDay  ,  VisitDay = ,</title>
      <link>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459710#M171604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="yiv814463738MsoNormal" id="yui_3_7_2_1_1351341031913_101"&gt;I have a number of dates that at times I need to select by&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;Example VisitDate = date the work is done&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;CallIndate = date the call requewst is made etc&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;So I want to set up three&amp;nbsp; date select fields selection boxes (day/Mth and year) and use these boxes to select the appropraite period whether reporting by callin date or visitdate etc&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;I have used the most common reporting date (VisitDate) and changed for say charts needing callin date as follows:&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;BR /&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN id="yui_3_7_2_1_1351341031913_99" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CallInDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; =&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;VisitDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; ,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;VisitDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CallInMth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;VisitMth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;VisitMth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CallInYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;VisitYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;VisitYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &amp;gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Call_Site_Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Call_LoggedDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;This works but only if the appropriate day month and year are all selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;If say only mth and year is selected nothing is returned. (until days 1 to 31 are highlighted if month comparisons are needed)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Is there a way to overcome this issue. So that if no days are selected but month = Feb is selected it would treat it as all days are selected for Feb &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 12:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459710#M171604</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2012-10-27T12:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: date question re {$&lt;CallInDay =  VisitDay  ,  VisitDay = ,</title>
      <link>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459711#M171605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look into the p() function for use in a set expression. Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="yiv814463738MsoNormal" style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; (&lt;BR /&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN id="yui_3_7_2_1_1351341031913_99" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;CallInDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; =&amp;nbsp; p(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitDay)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; ,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitDay&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;CallInMth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = p(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitMth)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitMth&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = ,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;CallInYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = p(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitYr)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;VisitYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; = &amp;gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Call_Site_Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Call_LoggedDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;There are potentially also some different approaches to solve your problem, for example using a master calendar and a link table. There were recently some threads about this here in the forum and a design blog post by Henric.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;Stefan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 13:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459711#M171605</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-10-27T13:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: date question re {$&lt;CallInDay =  VisitDay  ,  VisitDay = ,</title>
      <link>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459712#M171606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A perfect solution that is exactly (nice and simple) what I was looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've spend many hours on this and knew there must be a solution. But would have never though of trying P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will also look for Henric's previous blog post (his mapping tables blog post has completely changed the way I set QV script up)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 17:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459712#M171606</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2012-10-27T17:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: date question re {$&lt;CallInDay =  VisitDay  ,  VisitDay = ,</title>
      <link>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459713#M171607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are some references:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/273800#273800"&gt;http://community.qlik.com/message/273800#273800&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/10/16/the-master-calendar"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/10/16/the-master-calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 17:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459713#M171607</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-10-27T17:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: date question re {$&lt;CallInDay =  VisitDay  ,  VisitDay = ,</title>
      <link>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459714#M171608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting threads that has cleared up confusion I had re master calender (I understand hopefully what it is now) and link tables (likewise).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Henric (and mph12) though. I can see no situation &lt;STRONG&gt;at this point&lt;/STRONG&gt; (but I'm still learning) where I would follow Rob's link table approach. But I always like to keep it as simple as possible otherwise I can confuse myself (let alone others that I pass work onto after completion).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I tested this and was surprised it worked.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Month &lt;/SPAN&gt;… ;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load Date&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;MinDate&lt;/SPAN&gt;+&lt;SPAN style="color: #0000ff;"&gt;iterno&lt;/SPAN&gt;()) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;While iterno&lt;/SPAN&gt;() &amp;lt;= &lt;SPAN style="color: #800000;"&gt;MaxDate&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;MinDate&lt;/SPAN&gt; ; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load Min&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)-1 as &lt;SPAN style="color: #800000;"&gt;MinDate&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;Max&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) as &lt;SPAN style="color: #800000;"&gt;MaxDate &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;resident &lt;/SPAN&gt;TransactionTable&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For two reason:&lt;/P&gt;&lt;P&gt;Min and max does not have a group. But this works without group as long as I do not load Date in the third load. If I do then group is needed for this to work.&lt;/P&gt;&lt;P&gt;No source is given in the first two loads. (But the reason is given in the manual at the end of load).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This opens up a number of options for me that I will test at work next week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2012 10:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459714#M171608</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2012-10-28T10:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: date question re {$&lt;CallInDay =  VisitDay  ,  VisitDay = ,</title>
      <link>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459715#M171609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Henric (and mph12) though. I can see no situation &lt;STRONG&gt;at this point&lt;/STRONG&gt; (but I'm still learning) where I would follow Rob's link table approach. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I think Rob mentioned one setting when this approach might be helpful: If you want to group your data by a common time line. &lt;/P&gt;&lt;P&gt;But for sure these approaches are not XOR, but OR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Also I tested this and was surprised it worked.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;Month &lt;/SPAN&gt;… ;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load Date&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;MinDate&lt;/SPAN&gt;+&lt;SPAN style="color: #0000ff;"&gt;iterno&lt;/SPAN&gt;()) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;While iterno&lt;/SPAN&gt;() &amp;lt;= &lt;SPAN style="color: #800000;"&gt;MaxDate&lt;/SPAN&gt; - &lt;SPAN style="color: #800000;"&gt;MinDate&lt;/SPAN&gt; ; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load Min&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)-1 as &lt;SPAN style="color: #800000;"&gt;MinDate&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;Max&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;) as &lt;SPAN style="color: #800000;"&gt;MaxDate &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;resident &lt;/SPAN&gt;TransactionTable&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For two reason:&lt;/P&gt;&lt;P&gt;Min and max does not have a group. But this works without group as long as I do not load Date in the third load. If I do then group is needed for this to work.&lt;/P&gt;&lt;P&gt;No source is given in the first two loads. (But the reason is given in the manual at the end of load).&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right, the HELP says about aggregation functions in the chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"These functions can only be used in field lists for &lt;A _jive_internal="true" class="MCXref_0" href="https://community.qlik.com/message"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/A&gt; statements with a &lt;SPAN class="Bold"&gt;group by&lt;/SPAN&gt; clause."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems not to be correct, if you calculate the aggregation in gobal context (no grouping required) of the given source. In your above sample, you are telling QV to return the total minimum / maximum of field Date in table TransactionTable. As soon as you add another field in this load, a group by using this field would be needed, of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, QV allows the construction of something like pipes using &lt;EM&gt;preceding loads.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;You need to read these loads from the bottom to the top. So first the LOAD with the aggregation functions will be executed using the source resident table TransactionTable. Then, the resulting records from this will be inputed into the second LOAD with the while loop. Last, the resulting records from this into the LOAD that creates the other calendar fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2012 11:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-question-re-lt-CallInDay-VisitDay-VisitDay/m-p/459715#M171609</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-10-28T11:46:38Z</dc:date>
    </item>
  </channel>
</rss>

