<?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: Set Analysis Logic in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521240#M7545</link>
    <description>&lt;P&gt;My bad, I missed a double quote and changed the sign from &amp;gt; to &amp;lt; for Incident_START_DATE... try this&lt;/P&gt;&lt;PRE&gt;Count({&amp;lt;[Incident Id] = {"=Incident_START_DATE &lt;FONT color="#FF0000"&gt;&amp;lt;&lt;/FONT&gt; Today() - 21&lt;FONT color="#FF0000"&gt;"&lt;/FONT&gt;}, CATEGORY = {"*"}&amp;gt;} DISTINCT [Incident Id])&lt;/PRE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/52067"&gt;@niharika1234&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&amp;nbsp;Again ,the MOR_IncidentId should be the incident which are opened more than 21 days from Incident Start date.&amp;nbsp;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Compared to what? Comparing it today right? So, if an Incident opened more than 21 days ago, then show it, right?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 20:53:02 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-12-14T20:53:02Z</dc:date>
    <item>
      <title>Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521213#M7540</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am struggling with a Set Analysis QlikView Logic.&lt;/P&gt;&lt;P&gt;I want to count the incident that has opened for more than 21 days and also the field category is populated( not null). So I have tried like this :&amp;nbsp; But not working . some syntax error. Please suggest.&lt;/P&gt;&lt;P&gt;count( {&amp;lt;{"&amp;gt; Incident_START_DATE + 21"}&amp;gt; , &amp;lt;{Len(Trim(CATEGORY) &amp;gt;0}&amp;gt;distinct&amp;nbsp; Incident Id)&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 19:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521213#M7540</guid>
      <dc:creator>niharika1234</dc:creator>
      <dc:date>2018-12-14T19:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521234#M7541</link>
      <description>&lt;P&gt;Is this&amp;nbsp;pseudo code for your expression? The reason I ask is because your set analysis seems to be incomplete... try something like this&lt;/P&gt;&lt;PRE&gt;Count({&amp;lt;[Incident Id] = {"=Incident_START_DATE &amp;gt; Today() - 21}, CATEGORY = {"*"}&amp;gt;} DISTINCT [Incident Id])&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Dec 2018 20:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521234#M7541</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-14T20:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521235#M7542</link>
      <description>&lt;P&gt;count ({&amp;lt;IncidentId= {"&amp;gt; Incident_START_DATE + 21"}, {Len(Trim(CATEGORY_Final)) &amp;gt; 0} DISTINCT IncidentId)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modified the logic to above still some error. Please suggest.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 20:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521235#M7542</guid>
      <dc:creator>niharika1234</dc:creator>
      <dc:date>2018-12-14T20:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521236#M7543</link>
      <description>&lt;P&gt;Because the syntax still isn't right. I think you should take a step back and understand the set analysis syntax. This is a good place to start on this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;A Primer on Set Analysis&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 20:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521236#M7543</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-14T20:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521238#M7544</link>
      <description>Hello Sunny,&lt;BR /&gt;Thanks.&lt;BR /&gt;Count({&amp;lt;[MOR_IncidentId] = {"=Incident_START_DATE &amp;gt; Today() - 21}, CATEGORY = {"*"}&amp;gt;} DISTINCT [MOR_IncidentId] )&lt;BR /&gt;I tried according your suggestion but some error.&lt;BR /&gt;1. Again ,the MOR_IncidentId should be the incident which are opened more than 21 days from Incident Start date. That means if incident opened on 31/11/2018, and if it is opened for 21 days . means '31/11/2018' + 21 days and category is not null , then count that as 1 . Please suggest.</description>
      <pubDate>Fri, 14 Dec 2018 20:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521238#M7544</guid>
      <dc:creator>niharika1234</dc:creator>
      <dc:date>2018-12-14T20:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521240#M7545</link>
      <description>&lt;P&gt;My bad, I missed a double quote and changed the sign from &amp;gt; to &amp;lt; for Incident_START_DATE... try this&lt;/P&gt;&lt;PRE&gt;Count({&amp;lt;[Incident Id] = {"=Incident_START_DATE &lt;FONT color="#FF0000"&gt;&amp;lt;&lt;/FONT&gt; Today() - 21&lt;FONT color="#FF0000"&gt;"&lt;/FONT&gt;}, CATEGORY = {"*"}&amp;gt;} DISTINCT [Incident Id])&lt;/PRE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/52067"&gt;@niharika1234&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&amp;nbsp;Again ,the MOR_IncidentId should be the incident which are opened more than 21 days from Incident Start date.&amp;nbsp;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Compared to what? Comparing it today right? So, if an Incident opened more than 21 days ago, then show it, right?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 20:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521240#M7545</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-14T20:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521243#M7546</link>
      <description>&lt;P&gt;No, If I understand correctly, incident-1,&amp;nbsp; Incident-start date - 31/10/2018, if it is open more than 21 days, means 31/10/2018 +21 days, which is 20/11/2018 and it is not closed , it will count as 1. The user wants to see the ticket which are opened more than 21 days.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niha&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 21:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521243#M7546</guid>
      <dc:creator>niharika1234</dc:creator>
      <dc:date>2018-12-14T21:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521249#M7547</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 491px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2250i2B17BC4981EE6309/image-dimensions/491x242?v=v2" width="491" height="242" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;I should get Facility , 'MOR_CATEGORY-Final' should populate, but I do see some - spaces . And also&amp;nbsp; &amp;nbsp;from Incident_START _DATE&amp;nbsp; if an incident stay for more than 21 days it should count as 1.&amp;nbsp; In the expression , third row, start date - end date is only 4 days but counting as 1, which is incorrect. In some incident , there may not be Incident End date, example the incident start date is 11/15/2018( Nov 2018) and it may not have an end date yet , since it is opened &amp;gt;21 days it will count as 1 also.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Niharika&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 21:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1521249#M7547</guid>
      <dc:creator>niharika1234</dc:creator>
      <dc:date>2018-12-14T21:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Logic</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1523543#M7759</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Again some modification of the requirement.&lt;/P&gt;&lt;P&gt;count({&amp;lt; MOR_CATEGORY_Final = {"*-*"}, [MOR_IncidentId] = {"&amp;gt;[Incident_START_DATE_21days]"} &amp;gt;} DISTINCT [MOR_IncidentId])&lt;/P&gt;&lt;P&gt;&amp;nbsp;In this analysis, there is some error in Date Part.&amp;nbsp; I want to see the incident that are '-' in MOR_CATEGORY_Final&amp;nbsp; and open more than 21 days.&amp;nbsp; I created a new field&amp;nbsp;&lt;SPAN&gt;[Incident_START_DATE_21days] and want to see incident open above that day. the above value returning zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Niha&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 17:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Set-Analysis-Logic/m-p/1523543#M7759</guid>
      <dc:creator>niharika1234</dc:creator>
      <dc:date>2018-12-21T17:38:14Z</dc:date>
    </item>
  </channel>
</rss>

