<?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 Help with Average condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Average-condition/m-p/198081#M57507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want to average a field where it meets a condition? How would I write the expression for this?&lt;/P&gt;&lt;P&gt;Below is what I currently have for the field expression:&lt;/P&gt;&lt;P&gt;Avg(Sales)&lt;/P&gt;&lt;P&gt;What I want it changed to is that it will Average the Sales field if the flag is equal to 1&lt;/P&gt;&lt;P&gt;Avg(Sales) where Flag =1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 23:40:36 GMT</pubDate>
    <dc:creator>ivandrago</dc:creator>
    <dc:date>2010-06-22T23:40:36Z</dc:date>
    <item>
      <title>Help with Average condition</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Average-condition/m-p/198081#M57507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I want to average a field where it meets a condition? How would I write the expression for this?&lt;/P&gt;&lt;P&gt;Below is what I currently have for the field expression:&lt;/P&gt;&lt;P&gt;Avg(Sales)&lt;/P&gt;&lt;P&gt;What I want it changed to is that it will Average the Sales field if the flag is equal to 1&lt;/P&gt;&lt;P&gt;Avg(Sales) where Flag =1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 23:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Average-condition/m-p/198081#M57507</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-06-22T23:40:36Z</dc:date>
    </item>
    <item>
      <title>Help with Average condition</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Average-condition/m-p/198082#M57508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;avg({&amp;lt;Flag={1}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 01:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Average-condition/m-p/198082#M57508</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-23T01:03:26Z</dc:date>
    </item>
  </channel>
</rss>

