<?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: Help in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713665#M256864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this but it gave me allocated memory exceeded for the chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Sep 2014 20:08:01 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2014-09-04T20:08:01Z</dc:date>
    <item>
      <title>Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713659#M256858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears got the following data&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;DEFECT_ID, DEV_PLAN_ID, STATUS, DATA_SOURCE&lt;/P&gt;&lt;P&gt;X,1,TESTED,CRM&lt;/P&gt;&lt;P&gt;X,2, CANCELLED, CRM&lt;/P&gt;&lt;P&gt;X,1,NOT TESTED, DW&lt;/P&gt;&lt;P&gt;X,2, CANCELLED, DW&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with the two dimensions Defect_id, and Dev_plan_id&lt;/P&gt;&lt;P&gt;but what I want to show is the Status of the CRM data source when the the DW data source of the same defect id and dev plan id has a different status&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;the pivot table will be showing from the above data the following&lt;/P&gt;&lt;P&gt;X, 1, TESTED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put the following expression&lt;/P&gt;&lt;P&gt;only(AGGR(ONLY({&amp;lt;DATA_SOURCE={'CRM'}, DEFECT_ID={"=COUNT(DISTINCT STATUS)&amp;gt;1"}&amp;gt;} STATUS),DEFECT_ID,DEV_PLAN_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I got X,1, tested&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Cancelled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE ADVISE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 19:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713659#M256858</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-09-04T19:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713660#M256859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You wouldn't use set analysis for this expression because there is no aggregation being performed.&amp;nbsp; What you could do is an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(DEFECT_ID =- DEV_PLAN_ID, STATUS = 'TESTED', 'CANCELED')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 19:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713660#M256859</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2014-09-04T19:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713661#M256860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no I can't use if because I have plenty of statuses &lt;/P&gt;&lt;P&gt;this is a sample data that I showed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 19:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713661#M256860</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-09-04T19:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713662#M256861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;if(max(aggr(count (distinct STATUS), DEFECT_ID, DEV_PLAN_ID))&amp;gt;1,&lt;/P&gt;&lt;P&gt;only({$ &amp;lt;DATA_SOURCE={CRM}&amp;gt;} STATUS)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 19:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713662#M256861</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-04T19:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713663#M256862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; I dont' understand your logic behind the status, but If you nest your if statements with the correct logic for the status it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(DEFECT_ID =- DEV_PLAN_ID AND DATA_SOURCE = 'CRM' , STATUS = 'TESTED', 'CANCELED'),&lt;/P&gt;&lt;P&gt;=IF(DEFECT_ID =- DEV_PLAN_ID AND DATA_SOURCE = 'DW' , STATUS = 'NOT TESTED', 'CANCELED'),&lt;/P&gt;&lt;P&gt;*/Else Statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 19:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713663#M256862</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2014-09-04T19:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713664#M256863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;if(Only({$&amp;lt;DATA_SOURCE={'CRM'}&amp;gt;} STATUS) &amp;lt;&amp;gt; Only({$&amp;lt;DATA_SOURCE-={'CRM'}&amp;gt;} STATUS), Only({$&amp;lt;DATA_SOURCE={'CRM'}&amp;gt;} STATUS),null())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 20:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713664#M256863</guid>
      <dc:creator>gmoraleswit</dc:creator>
      <dc:date>2014-09-04T20:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713665#M256864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this but it gave me allocated memory exceeded for the chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 20:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713665#M256864</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-09-04T20:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713666#M256865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's why I'm trying to avoid if else statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 20:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713666#M256865</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-09-04T20:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713667#M256866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is another solution,&lt;/P&gt;&lt;P&gt;I created a key field with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DEFECT_ID and DEV_PLAN_ID and use this field in the expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;only({$&amp;lt;DATA_SOURCE={'CRM'},key={"=count(distinct STATUS)&amp;gt;1"}&amp;gt;} STATUS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attach&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 20:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/713667#M256866</guid>
      <dc:creator>gmoraleswit</dc:creator>
      <dc:date>2014-09-04T20:19:43Z</dc:date>
    </item>
  </channel>
</rss>

