<?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: Avg with missing Data (aggr?) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410071#M1249522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help. I decided to go with a different solution. I used an if-Statement to have '0' as a result of the sum calculation, in order to get values for Dates, where there had been no consumption.&lt;/P&gt;&lt;P&gt;Then I put it in a Pivot table and used the Dates in the column. That i exported via a makro and imported back into qvw. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 06:17:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-15T06:17:42Z</dc:date>
    <item>
      <title>Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410063#M1249505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Problem with calculating the right avg values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem in short is as follows - There is an article, that only consumption for 1 day in a month. let's say 01.01.2017.&lt;/P&gt;&lt;P&gt;In the datamodle there are only rows, where there had been consumption.&lt;/P&gt;&lt;P&gt;I want to calculate the average daily consumption&lt;/P&gt;&lt;P&gt;In that case - if I use the avg function the formula will return 1, as it only has one datapoint. It should however divide the consuption by the number of days - 31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data model has a a seperate table with calender Dates, which is connected to the consumption Dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the formula as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg(total aggr(Menge, Datum))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it does not understand, that I Need the missing Dates filled up with data ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankful for any ideas on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410063#M1249505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410064#M1249507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Menge)/Count(DISTINCT TOTAL Buchungsdatum)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="176433" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176433_Capture.PNG" style="height: 120px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410064#M1249507</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T14:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410065#M1249509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your quick Response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doesn't this solution burry the possibility of miscalculation if there's a Buchungsdatum missing? for example if we'd have a selection, where there are not all Buchungsdatum given, or worse if there was a single Buchungsdatum missing for all data. That would lead to wrong calculations. I am searching expecially for a solution, that would be applicable for stdev(), since that also uses averages. That actually is the Problem behind the question. I Need to calculate the Standard Deviation for a set of values, per article. And most articles doen't have consumptions on every day. Which leads to wrong calculated values...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410065#M1249509</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T15:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410066#M1249511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be the other way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Menge)/(Floor(MonthEnd(Max(Buchungsdatum))) - MonthStart(Max(Buchungsdatum))+1)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410066#M1249511</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T15:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410067#M1249514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but this wouldn't be of any use for the stdev, would it? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410067#M1249514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T16:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410068#M1249516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand why.... what is the output that you are looking to get from your sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410068#M1249516</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T16:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410069#M1249518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to calculate the stdev per article on a weekly Basis.&lt;/P&gt;&lt;P&gt;That at the Moment doesn't work out, because I don't know how to skript the set Analysis in that way, that it calculates the Standard Deviation correctly... &lt;A __jive_macro_name="appEmbeddedView" _action_id="com.jivesoftware.rte.wikipedia" _appuuid="2d3a78e7-22f7-486d-8f1f-86c8a65e6aa1" _context="{&amp;quot;page&amp;quot;:&amp;quot;Standard deviation&amp;quot;}" _icon="https://community.qlik.com/servlet/JiveServlet/downloadImage/87234/912085dac9d100cfd2786f126278fc317a845deb.png" _jive_macro_name="appEmbeddedView" _view="embedded" class="jive_macro jive-link-app-icon jive_macro_appEmbeddedView" data-orig-content="Standard deviation&amp;lt;span class=&amp;quot;j-ui-elem j-app-link&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;" href="https://community.qlik.com/" modifiedtitle="true" title="Standard deviation"&gt;Standard Deviation&lt;SPAN class="j-ui-elem j-app-link"&gt;&lt;/SPAN&gt;&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410069#M1249518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T16:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410070#M1249520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I am trying to understand what are the numbers you are looking to get within the attached sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410070#M1249520</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T16:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Avg with missing Data (aggr?)</title>
      <link>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410071#M1249522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help. I decided to go with a different solution. I used an if-Statement to have '0' as a result of the sum calculation, in order to get values for Dates, where there had been no consumption.&lt;/P&gt;&lt;P&gt;Then I put it in a Pivot table and used the Dates in the column. That i exported via a makro and imported back into qvw. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 06:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avg-with-missing-Data-aggr/m-p/1410071#M1249522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-15T06:17:42Z</dc:date>
    </item>
  </channel>
</rss>

