<?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 incorrect values. Help! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Master-Calendar-incorrect-values-Help/m-p/1575362#M456777</link>
    <description>Pl post a mock up.</description>
    <pubDate>Tue, 30 Apr 2019 22:31:04 GMT</pubDate>
    <dc:creator>Qrishna</dc:creator>
    <dc:date>2019-04-30T22:31:04Z</dc:date>
    <item>
      <title>Master Calendar incorrect values. Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-incorrect-values-Help/m-p/1575357#M456776</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have posted a couple questions that are centered around my dates in my expressions. I now realize I think my master calendar is messed up. I have two dates that I have linked together and created a master calendar please see below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Calendar.PNG" style="width: 635px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11241i4473864CF78A246C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Calendar.PNG" alt="Calendar.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed when I went to select month of Jan to see how many BIDS and JOBS were in the month of Jan I noticed the Date field is all messed up.&amp;nbsp; How do I fix this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Table.PNG" style="width: 543px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11242iEC093998FBC3C463/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table.PNG" alt="Table.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is my Calendar Script&amp;nbsp;&lt;/P&gt;&lt;P&gt;DateLink:&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;estimatenumber,&lt;BR /&gt;Date(entrydate,'DD-MM-YYYY') as Date,&lt;BR /&gt;'Entry' as DateType&lt;BR /&gt;Resident Estimate&lt;BR /&gt;//WHERE rewarddate &amp;lt;&amp;gt; null()&lt;BR /&gt;;&lt;BR /&gt;Concatenate(DateLink)&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;estimatenumber,&lt;BR /&gt;Date(rewarddate,'DD-MM-YYYY') as Date,&lt;BR /&gt;'Reward' as DateType&lt;BR /&gt;Resident Estimate&lt;BR /&gt;Where rewarddate &amp;lt;&amp;gt; null()&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Minmaxdates:&lt;BR /&gt;LOAD&lt;BR /&gt;min([Date]) as mindate,&lt;BR /&gt;max([Date]) as maxdate&lt;BR /&gt;Resident [DateLink];&lt;/P&gt;&lt;P&gt;Let vMinDate = Num(Peek('mindate',0,'minmaxdates'));&lt;BR /&gt;Let vMaxDate = Num(Peek('maxdate',0,'minmaxdates'));&lt;/P&gt;&lt;P&gt;DROP table Minmaxdates;&lt;/P&gt;&lt;P&gt;DateRanges:&lt;BR /&gt;LOAD&lt;BR /&gt;$(vMinDate) + IterNo()-1 as dateNum,&lt;BR /&gt;Date($(vMinDate) + IterNo()-1) as Date&lt;BR /&gt;AutoGenerate 1 While $(vMinDate) + IterNo()-1 &amp;lt;= $(vMaxDate);&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;Date as [Date],&lt;BR /&gt;Day(Date) as Day,&lt;BR /&gt;Week(Date) as Week,&lt;BR /&gt;Month(Date) as Month,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month(Date)/3) as Quarter,&lt;BR /&gt;Year(Date) as Year&lt;BR /&gt;Resident DateRanges Order by Date asc;&lt;BR /&gt;&lt;BR /&gt;DROP Tables DateRanges;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-incorrect-values-Help/m-p/1575357#M456776</guid>
      <dc:creator>neena123</dc:creator>
      <dc:date>2024-11-16T20:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar incorrect values. Help!</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-incorrect-values-Help/m-p/1575362#M456777</link>
      <description>Pl post a mock up.</description>
      <pubDate>Tue, 30 Apr 2019 22:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-incorrect-values-Help/m-p/1575362#M456777</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2019-04-30T22:31:04Z</dc:date>
    </item>
  </channel>
</rss>

