<?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 Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320362#M830845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;OrderNoLine = {"=Count(DISTINCT SupplierLotID) &amp;gt; 1"}&amp;gt;} &lt;STRONG style="font-size: 13.3333px;"&gt;DISTINCT&lt;/STRONG&gt;&amp;nbsp; OrderNoLine)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 08:55:33 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-06-20T08:55:33Z</dc:date>
    <item>
      <title>Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320361#M830844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a requirement like:&lt;/P&gt;&lt;P&gt;I need count of distinct Order No, Order Line combination where count(distinct Supplier Lot Id ) &amp;gt; 1.&lt;/P&gt;&lt;P&gt;I am using below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;SupplierLotID = {"=aggr(Count(distinct SupplierLotID), OrderNumber,OrderLine) &amp;gt; 1"}&amp;gt;} distinct&amp;nbsp; OrderNoLine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; OrderNoLine = &lt;STRONG&gt;OrderNumber&amp;amp;OrderLine as OrderNoLine in Script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For one Order No &lt;STRONG&gt;043639, &lt;/STRONG&gt;this is not working properly. It should show 1, but showing 0.&lt;/P&gt;&lt;P&gt;Only Oreder No &lt;STRONG&gt;043639 &lt;/STRONG&gt;and OrderLine 20 combination has multiple SupplierLotID.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167405_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the App.&lt;/P&gt;&lt;P&gt;Please help to get it done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320361#M830844</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320362#M830845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;OrderNoLine = {"=Count(DISTINCT SupplierLotID) &amp;gt; 1"}&amp;gt;} &lt;STRONG style="font-size: 13.3333px;"&gt;DISTINCT&lt;/STRONG&gt;&amp;nbsp; OrderNoLine)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 08:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320362#M830845</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-20T08:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320363#M830846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;This is working in this scenario. But I am thinking when the Combination of OrderNo and Order Line has same SupplierLot ID, then it might create issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like in below scenario:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167421_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;If SupplierLotID also, same for all combination. It might create issue.&lt;/P&gt;&lt;P&gt;Whats your thought on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically our SQL query is like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select distinct OrderNumber,OrderLine&lt;/P&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;AHPMart.FACT_PURCHASEORDER&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;DateReceived_Key &amp;gt;= '20170501' and &lt;/P&gt;&lt;P&gt;DateReceived_Key &amp;lt;= '20170531'&lt;/P&gt;&lt;P&gt;group by &lt;/P&gt;&lt;P&gt;OrderNumber,OrderLine&lt;/P&gt;&lt;P&gt;having&lt;/P&gt;&lt;P&gt;count(distinct SupplierLotID) &amp;gt;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help and suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 09:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320363#M830846</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2017-06-20T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320364#M830847</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=sum(if(aggr(Count(OrderNoLine),OrderNoLine)&amp;gt;1,1,0))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 09:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320364#M830847</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-20T09:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320365#M830848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it without set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit your chart and do the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression (tab 4)&lt;/STRONG&gt; : Count(distinct SupplierLotID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension limits (tab 3) :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Select OrderLine&lt;/P&gt;&lt;P&gt;Check "Restrict which value are displayed..."&lt;/P&gt;&lt;P&gt;Check the second option with "Greather than", "1", "exact amount".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disable "show others" in the options (optional).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Presentation (tab 6 optional) :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Select the expression and pick the "Hide Column" option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 10:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320365#M830848</guid>
      <dc:creator>thomas_vanbraba</dc:creator>
      <dc:date>2017-06-20T10:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320366#M830849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a scenario which you describe above? It's difficult to understand by reading about it. May be a sample might show the concern in a much better way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 11:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issue/m-p/1320366#M830849</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-20T11:03:08Z</dc:date>
    </item>
  </channel>
</rss>

