<?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 with 2 Fields - Greater Than in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1644738#M731458</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in which object you are wring this Set Analysis?(Text Box,Charts..etc) it will also important while writing Set Analysis.&lt;/P&gt;&lt;P&gt;as per my understanding you are trying in a Pivot Table&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;=if( TotalCurrentInventory &amp;gt; AllocationMax,&lt;/SPAN&gt;count(Distinct&amp;nbsp;&lt;STRONG&gt;InventoryOwner))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;correct me if my assumption is wrong.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 10:50:26 GMT</pubDate>
    <dc:creator>ramasaisaksoft</dc:creator>
    <dc:date>2019-11-08T10:50:26Z</dc:date>
    <item>
      <title>Set Analysis with 2 Fields - Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1644481#M731456</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to generate a formula that will give me a count of all inventory owners that have a TotalCurrentInventory that is greater than their AllocationMax, for a given AllocationGroup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;First I need to calculate, if TotalCurrentInventory &amp;gt; AllocationMax for each Inventory Owner at a given AllocationGroup. Then I need a total count of all the InventoryOwners above their maximum broken out by AllocationGroup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the equation below, but it seems to give me a total count of all InventoryOwners, instead of just the InventoryOwners with TotalCurrentInventory &amp;gt; AllocationMax.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;AllocationGroup = {"(TotalCurrentInventory &amp;gt; AllocationMax)"}&amp;gt;} Distinct InventoryOwner)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Has anyone found a solution for comparing set analysis where the value of one field is greater than another field?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1644481#M731456</guid>
      <dc:creator>KJD14</dc:creator>
      <dc:date>2024-11-16T02:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with 2 Fields - Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1644536#M731457</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;=Count(distinct if(&lt;STRONG&gt;TotalCurrentInventory&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;AllocationMax&lt;/STRONG&gt;,&lt;STRONG&gt;InventoryOwner&lt;/STRONG&gt;))&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 23:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1644536#M731457</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-11-07T23:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with 2 Fields - Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1644738#M731458</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in which object you are wring this Set Analysis?(Text Box,Charts..etc) it will also important while writing Set Analysis.&lt;/P&gt;&lt;P&gt;as per my understanding you are trying in a Pivot Table&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;=if( TotalCurrentInventory &amp;gt; AllocationMax,&lt;/SPAN&gt;count(Distinct&amp;nbsp;&lt;STRONG&gt;InventoryOwner))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;correct me if my assumption is wrong.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 10:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1644738#M731458</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2019-11-08T10:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with 2 Fields - Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1742992#M731459</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you able to do this with Set Analysis?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 03:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-2-Fields-Greater-Than/m-p/1742992#M731459</guid>
      <dc:creator>farolito20</dc:creator>
      <dc:date>2020-09-11T03:15:17Z</dc:date>
    </item>
  </channel>
</rss>

