<?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: Display average based on a 2nd dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-average-based-on-a-2nd-dimension/m-p/700854#M252995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 00:34:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-20T00:34:36Z</dc:date>
    <item>
      <title>Display average based on a 2nd dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Display-average-based-on-a-2nd-dimension/m-p/700853#M252994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a bar chart with "Transaction Type" as a dimension, and Amount as an expression. I need to add another expression (a line chart on the right axis) which calculates the average number of transactions by customer number per Transaction Type. This is the expression I'm using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg( aggr( Count([Transaction Type]), [Customer Number]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the line starts off with a high value and stops halfway through the transaction types while increasing (which is wrong of course). When I click on a particular transaction type, the line (now a dot) displays the correct value. Any solutions please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also - a customer can have multiple transactions, but I'm not sure if QlikView will take that into account in the avg() expression or whether It needs to be specified?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 07:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-average-based-on-a-2nd-dimension/m-p/700853#M252994</guid>
      <dc:creator />
      <dc:date>2014-08-19T07:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display average based on a 2nd dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Display-average-based-on-a-2nd-dimension/m-p/700854#M252995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 00:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-average-based-on-a-2nd-dimension/m-p/700854#M252995</guid>
      <dc:creator />
      <dc:date>2014-08-20T00:34:36Z</dc:date>
    </item>
  </channel>
</rss>

