<?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 Indirect Set Analysis and Greater Than in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244797#M495239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count({$&amp;lt;ClientAge = {"&amp;gt;=$(=only({1&amp;lt;ProtocolGroup_ID={1}&amp;gt;} AgeMin))"} &amp;gt;} DISTINCT ClientId) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that should be correct, if the AgeMin is not a variable but a with same value of field or single value only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2012 15:04:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-03T15:04:35Z</dc:date>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244789#M495231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concept:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a document containing various information about clients, sales, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As part of my load, I also have a separate data construct called protocols, which are not directly linked to clients/etc. but contain a set of metric definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example, I am needing to pull all Clients from the current selection who have a Age within the bounds specified by ProtocolGroup_ID = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following expression works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; text-align: -webkit-auto;"&gt;=count({$&amp;lt;ClientAge=P({1&amp;lt;ProtocolGroup_ID={'1'}&amp;gt;}AgeMin)&amp;gt;} DISTINCT &lt;SPAN style="color: #000000; font-family: monospace; text-align: -webkit-auto;"&gt;Client&lt;/SPAN&gt;ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression above works to provide a count of all Clients in current selection who have an age matching the AgeMin value designated by the ProtocolGroup_ID. I need it to provide a count of all Clients who have an age Greater Than or Equal to the AgeMin value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been unable to get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insight would be most appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your time and consideration.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; text-align: -webkit-auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 17:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244789#M495231</guid>
      <dc:creator />
      <dc:date>2012-02-01T17:23:37Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244790#M495232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try with this expression..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =count({$&amp;lt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;ProtocolGroup_ID={'1'},&lt;/SPAN&gt;ClientAge={"&amp;lt;=$(AgeMin)"}&amp;gt;} DISTINCT &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 10px; color: #000000; font-family: monospace; text-align: -webkit-auto;"&gt;Client&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope this is your need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 17:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244790#M495232</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-01T17:39:24Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244791#M495233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Celambarasan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, that won't work because the ProtocolGroup_ID has nothing to do with the current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the expression you provided, I get the full count of Distinct ClientIDs in my selection, not restricted by age.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 18:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244791#M495233</guid>
      <dc:creator />
      <dc:date>2012-02-01T18:00:17Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244792#M495234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this! It should work, if I understood it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT {&amp;lt;Age={"&amp;lt;=$(=max({&amp;lt;protocol={'g3'}&amp;gt;}agemin))"}&amp;gt;}ClientID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 19:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244792#M495234</guid>
      <dc:creator />
      <dc:date>2012-02-01T19:33:08Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244793#M495235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just change field names according to your fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 19:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244793#M495235</guid>
      <dc:creator />
      <dc:date>2012-02-01T19:33:59Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244794#M495236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So your AgeMin is an unambiguous single value? Maybe you could use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10px; color: #000000; font-family: monospace; text-align: -webkit-auto;"&gt;=count({$&amp;lt;ClientAge = {"&amp;gt;=$(=only({1&amp;lt;ProtocolGroup_ID={1}&amp;gt;} AgeMin))"} &amp;gt;} DISTINCT &lt;SPAN&gt;Client&lt;/SPAN&gt;ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 23:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244794#M495236</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-01T23:11:45Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244795#M495237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh yes...I did not notice that he wanted greater than or equal to. So what i wrote earlier should be changed to&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;count(DISTINCT {&amp;lt;Age={"&amp;gt;=$(=max({&amp;lt;protocol={'g3'}&amp;gt;}agemin))"}&amp;gt;}ClientID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;or may be only can also be used but I will personally prefer max.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;count(DISTINCT {&amp;lt;Age={"&amp;gt;=$(=only({&amp;lt;protocol={'g3'}&amp;gt;}agemin))"}&amp;gt;}ClientID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;Ashutosh&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 05:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244795#M495237</guid>
      <dc:creator />
      <dc:date>2012-02-02T05:02:25Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244796#M495238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i understood this may help you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let say between 1 to 12 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;=count({$&amp;lt;ClientAge=P({1&amp;lt;ProtocolGroup_ID={'&amp;gt;=1&amp;lt;=12'}&amp;gt;}AgeMin)&amp;gt;} DISTINCT &lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 10px; color: #000000; font-family: monospace; text-align: -webkit-auto;"&gt;Client&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 8pt;"&gt;====&lt;/SPAN&gt;&lt;STRONG style="text-align: -webkit-auto; color: #000000; font-size: 10px; background-color: #eef4f9; font-family: monospace;"&gt;Else you can Create a Variable and pass instead of Numbers &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 8pt; text-align: -webkit-auto;"&gt;==========================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: -webkit-auto;"&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 8pt; text-align: -webkit-auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-align: -webkit-auto; color: #000000; font-size: 10px; background-color: #eef4f9; font-family: monospace;"&gt;=count({$&amp;lt;ClientAge=P({1&amp;lt;ProtocolGroup_ID={&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;"&amp;gt;=$(vMin) &amp;lt;=$(vMax)"&lt;/SPAN&gt;}&amp;gt;}AgeMin)&amp;gt;} DISTINCT &lt;/STRONG&gt;&lt;SPAN style="background-color: #eef4f9; font-size: 10px; color: #000000; font-family: monospace; text-align: -webkit-auto;"&gt;Client&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 10px; text-align: -webkit-auto; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 12:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244796#M495238</guid>
      <dc:creator />
      <dc:date>2012-02-03T12:46:07Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244797#M495239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count({$&amp;lt;ClientAge = {"&amp;gt;=$(=only({1&amp;lt;ProtocolGroup_ID={1}&amp;gt;} AgeMin))"} &amp;gt;} DISTINCT ClientId) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that should be correct, if the AgeMin is not a variable but a with same value of field or single value only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 15:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244797#M495239</guid>
      <dc:creator />
      <dc:date>2012-02-03T15:04:35Z</dc:date>
    </item>
    <item>
      <title>Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244798#M495240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Dwi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code is spot on and works great. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would I need to modify so that the count is for ClientAge &amp;gt;= AgeMin and ClientAge &amp;lt;= AgeMax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 18:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244798#M495240</guid>
      <dc:creator />
      <dc:date>2012-02-03T18:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Indirect Set Analysis and Greater Than</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244799#M495241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to get it working.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks to everyone who stopped by to help out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 19:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-and-Greater-Than/m-p/244799#M495241</guid>
      <dc:creator />
      <dc:date>2012-02-03T19:16:39Z</dc:date>
    </item>
  </channel>
</rss>

