<?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 Calendars in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681656#M1053045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a calendar in my Qlikview project after using a hard coded one.&amp;nbsp; However on loading the script every thing works fine with the new calendar fields displaying on the sheets,&amp;nbsp; However, when i try to filter using the new calendar fields my dashboard no longer works, but if i revert to inserting the calendar fields in the fact table everything works file.&amp;nbsp; What could be going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2014 21:24:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-22T21:24:29Z</dc:date>
    <item>
      <title>Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681656#M1053045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a calendar in my Qlikview project after using a hard coded one.&amp;nbsp; However on loading the script every thing works fine with the new calendar fields displaying on the sheets,&amp;nbsp; However, when i try to filter using the new calendar fields my dashboard no longer works, but if i revert to inserting the calendar fields in the fact table everything works file.&amp;nbsp; What could be going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 21:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681656#M1053045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T21:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681657#M1053046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the datefieldname in your fact table and the datefieldname in your calendar table should be same, so that the association between the two table being created...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;consider that you have fact table of sales and there is a date field named InvoiceDate&lt;/P&gt;&lt;P&gt;if you have created calendar table with hard coded data, the date should be renamed as InvoiceDate.&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;date as InvoiceDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 21:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681657#M1053046</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-10-22T21:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681658#M1053047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possible cause could be date formatting or time parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ensure that both your calendar and your fact dimension are clear of time parts, e.g. by applying DATE(FLOOR(FactDate))&amp;nbsp; to your date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select a month/year does it impact your charts in any way at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish suggestion is of course also valid if you do not have a real link between your Calendar and Fact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 21:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681658#M1053047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T21:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681659#M1053048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all, i am new to QlikView and i have tried your recommendations, but still failing.&amp;nbsp; The fact table and the calendar are linked through a date field named [Date Dispensed].&amp;nbsp; Please find herewith scripts for the fact table and calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact table name [Main Table]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Main Data]:&lt;/P&gt;&lt;P&gt;LOAD [Script Number], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //[Patient Address], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Drug Name], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Date Dispensed],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Directions, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Repeat or Original], &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; Date([Date Dispensed], 'DD-MM-YYYY') as [Period], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Doctor Name], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Doctor Number], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QTY, &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QTY1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [MedAid Amount], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shortfall, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Med Aid] as [Medical Aid], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Supply days], &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Drug Name1], &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Substitute, &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F17, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Drug Code]&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([Date Dispensed]) as Year,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([Date Dispensed]) as Month,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date([Date Dispensed], 'YYYYMMM') as [Period],&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; Ceil(Month([Date Dispensed]) /3) as [Quarter],&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week([Date Dispensed]) as Week&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(vFolderSourceData)Datawarehouse_2.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Datawarehouse$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar script is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuartersMap:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;RowNo() as Month,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; Ceil (RowNo()/3) as Quarter&lt;/P&gt;&lt;P&gt;AUTOGENERATE (12);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; min(Date(Floor([Date Dispensed]))) as minDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; max(Date(Floor([Date Dispensed]))) as maxDate&lt;/P&gt;&lt;P&gt;Resident [Main Data];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET varMinDate = Num(Peek('minDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;LET varMaxDate = Num(Peek('maxDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(varMinDate) + IterNo()-1 As Num,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date($(varMinDate) + IterNo() - 1) as TempDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoGenerate 1 While $(varMinDate) + IterNo() -1 &amp;lt;= $(varMaxDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoNumber(Year &amp;amp; Quarter, 'QuarterID') as [QuarterID],&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoNumber(Period, 'PeriodID') as [PeriodID]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate as [Date Dispensed],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate) * 100 + Month(TempDate) as [Period],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(TempDate) as Week,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(TempDate) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Day(TempDate) as Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp; YearToDate(TempDate)*-1 as CurYTDFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; YearToDate(TempDate, -1)*-1 as LastYTDFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; InYear(TempDate, MonthStart($(varMaxDate)),-1) as RC12,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(MonthStart(TempDate), 'MMM-YYYY') as MonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ApplyMap('QuartersMap', Month(TempDate), Null()) as Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(Weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as WeekYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; WeekDay(TempDate) as WeekDay&lt;/P&gt;&lt;P&gt;Resident TempCalendar&lt;/P&gt;&lt;P&gt;Order By TempDate asc;&lt;/P&gt;&lt;P&gt;DROP Table TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;////--- Remove the temporary variables&lt;/P&gt;&lt;P&gt;LET varMinDate = Null();&lt;/P&gt;&lt;P&gt;LET varMaxDate = Null();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your assistance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 06:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681659#M1053048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-23T06:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681660#M1053049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all, i am new to QlikView and i have tried your recommendations, but still failing.&amp;nbsp; The fact table and the calendar are linked through a date field named [Date Dispensed].&amp;nbsp; Please find herewith scripts for the fact table and calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact table name [Main Table]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Main Data]:&lt;/P&gt;&lt;P&gt;LOAD [Script Number], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //[Patient Address], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Drug Name], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Date Dispensed],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Directions, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Repeat or Original], &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp; Date([Date Dispensed], 'DD-MM-YYYY') as [Period], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Doctor Name], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Doctor Number], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QTY, &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QTY1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [MedAid Amount], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shortfall, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Med Aid] as [Medical Aid], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Supply days], &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Drug Name1], &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Substitute, &lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F17, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Drug Code]&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([Date Dispensed]) as Year,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([Date Dispensed]) as Month,&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date([Date Dispensed], 'YYYYMMM') as [Period],&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; Ceil(Month([Date Dispensed]) /3) as [Quarter],&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week([Date Dispensed]) as Week&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(vFolderSourceData)Datawarehouse_2.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Datawarehouse$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar script is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QuartersMap:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;RowNo() as Month,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; Ceil (RowNo()/3) as Quarter&lt;/P&gt;&lt;P&gt;AUTOGENERATE (12);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; min(Date(Floor([Date Dispensed]))) as minDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; max(Date(Floor([Date Dispensed]))) as maxDate&lt;/P&gt;&lt;P&gt;Resident [Main Data];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET varMinDate = Num(Peek('minDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;LET varMaxDate = Num(Peek('maxDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(varMinDate) + IterNo()-1 As Num,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date($(varMinDate) + IterNo() - 1) as TempDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoGenerate 1 While $(varMinDate) + IterNo() -1 &amp;lt;= $(varMaxDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoNumber(Year &amp;amp; Quarter, 'QuarterID') as [QuarterID],&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoNumber(Period, 'PeriodID') as [PeriodID]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate as [Date Dispensed],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate) * 100 + Month(TempDate) as [Period],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(TempDate) as Week,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(TempDate) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Day(TempDate) as Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp; YearToDate(TempDate)*-1 as CurYTDFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; YearToDate(TempDate, -1)*-1 as LastYTDFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; InYear(TempDate, MonthStart($(varMaxDate)),-1) as RC12,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(MonthStart(TempDate), 'MMM-YYYY') as MonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ApplyMap('QuartersMap', Month(TempDate), Null()) as Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(Weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as WeekYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; WeekDay(TempDate) as WeekDay&lt;/P&gt;&lt;P&gt;Resident TempCalendar&lt;/P&gt;&lt;P&gt;Order By TempDate asc;&lt;/P&gt;&lt;P&gt;DROP Table TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;////--- Remove the temporary variables&lt;/P&gt;&lt;P&gt;LET varMinDate = Null();&lt;/P&gt;&lt;P&gt;LET varMaxDate = Null();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your assistance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 06:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681660#M1053049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-23T06:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681661#M1053050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess would still be to wrap your [Main Data].[Date Dispensed] as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Floor([Date Dispensed])) as [Date Dispensed]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That would ensure that it is consistent with the minDate and maxDate that you use for building the MasterCalendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 06:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681661#M1053050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-23T06:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681662#M1053051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 07:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681662#M1053051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-23T07:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681663#M1053052</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/happy.png" /&gt;Thank you all, i have tried your recommendations but i am lost somewhere as i am new to QlikView.&amp;nbsp; Here with my scripts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FACT TABLE is [Main Data];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 07:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681663#M1053052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-23T07:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681664#M1053053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, after my last posting of the script, i change the [Date Dispensed] field to Date(Floor([Date Dispensed])) as DateDispensed and made the appropriate changes to the calendar and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most appreciated&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 08:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681664#M1053053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-23T08:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Calendars</title>
      <link>https://community.qlik.com/t5/QlikView/Calendars/m-p/681665#M1053054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, that solved my problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 11:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendars/m-p/681665#M1053054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-23T11:27:12Z</dc:date>
    </item>
  </channel>
</rss>

