<?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: Re: Missing dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492962#M1124710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached example which uses calculate dimension to restrict the dates.&lt;/P&gt;&lt;P&gt;Play around with the &lt;EM&gt;vNumOfDays&lt;/EM&gt; variable and see how it changes the bottom-right chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://quickdevtips.blogspot.com/" title="http://quickdevtips.blogspot.com/"&gt;http://quickdevtips.blogspot.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2014 22:03:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-10T22:03:51Z</dc:date>
    <item>
      <title>Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492957#M1124705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have seen this is a much posted about topic, but i still can't figure out from the existing discussions how to do it for my own data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I have many rows of transaction data and I need this displayed by week on a bar chart, however there are some weeks where there are no transactions. This causes an issue as I need to still display those weeks, but with a zero value. I've read the 'Generating Missing Data.pdf' as well, but can't apply it to my own case as I'm a bit of a beginner!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, weeks commecning 16/12, 23/12 and 30/12 are absent in the chart below, but i need to see them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="51329" alt="chart.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/51329_chart.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script I use for my master calendar is as follows. Any help would be very much appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateMin = Num(MakeDate(2010,7,16));&lt;/P&gt;&lt;P&gt;LET vDateMax = Floor(MonthEnd(Today()));&lt;/P&gt;&lt;P&gt;LET vDateToday = Num(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(vDateMin) + RowNo() - 1 AS DateNumber,&lt;/P&gt;&lt;P&gt;Date($(vDateMin) + RowNo() - 1) AS TempDate&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;WHILE $(vDateMin)+IterNo()-1&amp;lt;= $(vDateMax);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Date(TempDate) AS CalendarDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Standard Date Objects&lt;/P&gt;&lt;P&gt;Day(TempDate) AS CalendarDayOfMonth,&lt;/P&gt;&lt;P&gt;WeekDay(TempDate) AS CalendarDayName,&lt;/P&gt;&lt;P&gt;Week(TempDate) AS CalendarWeekOfYear,&lt;/P&gt;&lt;P&gt;Month(TempDate) AS CalendarMonthName,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; Ceil(Month(TempDate)/3) AS CalendarQuarter,&lt;/P&gt;&lt;P&gt;Year(TempDate) AS CalendarYear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Calendar Date Names&lt;/P&gt;&lt;P&gt;WeekName(TempDate) as CalendarWeekNumberAndYear,&lt;/P&gt;&lt;P&gt;MonthName(TempDate) as CalendarMonthAndYear,&lt;/P&gt;&lt;P&gt;QuarterName(TempDate) as CalendarQuarterMonthsAndYear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Start Dates&lt;/P&gt;&lt;P&gt;DayStart(TempDate) as CalendarDayStart,&lt;/P&gt;&lt;P&gt;WeekStart(TempDate) as CalendarWeekStart,&lt;/P&gt;&lt;P&gt;MonthStart(TempDate) as CalendarMonthStart,&lt;/P&gt;&lt;P&gt;QuarterStart(TempDate) as CalendarQuarterStart,&lt;/P&gt;&lt;P&gt;YearStart(TempDate) as CalendarYearStart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// End Dates&lt;/P&gt;&lt;P&gt;DayEnd(TempDate) as CalendarDayEnd,&lt;/P&gt;&lt;P&gt;WeekEnd(TempDate) as CalendarWeekEnd,&lt;/P&gt;&lt;P&gt;MonthEnd(TempDate) as CalendarMonthEnd,&lt;/P&gt;&lt;P&gt;QuarterEnd(TempDate) as CalendarQuarterEnd,&lt;/P&gt;&lt;P&gt;YearEnd(TempDate) as CalendarYearEnd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Combo Date Examples&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; Ceil(Month(TempDate)/3) &amp;amp; '/' &amp;amp; Year(TempDate) AS CalendarQuarterAndYear,&lt;/P&gt;&lt;P&gt;Year(TempDate) &amp;amp; '/' &amp;amp; 'Q' &amp;amp; Ceil(Month(TempDate)/3) AS CalendarYearAndQuarter,&lt;/P&gt;&lt;P&gt;'Wed ' &amp;amp; DayStart(WeekStart(TempDate) + 3) as CalendarWednesdays&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar ORDER BY TempDate ASC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCalendar;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 08:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492957#M1124705</guid>
      <dc:creator />
      <dc:date>2014-01-10T08:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492958#M1124706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In chart properties, Go to Presentation Tab &amp;gt;&amp;gt; Disable the condition "Suppress Zero values"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in DImensions tab &amp;gt;&amp;gt; Disable Show All Values&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CHeck if this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 08:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492958#M1124706</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2014-01-10T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492959#M1124707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i should also have said I only want the last 6 weeks of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have played around with those settings for hours, and nothing works. The only thing which comes close, is ticking 'show all values', and having 'supress zero values' unticked, but this overrides the 6 week set analysis I am trying to do. Apart from that, it's perfect. I just need to ignore everything before 6 weeks ago and after today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="51335" alt="chart2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/51335_chart2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there was a 'last' option on the dimension limits, this would be so easy!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 09:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492959#M1124707</guid>
      <dc:creator />
      <dc:date>2014-01-10T09:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492960#M1124708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample app with your master calendar and example data?&amp;nbsp; It will be easier to help you if you do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 15:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492960#M1124708</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-10T15:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492961#M1124709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you to create a resident table of your calendar only with Date field, Week field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load Date, Week, resident Calendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you should do a left join of your fact table by date field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(Table)&lt;/P&gt;&lt;P&gt;load * resident [Fact Table];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use limit in the chart properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 19:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492961#M1124709</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2014-01-10T19:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492962#M1124710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached example which uses calculate dimension to restrict the dates.&lt;/P&gt;&lt;P&gt;Play around with the &lt;EM&gt;vNumOfDays&lt;/EM&gt; variable and see how it changes the bottom-right chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://quickdevtips.blogspot.com/" title="http://quickdevtips.blogspot.com/"&gt;http://quickdevtips.blogspot.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 22:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492962#M1124710</guid>
      <dc:creator />
      <dc:date>2014-01-10T22:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492963#M1124711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be really hard for me to provide sample data, is there any point in me providing the app with no data loaded?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 09:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492963#M1124711</guid>
      <dc:creator />
      <dc:date>2014-01-13T09:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492964#M1124712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simplest solution, (although not ideal), would be to only load in the last 6 weeks date in the master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently my minimum date in the master calendar is expressed as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateMin = Num(MakeDate(2010,7,16));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would i change this to be the first Monday of the week, 6 full weeks ago?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 09:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492964#M1124712</guid>
      <dc:creator />
      <dc:date>2014-01-13T09:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492965#M1124713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LET vDateMin = Num(WeekStart(today(),-6));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 13:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492965#M1124713</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-13T13:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Missing dates</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492966#M1124714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks very much&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 13:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-dates/m-p/492966#M1124714</guid>
      <dc:creator />
      <dc:date>2014-01-13T13:59:13Z</dc:date>
    </item>
  </channel>
</rss>

