<?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: Dates Comparison in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-Comparison-in-Set-Analysis/m-p/1082360#M360580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ultimate Solution.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt; Thanks a lot.. It resolved my issue.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2016 12:29:07 GMT</pubDate>
    <dc:creator>malimohammed</dc:creator>
    <dc:date>2016-02-22T12:29:07Z</dc:date>
    <item>
      <title>Dates Comparison in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-Comparison-in-Set-Analysis/m-p/1082358#M360578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We need to compare date fields in set analysis expression. These dates are in different tables and are not linked with each other. Let me elaborate. I have three dates nOpenDate, nClosedDate and a MasterDate. nOpenDate and nClosedDate are in a the same table whereas MasterDate is a date created using MasterCalendar Script which is not linked to any table in the Data Model.&lt;/P&gt;&lt;P&gt;The requirement is to count Open and Closed Incidents&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; on a particular date(MasterDate)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;. If we would have linked the master date to our incident table which contains nOpenDate &amp;amp; n ClosedDate using any one of them I would get the count based on the date which has been linked to MasterDate which is not needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a bar chart using &lt;STRONG&gt;MasterDate as dimension&lt;/STRONG&gt; and using the following expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Count Open Tickets on a Particular Day: count({&amp;lt;nStatus={'Open'},MasterDate={'Date(nOpenDate)'}&amp;gt;}ItemID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count of Closed Tickets: count({&amp;lt;nStatus={'Closed'},MasterDate={'Date(nClosedDate)'}&amp;gt;}ItemID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The issue is I'm getting the same count for all the dates which is incorrect. Each day should have its respective open and Closed incident count. I believe I'm missing something or the logic is incorrect.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt; I would appreciate if someone could help me in this regard. &lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="master_open_close.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115426_master_open_close.JPG" style="height: 391px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 08:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-Comparison-in-Set-Analysis/m-p/1082358#M360578</guid>
      <dc:creator>malimohammed</dc:creator>
      <dc:date>2016-02-22T08:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dates Comparison in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-Comparison-in-Set-Analysis/m-p/1082359#M360579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest using a canonical date instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 10:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-Comparison-in-Set-Analysis/m-p/1082359#M360579</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-22T10:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dates Comparison in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-Comparison-in-Set-Analysis/m-p/1082360#M360580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ultimate Solution.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt; Thanks a lot.. It resolved my issue.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 12:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-Comparison-in-Set-Analysis/m-p/1082360#M360580</guid>
      <dc:creator>malimohammed</dc:creator>
      <dc:date>2016-02-22T12:29:07Z</dc:date>
    </item>
  </channel>
</rss>

