<?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: how to create date range which selects all dates within range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437436#M811816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain what you mean by a "flag for the last 10 days"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2017 17:18:08 GMT</pubDate>
    <dc:creator>sarahshong</dc:creator>
    <dc:date>2017-10-04T17:18:08Z</dc:date>
    <item>
      <title>how to create date range which selects all dates within range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437434#M811814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Community, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not a specific problem, but looking for route to a solution for a dilemma I am having with my date. &lt;/P&gt;&lt;P&gt;I am pulling a table that includes a list of about 1000 dates. Each of the dates are associated with a monetary amount. I want to create a range that takes every date and 10 dates before that date (when dates are in order). I have created a label using mapping to find the 10th date prior to a given date (Prev_Date). Then i used that create a label for the 10 day range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap('Prev_Date_Map',DATE,'Unmapped') as PREV_DATE&lt;/P&gt;&lt;P&gt;ApplyMap(&lt;SPAN style="font-size: 13.3333px;"&gt;'Prev_Date_Map',DATE,'Unmapped'&lt;/SPAN&gt;)&amp;amp;'-'&amp;amp;Date(DATE,'MM/DD/YYYY') as Date_Range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my goal is to make it so that when I select a date range, a list box for 'DATE' will select all the dates that fall within this range. &lt;/P&gt;&lt;P&gt;so if Date_Range = 1/1/2017-1/1/10/2017 then the list box would bring up&lt;/P&gt;&lt;P&gt;1/1/2017&lt;/P&gt;&lt;P&gt;1/2/2017&lt;/P&gt;&lt;P&gt;1/3/2017&lt;/P&gt;&lt;P&gt;1/4/2017&lt;/P&gt;&lt;P&gt;1/5/2017&lt;/P&gt;&lt;P&gt;1/6/2017&lt;/P&gt;&lt;P&gt;1/7/2017&lt;/P&gt;&lt;P&gt;1/8/2017&lt;/P&gt;&lt;P&gt;1/9/2017&lt;/P&gt;&lt;P&gt;1/10/2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example I am using all available dates in order, but my data set has missing date so I will need to pull up dates within the range that exist in the dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure which route I need to go. I've contemplated doing something with set analysis within the front end, creating a separate table within the load, or possibly a trigger. But i'm fairly new to Qlikview so would appreciate some advice.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437434#M811814</guid>
      <dc:creator>sarahshong</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to create date range which selects all dates within range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437435#M811815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a As-Of Table &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt; with a flag for last 10 days&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 18:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437435#M811815</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-09-28T18:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to create date range which selects all dates within range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437436#M811816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain what you mean by a "flag for the last 10 days"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437436#M811816</guid>
      <dc:creator>sarahshong</dc:creator>
      <dc:date>2017-10-04T17:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to create date range which selects all dates within range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437437#M811817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this may be helpful&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/276729"&gt;ApplyMap&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437437#M811817</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-10-04T17:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to create date range which selects all dates within range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437438#M811818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background-color: #f5faf0;"&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437438#M811818</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-10-04T17:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to create date range which selects all dates within range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437439#M811819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;TableWithDate:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Date(Today()-RecNo()) as date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rand() as Value&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;autogenerate 1000;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DatesGroup:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;date(date-9) &amp;amp; '-' &amp;amp; date as [10 dates],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;date(date - iterno() +1) as date&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident TableWithDate&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;while IterNo() &amp;lt;= 10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178626_1.png" style="height: auto; width: auto;" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 18:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-date-range-which-selects-all-dates-within-range/m-p/1437439#M811819</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2017-10-04T18:46:44Z</dc:date>
    </item>
  </channel>
</rss>

