<?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: creating an inline table with the last 60 dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/creating-an-inline-table-with-the-last-60-dates/m-p/345680#M703638</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;Use AutoGenerate with Load.&amp;nbsp; Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempDates:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Today() - RecNo( )) as Dates&lt;/P&gt;&lt;P&gt;autogenerate(61);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Jun 2012 18:44:59 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2012-06-09T18:44:59Z</dc:date>
    <item>
      <title>creating an inline table with the last 60 dates</title>
      <link>https://community.qlik.com/t5/QlikView/creating-an-inline-table-with-the-last-60-dates/m-p/345679#M703637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am terribly new to Qlikview, forgive me if this is old hat (though I searched a lot without finding a definite solution). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have a bar chart to show my last 60 days of sales performance.&amp;nbsp; Occasionally we have a day with zero sales.&amp;nbsp; But I want that to show, too.&amp;nbsp; If I set the dimension to be the "date of sale" then those zero bars will not show.&amp;nbsp; I want to force the chart to show stats, even if zero, for 60 periods. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way I thought might work, would be to Load Inline a table consisting of the last 60 dates, and then use it as the dimension for the bar chart.&amp;nbsp; That way it would keep the dates fresh, no hardcoding, and there would never be a missing date when we have no sales.&amp;nbsp; But the inline load system doesn't like any of the formulas I tried for obtaining a date, it just loads them, not their calculated values.&amp;nbsp; I also tried a DO...WHILE loop to inline-load the 60 dates, and again couldn't get real dates into the table, just formulas.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any advice that you might have!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hanno&lt;/P&gt;&lt;P&gt;Maryland &amp;amp; Deutschland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2012 16:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-an-inline-table-with-the-last-60-dates/m-p/345679#M703637</guid>
      <dc:creator />
      <dc:date>2012-06-09T16:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: creating an inline table with the last 60 dates</title>
      <link>https://community.qlik.com/t5/QlikView/creating-an-inline-table-with-the-last-60-dates/m-p/345680#M703638</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;Use AutoGenerate with Load.&amp;nbsp; Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempDates:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Today() - RecNo( )) as Dates&lt;/P&gt;&lt;P&gt;autogenerate(61);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2012 18:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-an-inline-table-with-the-last-60-dates/m-p/345680#M703638</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-06-09T18:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: creating an inline table with the last 60 dates</title>
      <link>https://community.qlik.com/t5/QlikView/creating-an-inline-table-with-the-last-60-dates/m-p/345681#M703639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jagan, that works great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hanno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2012 13:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-an-inline-table-with-the-last-60-dates/m-p/345681#M703639</guid>
      <dc:creator />
      <dc:date>2012-06-10T13:11:21Z</dc:date>
    </item>
  </channel>
</rss>

