<?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 Relationship Anomoly? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219676#M72667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you to both yourself and Oleg for your reponses. I have "hard-coded" the max and min dates which eliminated the problem. It does beg the question as to why the pieces of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did not appear to pick up the Lowest and Highest OrderDates - or at least the Highest one.&lt;/P&gt;varMaxDate = Num(Peek('Orders.OrderDate',-1,'Orders')); varMinDate = Num(Peek('Orders.OrderDate',0,'Orders'));&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Dec 2010 12:08:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-14T12:08:55Z</dc:date>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219668#M72659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikview and still practising my skills. I decided to apply Qlikview to Microsofts Northwind database for practise purposes. Amongst other tables I created an Order and OrderDetails Table - each with an added calculated column OrderValue and LineTotal respectively. (Original - I know!). I created a pivot table of with Customer and Year as Dimensions and (initially) Sum(LineTotals) and later Sum(OrderValue). In both cases the pivot table displayed most of the rows exactly as expected but for some customers it created a blank year column and placed values in there. More investigation showed that these were the values from one or more Orders from the last year (1994) even though the Orders clearly had a 1994 orderdate. Any clues as to what is going on here? All the Order Details have corresponding Orders and v.v.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 17:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219668#M72659</guid>
      <dc:creator />
      <dc:date>2010-12-09T17:35:50Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219669#M72660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your QVD? It may be easier to troubleshoot if we can take a look at what you're doing.&lt;/P&gt;&lt;P&gt;EDIT: Yeah, sorry, I meant the QVW. Thanks Oleg! &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 17:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219669#M72660</guid>
      <dc:creator />
      <dc:date>2010-12-09T17:56:01Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219670#M72661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My version of Qlikview is currently Personal edition and it does not appear to let me export a QVD for the application but I have exported the individual tables as QVDs. Unfortunately this site tells me that .qvd and .qvw files are not allowed when I try to attach them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 19:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219670#M72661</guid>
      <dc:creator />
      <dc:date>2010-12-09T19:39:39Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219671#M72662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's the QVW that we need, not the QVD (I believe NMiller had a typo...)&lt;/P&gt;&lt;P&gt;You should be able to upload a QVW, everyone does. Open the "Options" tab and click on "Add/Update" button on top.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 20:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219671#M72662</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-12-09T20:22:27Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219672#M72663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 10:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219672#M72663</guid>
      <dc:creator />
      <dc:date>2010-12-10T10:20:04Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219673#M72664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to assume that the anomoly has something to do with the OrderDate. I attach an analysis which shows that all the orders whose OrderValues get pushed into the blank year column have OrderDates between 24/03/1994 and 31/03/1994 inclusive. If a customer has 2 orders in that date range they are summed up in the blank year column. Any that lie outside that range are summed up within their years exactly as expected. I am still struggling to make sense of this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 17:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219673#M72664</guid>
      <dc:creator />
      <dc:date>2010-12-10T17:13:28Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219674#M72665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it has something to do with your temp calendar. If, in your Customer Annual Sales chart, you replace the Year dimension with Year(OrderDate), you get rid of the blank year.&lt;/P&gt;&lt;P&gt;Could you try to reload the data without dropping the TempCalendar table? I'm guessing there is something happening there so that the dates aren't appearing in the MasterCalendar.&lt;/P&gt;&lt;P&gt;If you look at the value of your vMaxDate variable, it is set to 23/03/1994. Your TempCalendar is only generating through that date, which means there are no dates in the Master Calendar that match up with the missing dates. You may even be having a problem with date format since only 24/04/1994 and up isn't appearing.&lt;/P&gt;&lt;P&gt;EDIT: Check out the main tab of your load. You have:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SET DateFormat='DD/MM/YYYY';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Modify that for the date format you are using. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 17:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219674#M72665</guid>
      <dc:creator />
      <dc:date>2010-12-10T17:42:44Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219675#M72666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem, as I see it, is that your Master Calendar is missing 5 dates, and those seem to be your problematic dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="white" border="1" cellpadding="0" cellspacing="0" style="font-size:9pt;"&gt;&lt;TBODY&gt;&lt;TR align="left"&gt;&lt;TH nowrap="nowrap"&gt;&lt;B&gt;OrderDate&lt;/B&gt; &lt;B&gt;&lt;/B&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;B&gt;Year&lt;/B&gt; &lt;B&gt;&lt;/B&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;B&gt;Month&lt;/B&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;24/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;25/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;28/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;29/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;30/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE bgcolor="white" border="1" cellpadding="0" cellspacing="0" style="font-size:9pt;"&gt;&lt;TBODY&gt;&lt;TR align="left"&gt;&lt;TH nowrap="nowrap"&gt;&lt;B&gt;OrderDate&lt;/B&gt;&lt;B&gt;&lt;/B&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;B&gt;Year&lt;/B&gt;&lt;B&gt;&lt;/B&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;B&gt;Month&lt;/B&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;24/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;25/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;28/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;29/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="left"&gt;&lt;TD align="right" bgcolor="white"&gt;30/03/1994&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;TD bgcolor="white"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Check your logic of generating the Master Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 19:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219675#M72666</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-12-13T19:31:37Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219676#M72667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you to both yourself and Oleg for your reponses. I have "hard-coded" the max and min dates which eliminated the problem. It does beg the question as to why the pieces of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LET&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did not appear to pick up the Lowest and Highest OrderDates - or at least the Highest one.&lt;/P&gt;varMaxDate = Num(Peek('Orders.OrderDate',-1,'Orders')); varMinDate = Num(Peek('Orders.OrderDate',0,'Orders'));&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 12:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219676#M72667</guid>
      <dc:creator />
      <dc:date>2010-12-14T12:08:55Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219677#M72668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry - let me try again this time using the suggestion to copy in via Word:&lt;/P&gt;&lt;P&gt;LET varMinDate = Num(Peek('Orders.OrderDate',0,'Orders'));&lt;/P&gt;&lt;P&gt;LET varMaxDate = Num(Peek('Orders.OrderDate',-1,'Orders'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 12:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219677#M72668</guid>
      <dc:creator />
      <dc:date>2010-12-14T12:16:07Z</dc:date>
    </item>
    <item>
      <title>Relationship Anomoly?</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219678#M72669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The hard coding generates a lot of unused dates but the following appears to work and do what the original code was supposed to do:&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;Period:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; Min(OrderDate) &lt;B&gt;as&lt;/B&gt; StartDate,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Max(OrderDate) &lt;B&gt;as&lt;/B&gt; EndDate&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;RESIDENT&lt;/B&gt; Orders;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LET&lt;/B&gt; varMinDate = Num(Peek('StartDate',0,'Period'));&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LET&lt;/B&gt; varMaxDate = Num(Peek('EndDate',0,'Period'));&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LET&lt;/B&gt; varToday = num(Today());&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;//***************************&lt;/B&gt; Temporary Calendar****************&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;TempCalendar:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;&lt;I&gt;$(varMinDate)&lt;/I&gt;&lt;/B&gt; + rowno() - 1 &lt;B&gt;as&lt;/B&gt; Num,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;date(&lt;B&gt;&lt;I&gt;$(varMinDate)&lt;/I&gt;&lt;/B&gt; + rowno() -1) &lt;B&gt;AS&lt;/B&gt; TempDate&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;AUTOGENERATE&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;&lt;I&gt;$(varMaxDate)&lt;/I&gt;&lt;/B&gt;-&lt;B&gt;&lt;I&gt;$(varMinDate)&lt;/I&gt;&lt;/B&gt;+1;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="font-style: italic; line-height: normal; margin: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;MasterCalendar:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;LOAD&lt;/B&gt; TempDate &lt;B&gt;as&lt;/B&gt; OrderDate,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;week(TempDate) &lt;B&gt;as&lt;/B&gt; Week,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Year(TempDate) &lt;B&gt;as&lt;/B&gt; Year,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Month(TempDate) &lt;B&gt;as&lt;/B&gt; Month,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Day(TempDate) &lt;B&gt;as&lt;/B&gt; Day,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;WeekDay(TempDate) &lt;B&gt;as&lt;/B&gt; WeekDay,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;'Q'&amp;amp;ceil(Month(TempDate)/3) &lt;B&gt;AS&lt;/B&gt; Quarter,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Date(monthstart(TempDate),'MMM-YYYY') &lt;B&gt;As&lt;/B&gt; MonthYear,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Week(TempDate)&amp;amp;'-'&amp;amp;Year(TempDate) &lt;B&gt;AS&lt;/B&gt; WeekYear,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;inyeartodate(TempDate,&lt;B&gt;&lt;I&gt;$(varToday)&lt;/I&gt;&lt;/B&gt;,0)*-1 &lt;B&gt;AS&lt;/B&gt; CurYTDFlag,&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;inyeartodate(TempDate,&lt;B&gt;&lt;I&gt;$(varToday)&lt;/I&gt;&lt;/B&gt;,-1)*-1 &lt;B&gt;AS&lt;/B&gt; LastYTDFlag&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;RESIDENT&lt;/B&gt; TempCalendar&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;ORDER&lt;/B&gt; &lt;B&gt;BY&lt;/B&gt; TempDate ASC;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;DROP&lt;/B&gt; &lt;B&gt;TABLE&lt;/B&gt; &lt;I&gt;TempCalendar;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 12:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-Anomoly/m-p/219678#M72669</guid>
      <dc:creator />
      <dc:date>2010-12-14T12:54:46Z</dc:date>
    </item>
  </channel>
</rss>

