<?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 Programmatically filter dimension based on aggregated value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Programmatically-filter-dimension-based-on-aggregated-value/m-p/1073204#M358256</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;I'm pretty new on QLikView platform and I'm working on my first project.&lt;/P&gt;&lt;P&gt;Usually all doubts I had are solved, just, reading this community forum, but this case is the exception: I didn't find nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with two fields: ID (auto-number) and value. I can have several values for same ID.&lt;/P&gt;&lt;P&gt;Now I want to create a button that excludes all ID where sum of values are less than 0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, I create an histogram with dimension &lt;STRONG&gt;floor(aggr(sum(value), ID), 0.1)&lt;/STRONG&gt; and expression &lt;STRONG&gt;count(value)&lt;/STRONG&gt;, then I filter for value greater than 0.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use a button with "select in field" action using following condition: &lt;STRONG&gt;=Aggr(if(sum(value='&amp;gt;0.1', ID), ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Salvo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 16:17:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-08T16:17:56Z</dc:date>
    <item>
      <title>Programmatically filter dimension based on aggregated value</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatically-filter-dimension-based-on-aggregated-value/m-p/1073204#M358256</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;I'm pretty new on QLikView platform and I'm working on my first project.&lt;/P&gt;&lt;P&gt;Usually all doubts I had are solved, just, reading this community forum, but this case is the exception: I didn't find nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with two fields: ID (auto-number) and value. I can have several values for same ID.&lt;/P&gt;&lt;P&gt;Now I want to create a button that excludes all ID where sum of values are less than 0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, I create an histogram with dimension &lt;STRONG&gt;floor(aggr(sum(value), ID), 0.1)&lt;/STRONG&gt; and expression &lt;STRONG&gt;count(value)&lt;/STRONG&gt;, then I filter for value greater than 0.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use a button with "select in field" action using following condition: &lt;STRONG&gt;=Aggr(if(sum(value='&amp;gt;0.1', ID), ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Salvo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 16:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatically-filter-dimension-based-on-aggregated-value/m-p/1073204#M358256</guid>
      <dc:creator />
      <dc:date>2016-02-08T16:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically filter dimension based on aggregated value</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatically-filter-dimension-based-on-aggregated-value/m-p/1073205#M358257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression as search expression:&lt;/P&gt;&lt;P&gt;='(' &amp;amp; concat({&amp;lt;ID={"=sum(value)&amp;gt;=0.1"}&amp;gt;} distinct ID,'|') &amp;amp; ')'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 17:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatically-filter-dimension-based-on-aggregated-value/m-p/1073205#M358257</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-08T17:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically filter dimension based on aggregated value</title>
      <link>https://community.qlik.com/t5/QlikView/Programmatically-filter-dimension-based-on-aggregated-value/m-p/1073206#M358258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works..!&lt;/P&gt;&lt;P&gt;Thanks so much for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salvo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 07:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Programmatically-filter-dimension-based-on-aggregated-value/m-p/1073206#M358258</guid>
      <dc:creator />
      <dc:date>2016-02-09T07:55:46Z</dc:date>
    </item>
  </channel>
</rss>

