<?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 Need to populate dates based on the Date object selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169539#M40312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel for the help. This solution also works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Prabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Nov 2010 18:20:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-05T18:20:20Z</dc:date>
    <item>
      <title>Need to populate dates based on the Date object selected</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169535#M40308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;We have a date object (create date) in the sheet as a filter. Based on the date selected in that object we need to populate dates like (create date - 3 days).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if the create date selected is 11/4/2010, we need in the chart table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create date tickets&lt;/P&gt;&lt;P&gt;11/2/2010 10&lt;/P&gt;&lt;P&gt;11/3/2010 20&lt;/P&gt;&lt;P&gt;11/4/2010 30&lt;/P&gt;&lt;P&gt;Please let me know if there is any solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 03:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169535#M40308</guid>
      <dc:creator />
      <dc:date>2010-11-03T03:40:38Z</dc:date>
    </item>
    <item>
      <title>Need to populate dates based on the Date object selected</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169536#M40309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'd do as follows:&lt;/P&gt;&lt;P&gt;First, create a new empty variable, say vDateFrom and use it in a Calendar object, where minimum value equals to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Min(CreateDate)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;and maximum value &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Max(CreateDate)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then, using something like this as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt; CreateDate = {'&amp;gt;=$(=Date(vDateFrom -3))&amp;lt;=$(=Date(vDateFrom))'} &amp;gt;} Tickets)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;CreateDate is formatted in the script as&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Date(CreateDate) AS CreateDate&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 04:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169536#M40309</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-03T04:04:42Z</dc:date>
    </item>
    <item>
      <title>Need to populate dates based on the Date object selected</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169537#M40310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a chart with create date as the dimension, put an expression like the following in order to see the 3 dates preceding the date selected.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Create date]={"&amp;lt;=$(=max([Create date]))&amp;gt;$(=max([Create date])-3)"}&amp;gt;} Tickets)&lt;/P&gt;&lt;P&gt;The 3 can be replaced with a variable and you might have to play with the syntax since max returns a number and create date is a date so sometimes it isn't a direct comparison.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 04:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169537#M40310</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-11-03T04:10:29Z</dc:date>
    </item>
    <item>
      <title>Need to populate dates based on the Date object selected</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169538#M40311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Karl. This worked for me.Just need to add Date(max([Create date])) to your syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Prabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 18:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169538#M40311</guid>
      <dc:creator />
      <dc:date>2010-11-05T18:19:01Z</dc:date>
    </item>
    <item>
      <title>Need to populate dates based on the Date object selected</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169539#M40312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel for the help. This solution also works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Prabu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 18:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-populate-dates-based-on-the-Date-object-selected/m-p/169539#M40312</guid>
      <dc:creator />
      <dc:date>2010-11-05T18:20:20Z</dc:date>
    </item>
  </channel>
</rss>

