<?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: Re: Comparison date range selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516539#M481064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine in chart for both alternate state, the only problem is selection in calendar cannot activate the corresponding date selection as shown in the attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chanel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2013 08:26:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-24T08:26:51Z</dc:date>
    <item>
      <title>Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516532#M481057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached herewith a document with little problem in date range selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't activate the date selection from calendar, it is only working with list box selection (but list box is not desired).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Root cause 1:&lt;BR /&gt;Might because the variables (vStartDate,vEndDate,vComparisonStartDate and vComparisonEndDate) are in "num" format type, how do I set the variable in date type?&lt;/P&gt;&lt;P&gt;Actually all variables are getting value from ShortCreatedDate while my ShortCreatedDate is already in date type as shown in script:&lt;/P&gt;&lt;H5&gt;&lt;EM&gt;Date(floor(ShortCreatedDateTime),'YYYY-MM-DD') as ShortCreatedDate&lt;/EM&gt;&lt;/H5&gt;&lt;P&gt;I am not sure why it still shows "num" format...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Root cause 2:&lt;/P&gt;&lt;P&gt;All the variables are unable to activate the field correctly, I have set up both field event triggers and variable event triggers.&lt;/P&gt;&lt;P&gt;Anyone can help to take a look? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Chanel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 03:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516532#M481057</guid>
      <dc:creator />
      <dc:date>2013-10-24T03:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516533#M481058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;I have tried for vStartDate, vEndDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 05:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516533#M481058</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-24T05:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516534#M481059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for fast response! I want to have 2 date selection.&lt;/P&gt;&lt;P&gt;This is the most important part on dashboard.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="48051" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/48051_pastedImage_1.png" style="width: 620px; height: 41px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User can choose 2 date ranges to make comparison in a single chart as shown in chart below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/48054_pastedImage_0.png" style="width: 620px; height: 180px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chanel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 07:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516534#M481059</guid>
      <dc:creator />
      <dc:date>2013-10-24T07:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516535#M481060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chanel,&lt;/P&gt;&lt;P&gt;have you seen this video, on selecting From, To Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it might help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.youtube.com/watch?v=UTDyO68BYL8" title="http://www.youtube.com/watch?v=UTDyO68BYL8"&gt;Selecting Arbitrary Date Ranges - YouTube&lt;/A&gt;&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 08:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516535#M481060</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2013-10-24T08:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516536#M481061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried making the similar fixes for variables- vComparisonStatDate and vComparisonEndDate ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 08:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516536#M481061</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-24T08:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516537#M481062</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;Try this expressions&lt;/P&gt;&lt;P&gt;=count( {Analysis}&amp;nbsp; aggr(If(ShortCreatedDate &amp;gt;=vStartDate AND&amp;nbsp; ShortCreatedDate &amp;lt;= vEndDate, 1), BrandName, ShortCreatedDate, Post )&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count( {Comparator} aggr(If(ShortCreatedDate &amp;gt;=vComparisonStartDate AND&amp;nbsp; ShortCreatedDate &amp;lt;= vComparisonStartDate, 1), BrandName, ShortCreatedDate ,Post ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 08:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516537#M481062</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-24T08:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516538#M481063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yupe, I edited all variables as shown in attached document.&lt;/P&gt;&lt;P&gt;But it still cannot work well. Kindly advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;Chanel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 08:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516538#M481063</guid>
      <dc:creator />
      <dc:date>2013-10-24T08:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516539#M481064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine in chart for both alternate state, the only problem is selection in calendar cannot activate the corresponding date selection as shown in the attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chanel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 08:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516539#M481064</guid>
      <dc:creator />
      <dc:date>2013-10-24T08:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison date range selection</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516540#M481065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Create a new key field by concatenating &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BrandID &amp;amp; ShortCreatedDate &lt;SPAN style="color: #800000;"&gt;&amp;amp; Post in load and use this in set analysis like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({[Analysis] &amp;lt;ShortCreatedDate*={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'} &amp;gt;} Distinct KeyField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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>Thu, 24 Oct 2013 09:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-date-range-selection/m-p/516540#M481065</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-24T09:41:29Z</dc:date>
    </item>
  </channel>
</rss>

