<?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: Get the values based on filtered data in other fields using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109692#M893404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am so sorry cant do that due to policy issues. I will explain it further.&lt;/P&gt;&lt;P&gt;I have say 10 fields and among those 10 are [Field B] and Template.&lt;/P&gt;&lt;P&gt; So&amp;nbsp; first I need to filter which data based on max no of count in [Field B]. In other words I have to filter the dataset where [Field B]=max(count(Field B). Further I have to apply 2nd level filter on the above dataset, to filter the data based on max no of count in template .In other words 2nd level filter will beTemplate]=max(count(Template).&lt;/P&gt;&lt;P&gt;Once I have the filtered dataset, I have to get top 3 names. My question is how will I RETREIVE the top 3 names in the filtered dataset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 11:02:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-16T11:02:17Z</dc:date>
    <item>
      <title>Get the values based on filtered data in other fields using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109690#M893402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-1105318-134584/Capture.PNG" target="_blank"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" height="304" src="https://community.qlik.com/legacyfs/online/134592_Capture.PNG" width="436" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you will look at the above chart, Jodzis,Jeffrey M is&amp;nbsp; in the filter conditions, yet it has been assigned Rank 2.&lt;/P&gt;&lt;P&gt;So when I use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Field B]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=rank(Count([&lt;SPAN style="color: #800000;"&gt;Field B&lt;/SPAN&gt;]))=1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; Template=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=rank(Count(Template)))=1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt; Name=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=rank(Count(Name)1,1)&amp;lt;=3"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;nbsp; &lt;BR /&gt; &amp;gt;}&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only(Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;amp; ' ('&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count(Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;amp;')', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Field B]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) , I will only get Eagan,Caroline Burlingame(11). But I should also get all Names with count 3 and 2 like MaDonnell,,,Turner.&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&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/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109690#M893402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get the values based on filtered data in other fields using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109691#M893403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share the application to look at the issue? I am not 100% sure what you are looking to get here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 17:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109691#M893403</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-15T17:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get the values based on filtered data in other fields using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109692#M893404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am so sorry cant do that due to policy issues. I will explain it further.&lt;/P&gt;&lt;P&gt;I have say 10 fields and among those 10 are [Field B] and Template.&lt;/P&gt;&lt;P&gt; So&amp;nbsp; first I need to filter which data based on max no of count in [Field B]. In other words I have to filter the dataset where [Field B]=max(count(Field B). Further I have to apply 2nd level filter on the above dataset, to filter the data based on max no of count in template .In other words 2nd level filter will beTemplate]=max(count(Template).&lt;/P&gt;&lt;P&gt;Once I have the filtered dataset, I have to get top 3 names. My question is how will I RETREIVE the top 3 names in the filtered dataset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109692#M893404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T11:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get the values based on filtered data in other fields using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109693#M893405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please help on this. Need to get it working...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 17:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-values-based-on-filtered-data-in-other-fields-using-set/m-p/1109693#M893405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T17:37:15Z</dc:date>
    </item>
  </channel>
</rss>

