<?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 How do you exclude some selection fields from an aggregate expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-you-exclude-some-selection-fields-from-an-aggregate/m-p/270112#M1183118</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;I hope someone can help - I have an expression which works fine for establishing a sepcific 'actual' average criteria as well as remove duplicates:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;avg(aggr(avg({$&amp;lt;Type={'Total Bill'},[Team Type Summary]={'FTO','Trainee'}, [BillAveExclude] -= {'1'},[Claim Type]={'Fast Track RTA'}&amp;gt;}Distinct [Client Damages]),Case)) &lt;/P&gt;&lt;P&gt;To get to the 'plan' for this area I want to take department wide average and display this against the 'actual' average based on any current selections.&amp;nbsp; To this end I believe that I need to incorporate the instruction to ignore certain field selections into the set analysis:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Site Summary]=,[Senior Manager Summary]=,[FE Team Summary]=,[Fee Earner Summary]= &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My issue is how to position the ignore selections instruction within the original expression - if I include as part of the current structure it does not ignore these selections and therefore my 'plan' figure continues to mirror my 'actual' based on various selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;SPAN style="font-size: 10pt;"&gt;Any help would be greatly appreciated!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2011 10:54:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-24T10:54:01Z</dc:date>
    <item>
      <title>How do you exclude some selection fields from an aggregate expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-exclude-some-selection-fields-from-an-aggregate/m-p/270112#M1183118</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;I hope someone can help - I have an expression which works fine for establishing a sepcific 'actual' average criteria as well as remove duplicates:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;avg(aggr(avg({$&amp;lt;Type={'Total Bill'},[Team Type Summary]={'FTO','Trainee'}, [BillAveExclude] -= {'1'},[Claim Type]={'Fast Track RTA'}&amp;gt;}Distinct [Client Damages]),Case)) &lt;/P&gt;&lt;P&gt;To get to the 'plan' for this area I want to take department wide average and display this against the 'actual' average based on any current selections.&amp;nbsp; To this end I believe that I need to incorporate the instruction to ignore certain field selections into the set analysis:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Site Summary]=,[Senior Manager Summary]=,[FE Team Summary]=,[Fee Earner Summary]= &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My issue is how to position the ignore selections instruction within the original expression - if I include as part of the current structure it does not ignore these selections and therefore my 'plan' figure continues to mirror my 'actual' based on various selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;SPAN style="font-size: 10pt;"&gt;Any help would be greatly appreciated!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 10:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-exclude-some-selection-fields-from-an-aggregate/m-p/270112#M1183118</guid>
      <dc:creator />
      <dc:date>2011-10-24T10:54:01Z</dc:date>
    </item>
    <item>
      <title>How do you exclude some selection fields from an aggregate expression?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-exclude-some-selection-fields-from-an-aggregate/m-p/270113#M1183119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone had any thoughts on this?&amp;nbsp; My deadline is fast approaching &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 08:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-exclude-some-selection-fields-from-an-aggregate/m-p/270113#M1183119</guid>
      <dc:creator />
      <dc:date>2011-10-28T08:15:38Z</dc:date>
    </item>
  </channel>
</rss>

