<?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: Generate Dates with specific intervals within a range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215129#M856469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works.Thanks Sunny&lt;/P&gt;&lt;P&gt;Really Appreciate your quick response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Feb 2017 22:37:16 GMT</pubDate>
    <dc:creator>umashankarus</dc:creator>
    <dc:date>2017-02-05T22:37:16Z</dc:date>
    <item>
      <title>Generate Dates with specific intervals within a range</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215127#M856467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If current date is 2/5/17,&lt;/P&gt;&lt;P&gt;how to create dates with interval of 7 days such as&amp;nbsp; &amp;gt;&amp;gt;&amp;gt;&amp;nbsp; 1/6/17, 1/13/17, 1/20/17, 1/27/17, 2/3/17 ?&lt;/P&gt;&lt;P&gt;within the past 'n' days (say, past 30 days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Umashankar&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/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215127#M856467</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Dates with specific intervals within a range</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215128#M856468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(AddMonths(Today(), -1) -6 +(IterNo()*7)) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While AddMonths(Today(), -1) -6 +(IterNo()*7) &amp;lt;= Today();&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2017 22:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215128#M856468</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-05T22:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Dates with specific intervals within a range</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215129#M856469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works.Thanks Sunny&lt;/P&gt;&lt;P&gt;Really Appreciate your quick response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2017 22:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215129#M856469</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-02-05T22:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Dates with specific intervals within a range</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215130#M856470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure what you were looking for, here is another approach that will always look at the past x days (not depending on the number of days in a month), and will always return a specific weekday (not dates with a specific distance from today)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AllFridaysInPast30Days:&lt;/P&gt;&lt;P&gt;LOAD Date&lt;/P&gt;&lt;P&gt;WHERE Weekday(Date) = 5; // 5 = Friday&lt;/P&gt;&lt;P&gt;LOAD Date(Today()-31 + Recno()) as Date&lt;/P&gt;&lt;P&gt;AutoGenerate 31;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use more sophisticated maths to reduce the loop needed, but I think above is easier to maintain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2017 23:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215130#M856470</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-02-05T23:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Dates with specific intervals within a range</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215131#M856471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;I am trying to generate a trend chart &lt;BR /&gt;a) dimensions - with above date intervals for past 1 month&lt;BR /&gt;b) expression - count over a field that falls within this date range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there better option or pl point me to any design blog / thread that already discusses this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 00:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215131#M856471</guid>
      <dc:creator>umashankarus</dc:creator>
      <dc:date>2017-02-06T00:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Dates with specific intervals within a range</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215132#M856472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, not really sure what you want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe just create a master calendar for your date field in your fact table (whatever fact you want to count in your expression), and then create a field using Weekstart() to group your Dates in 7-days intervals (you can set the weekday in the weekstart() function).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an approach when you actually want to group your data (group your facts in 7-days intervals).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a calculated dimension or set analysis to filter the data to the last x days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2802"&gt;The Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 08:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1215132#M856472</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-02-06T08:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Generate Dates with specific intervals within a range</title>
      <link>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1624425#M856473</link>
      <description>&lt;P&gt;How can I take the end date of a range chosen in the date range picker object by a user, and use that as a reference to generate a list of dates in the range at a frequency chosen in a drop down (daily, weekly, monthly)? for example, if the range chosen is 1/1/2018-3/24/2018, and the frequency chosen is monthly, the list would be 1/24/2018, 2/24/2018, 3/24/2018.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 02:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generate-Dates-with-specific-intervals-within-a-range/m-p/1624425#M856473</guid>
      <dc:creator>wh1009</dc:creator>
      <dc:date>2019-09-17T02:24:18Z</dc:date>
    </item>
  </channel>
</rss>

