<?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 for date_range field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672796#M50941</link>
    <description>&lt;P&gt;Here is the error what i got after reloding the data&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (7).png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28033i81EFCEB8E6D8C6D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (7).png" alt="Screenshot (7).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2020 07:58:12 GMT</pubDate>
    <dc:creator>Naresh1</dc:creator>
    <dc:date>2020-02-06T07:58:12Z</dc:date>
    <item>
      <title>Master Calendar for date_range field</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672780#M50935</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I want to create master calendar for Date_Ranges field, in that field having values like this '1-12-2019 to 12-12-2019',&lt;/P&gt;&lt;P&gt;'13-12-2019 to 26-12-2019',&lt;/P&gt;&lt;P&gt;how can i do&lt;/P&gt;&lt;P&gt;i am trying to do this below script, after re loding it shows error&lt;/P&gt;&lt;P&gt;Min_Max:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Min(Date_Ranges) as MinDate,&lt;/P&gt;&lt;P&gt;Max(Date_Ranges) as MaxDate&lt;/P&gt;&lt;P&gt;Resident cost;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vMinDate =Num(Peek('MinDate',0,'Min_Max'));&lt;/P&gt;&lt;P&gt;Let vMaxDate = Num(Peek('MaxDate',0,'Min_Max'));&lt;/P&gt;&lt;P&gt;drop table Min_Max;&lt;BR /&gt;DateRanges:&lt;BR /&gt;Load&lt;BR /&gt;$(vMinDate)+IterNo()-1 as DateNum,&lt;BR /&gt;Date($(vMinDate)+IterNo()-1) as TempDate&lt;BR /&gt;AutoGenerate 1 while $(vMinDate)+IterNo()-1 &amp;lt;= $(vMaxDate);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Master_Calendar:&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;TempDate as Date_Ranges,&lt;/P&gt;&lt;P&gt;MonthName(TempDate) as MonthName,&lt;/P&gt;&lt;P&gt;QuarterName(TempDate) as QuarterName,&lt;/P&gt;&lt;P&gt;YearName(TempDate) as YearName,&lt;/P&gt;&lt;P&gt;'Q'&amp;amp;Ceil(Month(TempDate)/3) as Quarter,&lt;/P&gt;&lt;P&gt;Year(TempDate) as Year,&lt;/P&gt;&lt;P&gt;Month(TempDate) as Month,&lt;/P&gt;&lt;P&gt;WeekDay(TempDate) as WeekDay&lt;BR /&gt;&lt;BR /&gt;Resident DateRanges Order by TempDate asc;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drop table DateRanges;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 07:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672780#M50935</guid>
      <dc:creator>Naresh1</dc:creator>
      <dc:date>2020-02-06T07:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for date_range field</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672790#M50939</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;i am trying to do this below script, after re loding it shows error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It would help if you could describe the error a little, so that people don't need to do detective work to understand the problem...&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 07:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672790#M50939</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2020-02-06T07:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for date_range field</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672796#M50941</link>
      <description>&lt;P&gt;Here is the error what i got after reloding the data&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (7).png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28033i81EFCEB8E6D8C6D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (7).png" alt="Screenshot (7).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 07:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672796#M50941</guid>
      <dc:creator>Naresh1</dc:creator>
      <dc:date>2020-02-06T07:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for date_range field</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672874#M50958</link>
      <description>&lt;P&gt;The dates are being read as strings. You need to help QV convert them into dates:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Load
    Min(Date#(Date_Ranges, 'dd-MM-yyyy')) as MinDate,
    Max(Date#(Date_Ranges, 'dd-MM-yyyy')) as MaxDate
Resident cost;&lt;/LI-CODE&gt;&lt;P&gt;This assumes the dates are strings in the format dd-MM-yyyy.&amp;nbsp; If that does not work, I suggest you extract a sample of the Date_Ranges field&amp;nbsp; to investigate further.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 10:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672874#M50958</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2020-02-06T10:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar for date_range field</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672876#M50959</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My manager just now told me , Split these values then create master calendar for from_date field&lt;/P&gt;&lt;P&gt;I have Date Field in that field having values like '1.10.2019 to 12.10.2019'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' 13.10.2019 to 26.10.2019'&lt;/P&gt;&lt;P&gt;i want to split this values into two fields,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;From_Date field:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To_Date:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'1.10.2019'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'12.10.2019'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;' 13.10.2019'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ' 26.10.2019'&lt;/P&gt;&lt;P&gt;How can i do?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 11:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-for-date-range-field/m-p/1672876#M50959</guid>
      <dc:creator>Naresh1</dc:creator>
      <dc:date>2020-02-06T11:09:22Z</dc:date>
    </item>
  </channel>
</rss>

