<?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: calculated filter - aggr in class in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118940#M907809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ido,&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have modified your expression and your model, and now it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=class(aggr(sum({&amp;lt;[Father Supplier Num], [Father Supplier Name], [Supplier Name], [Supplier Num],Site,Year,Qtr&amp;gt;} Total &amp;lt;[Father Supplier Num],[Supplier Num],Year,Qtr,Source,Reports,Site&amp;gt; ([Quality Grade]*4*vQuality_per)+([OTD Grade]*4*vOTD_per))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Father Supplier Num],[Supplier Num],Year,Qtr,Source,Reports,Site),10,'x')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127966" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127966_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new link table is this:&lt;/P&gt;&lt;P&gt;SITE_KEY_LINK:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SITES_KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumberhash128(SITES_KEY&amp;amp;'-'&amp;amp;Site) as SITE_KEY_ALT&lt;/P&gt;&lt;P&gt;RESIDENT Sites;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 12:16:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-06-15T12:16:45Z</dc:date>
    <item>
      <title>calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118932#M907801</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 table with three columns the third column is calculated by the first two columns.&lt;/P&gt;&lt;P&gt;the client wont a filter by the third column values, with class() func,&lt;/P&gt;&lt;P&gt;i created a filter but it is not working correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am attaching a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks.&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/calculated-filter-aggr-in-class/m-p/1118932#M907801</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118933#M907802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say it is not working, what exactly is the issue? I tried filtering and it seems to be filtering based on some of the things I selected. Can you elaborate on the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 09:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118933#M907802</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T09:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118934#M907803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;1. there shouldn't be this value:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="shouldnt be.PNG" class="jive-image image-1" src="/legacyfs/online/127940_shouldnt be.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the max value in the normalized score column is 100.&lt;/P&gt;&lt;P&gt;2. when selecting on value from the filter it is selecting some other values as well. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="selecting more then the value selected.PNG" class="jive-image image-2" src="/legacyfs/online/127941_selecting more then the value selected.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. i don't wont to hide excluded - this is not so importent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, is it understood? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 09:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118934#M907803</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-06-15T09:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118935#M907804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ido,&lt;/P&gt;&lt;P&gt;I was viewing this, I think the problem is on Site field. Why do you have two Sites with same Site_key?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without Site it is working well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 10:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118935#M907804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-15T10:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118936#M907805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to Manuel's comments above, I was able to resolve the 3 (not so important point &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;) Use this for the list box expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Class((Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;[Father Supplier Num], [Father Supplier Name], [Supplier Name], [Supplier Num],Site,Year,Qtr&amp;gt;}&lt;/SPAN&gt;[Quality Grade])*4)*vQuality_per +&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; (Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;[Father Supplier Num], [Father Supplier Name], [Supplier Name], [Supplier Num],Site,Year,Qtr&amp;gt;}&lt;/SPAN&gt;[OTD Grade])*4)*vOTD_per, 10,'x'),[Father Supplier Name], [Father Supplier Num], [Supplier Name], [Supplier Num],Site,Year,Qtr)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 10:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118936#M907805</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T10:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118937#M907806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;there is no Site_Key,&lt;/P&gt;&lt;P&gt;can you tell me how did you understand there is a &lt;SPAN style="font-size: 13.3333px;"&gt;Site_Key? - &lt;SPAN style="color: #ff0000;"&gt;there is only site name called site. (mh or ofk)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG __jive_id="127955" alt="table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127955_table.PNG" style="height: 271px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 10:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118937#M907806</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-06-15T10:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118938#M907807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because with same Site_Key you have 2 or more values. With this model you cannot do what do you want, if you don't use this field your filter will work, but with your model is imposible, because QlikView is returning for same key two distinct values in some records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 10:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118938#M907807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-15T10:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118939#M907808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I kind agree with &lt;A href="https://community.qlik.com/people/manucamon"&gt;manucamon&lt;/A&gt;‌ here and I think there is some issue with the site field which is causing you to select both sites based on the selection. I tried creating a unique field, but it seems that even that did not work the way I would have expected. I will continue to troubleshoot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 11:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118939#M907808</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T11:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118940#M907809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ido,&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have modified your expression and your model, and now it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=class(aggr(sum({&amp;lt;[Father Supplier Num], [Father Supplier Name], [Supplier Name], [Supplier Num],Site,Year,Qtr&amp;gt;} Total &amp;lt;[Father Supplier Num],[Supplier Num],Year,Qtr,Source,Reports,Site&amp;gt; ([Quality Grade]*4*vQuality_per)+([OTD Grade]*4*vOTD_per))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[Father Supplier Num],[Supplier Num],Year,Qtr,Source,Reports,Site),10,'x')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127966" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127966_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new link table is this:&lt;/P&gt;&lt;P&gt;SITE_KEY_LINK:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SITES_KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumberhash128(SITES_KEY&amp;amp;'-'&amp;amp;Site) as SITE_KEY_ALT&lt;/P&gt;&lt;P&gt;RESIDENT Sites;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 12:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118940#M907809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-15T12:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118941#M907810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manuel thank you very much, i think you forgot to attach!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i am trying to understand why do we need this other key table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please try to explain? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 23:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118941#M907810</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-06-16T23:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118942#M907811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ido,&lt;/P&gt;&lt;P&gt;I don't know why attachment has not uploaded. &lt;/P&gt;&lt;P&gt;I need this new key because I need 1 record by 1 key to do your filter, this is your issue on your document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 06:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118942#M907811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-17T06:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118943#M907812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached my Example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 06:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118943#M907812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-17T06:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: calculated filter - aggr in class</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118944#M907813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Manuel,&lt;/P&gt;&lt;P&gt;God bless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 19:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-filter-aggr-in-class/m-p/1118944#M907813</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-06-17T19:41:48Z</dc:date>
    </item>
  </channel>
</rss>

