<?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: Sum the Average Unit Price in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664484#M728696</link>
    <description>&lt;P&gt;WOW!&lt;/P&gt;&lt;P&gt;Massively over complicated that one. added the year set analysis and all good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2020 14:38:54 GMT</pubDate>
    <dc:creator>davyqliks</dc:creator>
    <dc:date>2020-01-10T14:38:54Z</dc:date>
    <item>
      <title>Sum the Average Unit Price</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664473#M728693</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am looking to find the Average value of dimension&amp;nbsp;[Invoice Item Unit Price]&lt;/P&gt;&lt;P&gt;I am struggling to get the right result back, any advice on this would be much appreciated&lt;/P&gt;&lt;P&gt;=Sum(Aggr(Avg([Invoice Item Unit Price]))) but this is not working&lt;/P&gt;&lt;P&gt;once i have this i will add the set analysis for the year&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&amp;lt;[Year]={'2019'}&amp;gt;}&lt;/P&gt;&lt;P&gt;but need to get the average right first. Any assistance would be very much appreciated.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664473#M728693</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2024-11-16T01:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sum the Average Unit Price</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664481#M728694</link>
      <description>&lt;P&gt;The average value of [&lt;SPAN&gt;Invoice Item Unit Price] is found by using &lt;FONT face="courier new,courier"&gt;avg([Invoice Item Unit Price])&lt;/FONT&gt;. You do not need to aggregate.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you do want to aggregate using &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/aggr.htm" target="_self"&gt;aggr&lt;/A&gt;() then you need to define over which dimension you want to aggregate. The &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/aggr.htm" target="_self"&gt;Aggr()&lt;/A&gt; takes two parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/ChartFunctions/aggr.htm" target="_self"&gt;Aggr&lt;/A&gt;(Sum([Invoice Item Unit Price]),&amp;nbsp; &lt;EM&gt;DIMENSION&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664481#M728694</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-10T14:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sum the Average Unit Price</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664483#M728695</link>
      <description>&lt;P&gt;why&amp;nbsp; you need aggregation ?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=Avg([Invoice Item Unit Price])&lt;/LI-CODE&gt;&lt;P&gt;and&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=Avg({&amp;lt;[Year]={'2019'}&amp;gt;} [Invoice Item Unit Price])&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664483#M728695</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-01-10T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sum the Average Unit Price</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664484#M728696</link>
      <description>&lt;P&gt;WOW!&lt;/P&gt;&lt;P&gt;Massively over complicated that one. added the year set analysis and all good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664484#M728696</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-01-10T14:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sum the Average Unit Price</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664486#M728697</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have another post i am awaiting a reply on, i wonder if you could take a look.&lt;/P&gt;&lt;P&gt;thanks so much either way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find the % different between 2 sums, i have tried a few things but never get the calculated result below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Year]={'2019'}&amp;gt;} [HKD_Price])&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Year]={'2018'}&amp;gt;} [HKD_Price])&amp;nbsp;&lt;/P&gt;&lt;P&gt;The figures are as follows and so know the difference must like below&lt;/P&gt;&lt;P&gt;2760530389.02&lt;/P&gt;&lt;P&gt;1504520710.05&lt;/P&gt;&lt;P&gt;58.8978% difference&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:49:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-the-Average-Unit-Price/m-p/1664486#M728697</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2020-01-10T14:49:35Z</dc:date>
    </item>
  </channel>
</rss>

