<?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: Master Calendar not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205117#M881174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the first thing I did and it's a date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2016 12:57:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-06T12:57:22Z</dc:date>
    <item>
      <title>Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205114#M881171</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'm using the master calendar below and for some odd reason the date fields from the MC are not working, the date from my table and the MC table link, but the data is not filtering in months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used this MC many times before without problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;Date(OrderDate) as OrderDate&lt;/P&gt;&lt;P&gt;//////////////////////// how the date field is&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;****************************************************************************&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;QuartersMap:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;MAPPING LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;rowno() as Month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;'Q' &amp;amp; Ceil (rowno()/3) as Quarter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;AUTOGENERATE (12);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Temp:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; min(OrderDate) as minDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; max(OrderDate) as maxDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Resident Orders;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Let varMinDate = Num(Peek('minDate', 0, 'Temp'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Let varMaxDate = Num(Peek('maxDate', 0, 'Temp'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;DROP Table Temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;TempCalendar:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; $(varMinDate) + Iterno()-1 As Num,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; Date($(varMinDate) + IterNo() - 1) as TempDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; AutoGenerate 1 While $(varMinDate) + IterNo() -1 &amp;lt;= $(varMaxDate);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;MasterCalendar:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; TempDate AS OrderDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; week(TempDate) As Week,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; Year(TempDate) As Year,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; Month(TempDate) As Month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; Day(TempDate) As Day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; YeartoDate(TempDate)*-1 as CurYTDFlag,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; YeartoDate(TempDate,-1)*-1 as LastYTDFlag,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; inyear(TempDate, Monthstart($(varMaxDate)),-1) as RC12,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; date(monthstart(TempDate), 'MMM-YYYY') as MonthYear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; ApplyMap('QuartersMap', month(TempDate), Null()) as Quarter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; Week(weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as WeekYear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt; WeekDay(TempDate) as WeekDay&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Resident TempCalendar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Order By TempDate ASC;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #363636;"&gt;Drop Table TempCalendar;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205114#M881171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205115#M881172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked if these variables are working fine?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #363636;"&gt;&lt;STRONG&gt;Let varMinDate = Num(Peek('minDate', 0, 'Temp'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #363636;"&gt;&lt;STRONG&gt;Let varMaxDate = Num(Peek('maxDate', 0, 'Temp'));&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #363636;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #363636;"&gt;May be add a trace statement to check them&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #363636;"&gt;&lt;STRONG&gt;TRACE $(varMinDate);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #363636; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;STRONG&gt;TRACE $(varMaxDate);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 12:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205115#M881172</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-06T12:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205116#M881173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Important thing here is to make sure that your OrderDate is correctly interpreted as date by QlikView&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 12:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205116#M881173</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-06T12:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205117#M881174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the first thing I did and it's a date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 12:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205117#M881174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-06T12:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205118#M881175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does you date in Orders table include time component for any reason? If they do, then the connection won't occur unless you use Floor statement in the Orders table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Orders:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Date(Floor(OrderDate)) as OrderDate&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 12:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205118#M881175</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-06T12:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205119#M881176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 13:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205119#M881176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-06T13:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205120#M881177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;Schoolboy error my end &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 13:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1205120#M881177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-06T13:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1602326#M881178</link>
      <description>&lt;P&gt;Very useful tip! Had the same issue but the source of data changed for me and was pulling in the timestamp too. This massively helped!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 13:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1602326#M881178</guid>
      <dc:creator>GDJ100</dc:creator>
      <dc:date>2019-07-15T13:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar not working</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1612927#M881179</link>
      <description>&lt;P&gt;stoked i found this. thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 14:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-not-working/m-p/1612927#M881179</guid>
      <dc:creator>zbeauchemin</dc:creator>
      <dc:date>2019-08-15T14:34:08Z</dc:date>
    </item>
  </channel>
</rss>

