<?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: Daily average calculation issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1541346#M439454</link>
    <description>&lt;P&gt;Have you tried to use Aggr() instead of TOTAL?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are calculating per dimension on one of your Sheet objects or Charts, you might need to use Aggr()&lt;/P&gt;&lt;P&gt;e.q. Avg Sales per Customer&amp;nbsp; in a straight table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2019 08:50:33 GMT</pubDate>
    <dc:creator>gn_marvs1989</dc:creator>
    <dc:date>2019-02-08T08:50:33Z</dc:date>
    <item>
      <title>Daily average calculation issues</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1541275#M439451</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I need to calculate the daily average sales for each customer.&lt;/P&gt;&lt;P&gt;Right now I use this formula:&lt;/P&gt;&lt;P&gt;Sum(Sales)/sum({1&amp;lt;Year = $::Year , Month=$::Month, Day=$::Day&amp;gt;} TOTAL &amp;lt;Year,Month,Day&amp;gt; [Working Day Marker])&lt;/P&gt;&lt;P&gt;I load the working day marker from a calendar I made, containing all days in a year, the marker being 0 for weekends or legal holidays and 1 for everything else.&lt;/P&gt;&lt;P&gt;The formula works great if no filters are applied for Year or Month or Day, otherwise it gives the wrong results..&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone got a solution for this?&lt;/P&gt;&lt;P&gt;Basically what I want to do is to split customer revenue to the total number of working days in selected period.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 05:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1541275#M439451</guid>
      <dc:creator>avantime</dc:creator>
      <dc:date>2019-02-08T05:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Daily average calculation issues</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1541346#M439454</link>
      <description>&lt;P&gt;Have you tried to use Aggr() instead of TOTAL?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are calculating per dimension on one of your Sheet objects or Charts, you might need to use Aggr()&lt;/P&gt;&lt;P&gt;e.q. Avg Sales per Customer&amp;nbsp; in a straight table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 08:50:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1541346#M439454</guid>
      <dc:creator>gn_marvs1989</dc:creator>
      <dc:date>2019-02-08T08:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Daily average calculation issues</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1541721#M439487</link>
      <description>&lt;P&gt;I don`t need Avg.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to divide the clients&amp;nbsp;sales to the number of working days in the period selected (Years, Months, Days), not to the number of days he made purchases in.&lt;/P&gt;&lt;P&gt;So, by example, let`s say the client made 3 purchases in 3 different days of Jan 2019, if I filter the date to Month Jan and Year 2019, I need to split the clients sales to 20 working days in my country for January.&lt;/P&gt;&lt;P&gt;Hope I made myself understood.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1541721#M439487</guid>
      <dc:creator>avantime</dc:creator>
      <dc:date>2019-02-08T16:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Daily average calculation issues</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1546255#M439871</link>
      <description>&lt;P&gt;Up! Any other ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 10:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1546255#M439871</guid>
      <dc:creator>avantime</dc:creator>
      <dc:date>2019-02-19T10:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Daily average calculation issues</title>
      <link>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1546467#M439902</link>
      <description>&lt;P&gt;I`m also attaching a test qvw, it`s easier to understand what i want.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 16:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Daily-average-calculation-issues/m-p/1546467#M439902</guid>
      <dc:creator>avantime</dc:creator>
      <dc:date>2019-02-19T16:04:01Z</dc:date>
    </item>
  </channel>
</rss>

