<?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 Date Filters with Different Date Fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Date-Filters-with-Different-Date-Fields/m-p/555755#M555362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Behnaz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could create a master calendar with month, quarter, year,... as an island table.&lt;/P&gt;&lt;P&gt;There are many script examples in the community how to create a calender.&lt;/P&gt;&lt;P&gt;In the chart objects you need to work with set analysis expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Create variables for your date fields (Crtl + Alt + V)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vYear&lt;/EM&gt;&amp;nbsp; =Concat(DISTINCT DateIslandYearField,Chr(39)&amp;amp;','&amp;amp;Chr(39))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 1 Expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;SentDateYear = {'$(&lt;EM&gt;vYear&lt;/EM&gt;)'} &amp;gt;} Volume&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 2 Expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;ResponseDateYear = {'$(&lt;EM&gt;vYear&lt;/EM&gt;)'} &amp;gt;} Volume&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Aug 2013 21:14:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-04T21:14:36Z</dc:date>
    <item>
      <title>Creating Date Filters with Different Date Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Date-Filters-with-Different-Date-Fields/m-p/555754#M555361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hello all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am pretty new to Qlikview and I am trying to create a report. I need to have all different date filters&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;such as months, quarters and fiscal years.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;The problem&amp;nbsp; is I have different charts with different date range. For example for one chart I need &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;to have volumes based on sent date and in another chart I need volumes based on the response date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;When I want to create these&amp;nbsp; time filters I need to create them based on 1 date ( as a surce) but I don't want that applies to all &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;charts in my tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;(I have all the dates in one table in my data model).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;So if you faced the same issue I appreciate if you let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Behnaz&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 23:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Date-Filters-with-Different-Date-Fields/m-p/555754#M555361</guid>
      <dc:creator />
      <dc:date>2013-08-02T23:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Date Filters with Different Date Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Date-Filters-with-Different-Date-Fields/m-p/555755#M555362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Behnaz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could create a master calendar with month, quarter, year,... as an island table.&lt;/P&gt;&lt;P&gt;There are many script examples in the community how to create a calender.&lt;/P&gt;&lt;P&gt;In the chart objects you need to work with set analysis expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Create variables for your date fields (Crtl + Alt + V)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vYear&lt;/EM&gt;&amp;nbsp; =Concat(DISTINCT DateIslandYearField,Chr(39)&amp;amp;','&amp;amp;Chr(39))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 1 Expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;SentDateYear = {'$(&lt;EM&gt;vYear&lt;/EM&gt;)'} &amp;gt;} Volume&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 2 Expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;ResponseDateYear = {'$(&lt;EM&gt;vYear&lt;/EM&gt;)'} &amp;gt;} Volume&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Aug 2013 21:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Date-Filters-with-Different-Date-Fields/m-p/555755#M555362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-04T21:14:36Z</dc:date>
    </item>
  </channel>
</rss>

