<?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: Issue with Master Calendar in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424879#M96032</link>
    <description>&lt;P&gt;It appears your CALENDAR table is not correctly linked to your fact table. What is the subset ratio (from Data Model Viewer preview) on both ends of the %Date field?&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 18:20:25 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2024-02-28T18:20:25Z</dc:date>
    <item>
      <title>Issue with Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424640#M96012</link>
      <description>&lt;P&gt;This has been generated independently of the master calendar and is populating accurately.&lt;/P&gt;
&lt;P&gt;Year(Date(MakeDate(year, quarter * 3 - 2), 'DD/MM/YYYY'))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kwame_0-1709118323691.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160823iC57918B9F4E376DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kwame_0-1709118323691.png" alt="Kwame_0-1709118323691.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But once I try with the Year field derived from the master calendar, it appears somewhat scattered or sparse&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kwame_1-1709118422454.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160824i51C57D3313CD3FC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kwame_1-1709118422454.png" alt="Kwame_1-1709118422454.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What could be the issue here?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424640#M96012</guid>
      <dc:creator>Kwame</dc:creator>
      <dc:date>2024-11-15T21:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424864#M96027</link>
      <description>&lt;P&gt;Can you post your expression using the derived field?&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 17:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424864#M96027</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-02-28T17:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424870#M96029</link>
      <description>&lt;P&gt;Year(Date(MakeDate(year, quarter * 3 - 2), 'DD/MM/YYYY')) as YEAR&lt;/P&gt;
&lt;P&gt;and the date field for my calendar;&lt;/P&gt;
&lt;P&gt;Date(MakeDate(year, quarter * 3 - 2), 'DD/MM/YYYY') as %Date&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/**************** Generate Calender ********************
CALENDER:
Load 
 Date(TempDate) AS %Date, 
 week(TempDate) As Week, 
 Year(TempDate) As Year, 
 Month(TempDate) As Month, 
 Day(TempDate) As Day, 
 'Q' &amp;amp; ceil(month(TempDate) / 3) AS Quarter, 
 Week(weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as WeekYear, 
 WeekDay(TempDate) as WeekDay,
 'Q' &amp;amp; Ceil(Month(Date(TempDate,'DD/MM/YYYY')) / 3)&amp;amp;'-' &amp;amp; Year(Date(TempDate,'DD/MM/YYYY')) as QuarterYear ;

//=== Generate a temp table of dates === 
LOAD 
 date(mindate + IterNo()) AS TempDate
 ,maxdate // Used in InYearToDate() above, but not kept 
WHILE mindate + IterNo() &amp;lt;= maxdate;

//=== Get min/max dates from Field ===/
LOAD
 min(FieldValue('%Date', recno()))-1 as mindate,
 max(FieldValue('%Date', recno())) as maxdate
AUTOGENERATE FieldValueCount('%Date');&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 18:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424870#M96029</guid>
      <dc:creator>Kwame</dc:creator>
      <dc:date>2024-02-28T18:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424879#M96032</link>
      <description>&lt;P&gt;It appears your CALENDAR table is not correctly linked to your fact table. What is the subset ratio (from Data Model Viewer preview) on both ends of the %Date field?&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 18:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424879#M96032</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-02-28T18:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424881#M96033</link>
      <description>&lt;P&gt;Your Calendar Date and Fact Table Date are not linked properly. Check following points&lt;/P&gt;
&lt;P&gt;1. Date format&lt;/P&gt;
&lt;P&gt;2. Calendar creation method&lt;/P&gt;
&lt;P&gt;3. If you are creating the date by min-max date then check the Min and Max date format.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 18:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424881#M96033</guid>
      <dc:creator>Dhirendra_Kharwar__13373</dc:creator>
      <dc:date>2024-02-28T18:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424883#M96034</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kwame_0-1709145084897.png" style="width: 591px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160880i9F48AF57CFEDF0D5/image-dimensions/591x173?v=v2" width="591" height="173" role="button" title="Kwame_0-1709145084897.png" alt="Kwame_0-1709145084897.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 18:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424883#M96034</guid>
      <dc:creator>Kwame</dc:creator>
      <dc:date>2024-02-28T18:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424888#M96035</link>
      <description>&lt;P&gt;Script&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;/**************** Generate Calender ********************&lt;BR /&gt;CALENDER:&lt;BR /&gt;Load &lt;BR /&gt;Date(TempDate) AS %Date, &lt;BR /&gt;week(TempDate) As Week, &lt;BR /&gt;Year(TempDate) As Year, &lt;BR /&gt;Month(TempDate) As Month, &lt;BR /&gt;Day(TempDate) As Day, &lt;BR /&gt;'Q' &amp;amp; ceil(month(TempDate) / 3) AS Quarter, &lt;BR /&gt;Week(weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as WeekYear, &lt;BR /&gt;WeekDay(TempDate) as WeekDay,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month(Date(TempDate,'DD/MM/YYYY')) / 3)&amp;amp;'-' &amp;amp; Year(Date(TempDate,'DD/MM/YYYY')) as QuarterYear ;&lt;/P&gt;
&lt;P&gt;//=== Generate a temp table of dates === &lt;BR /&gt;LOAD &lt;BR /&gt;date(mindate + IterNo()) AS TempDate&lt;BR /&gt;,maxdate // Used in InYearToDate() above, but not kept &lt;BR /&gt;WHILE mindate + IterNo() &amp;lt;= maxdate;&lt;/P&gt;
&lt;P&gt;//=== Get min/max dates from Field ===/&lt;BR /&gt;LOAD&lt;BR /&gt;min(FieldValue('%Date', recno()))-1 as mindate,&lt;BR /&gt;max(FieldValue('%Date', recno())) as maxdate&lt;BR /&gt;AUTOGENERATE FieldValueCount('%Date');&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;SET DateFormat='&lt;STRONG&gt;DD/MM/YYYY&lt;/STRONG&gt;';&lt;/P&gt;
&lt;P&gt;Date(MakeDate(year, quarter * 3 - 2), '&lt;STRONG&gt;DD/MM/YYYY&lt;/STRONG&gt;') as %Date&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 18:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424888#M96035</guid>
      <dc:creator>Kwame</dc:creator>
      <dc:date>2024-02-28T18:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424949#M96039</link>
      <description>&lt;P&gt;You have to select the %Date field to see the subset ratio.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rwunderlich_0-1709158988592.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160902iCAAB65B1B4B795A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rwunderlich_0-1709158988592.png" alt="rwunderlich_0-1709158988592.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 22:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-Master-Calendar/m-p/2424949#M96039</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-02-28T22:23:17Z</dc:date>
    </item>
  </channel>
</rss>

