<?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: Exclude selection in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539275#M508694</link>
    <description>&lt;P&gt;Change your&amp;nbsp;&lt;STRONG&gt;avg sales/pto&lt;/STRONG&gt; expression to this&lt;/P&gt;&lt;PRE&gt;avg(total &amp;lt;pto&amp;gt; {&amp;lt;name&amp;gt;} sales) * avg(1)&lt;/PRE&gt;</description>
    <pubDate>Mon, 04 Feb 2019 19:03:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-02-04T19:03:19Z</dc:date>
    <item>
      <title>Exclude selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539270#M508692</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;In my attached file,&amp;nbsp; i have a expression (avg sales/pto) where i calculate the average sales for each position.&lt;/P&gt;&lt;P&gt;When i select a name, the value of the sales average for position (pto) is lost and match the person sales. I need that if i select a name, the average sales value for the position don`t change.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 18:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539270#M508692</guid>
      <dc:creator>francis_gr</dc:creator>
      <dc:date>2019-02-04T18:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539274#M508693</link>
      <description>Hi. You can use set analysis in a aggregate field and insert your field name and an equals sign to ignore any selection made in that field. Eg Sum({&amp;lt;[person name]=&amp;gt;}[Total Value]}</description>
      <pubDate>Mon, 04 Feb 2019 19:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539274#M508693</guid>
      <dc:creator>aworrall</dc:creator>
      <dc:date>2019-02-04T19:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539275#M508694</link>
      <description>&lt;P&gt;Change your&amp;nbsp;&lt;STRONG&gt;avg sales/pto&lt;/STRONG&gt; expression to this&lt;/P&gt;&lt;PRE&gt;avg(total &amp;lt;pto&amp;gt; {&amp;lt;name&amp;gt;} sales) * avg(1)&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539275#M508694</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-04T19:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539280#M508695</link>
      <description>&lt;P&gt;Hi Sunny, thanks for your fast reply. That´s works fine.&lt;/P&gt;&lt;P&gt;I have one question&lt;/P&gt;&lt;P&gt;What exactly does avg(1)?&lt;/P&gt;&lt;P&gt;thanks for help&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539280#M508695</guid>
      <dc:creator>francis_gr</dc:creator>
      <dc:date>2019-02-04T19:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539282#M508696</link>
      <description>&lt;P&gt;Avg(1) will equal to 1 for selection and will equal to 0 for out of selection. So, when you select a name, Avg(1) = 1 for the specific name and becomes 0 for the others.&amp;nbsp; This is needed because we are ignoring selection in Name field for the expression so that the avg is calculated regardless of selection in name field. and then multiplying it with Avg(1) forces the expression to just show the name selected.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539282#M508696</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-04T19:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539285#M508697</link>
      <description>&lt;P&gt;Ok!&lt;/P&gt;&lt;P&gt;Thanks for the explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539285#M508697</guid>
      <dc:creator>francis_gr</dc:creator>
      <dc:date>2019-02-04T19:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539291#M508698</link>
      <description>&lt;P&gt;Hi Aworrall!&lt;/P&gt;&lt;P&gt;I really appreciate your interest in help!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-selection-in-expression/m-p/1539291#M508698</guid>
      <dc:creator>francis_gr</dc:creator>
      <dc:date>2019-02-04T19:28:02Z</dc:date>
    </item>
  </channel>
</rss>

