<?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: Average Function Ignoring Null and Not providing correct value. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002767#M976511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Avg({&amp;lt;DimensionName*={'*'}&amp;gt;} MeasureName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Avg({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MeasureName&lt;/SPAN&gt;*={'*'}&amp;gt;} MeasureName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Avg({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MeasureName&lt;/SPAN&gt;=P(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MeasureName)&lt;/SPAN&gt;&amp;gt;} MeasureName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;HOpe this helps you.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 16:17:22 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-08-26T16:17:22Z</dc:date>
    <item>
      <title>Average Function Ignoring Null and Not providing correct value.</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002763#M976507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am new to qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Average function from qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some row which has no data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, still , it's needs to count in average calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but, somehow, qlikview is ignoring that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have also replaced that field with 0 when it's blank,&lt;/P&gt;&lt;P&gt;but, still, average shows wrong value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone help,&lt;/P&gt;&lt;P&gt;what would be work around ,&lt;/P&gt;&lt;P&gt;so, Average function can count blank/null rows ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002763#M976507</guid>
      <dc:creator />
      <dc:date>2015-08-26T15:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Average Function Ignoring Null and Not providing correct value.</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002764#M976508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you could get your result without avg() with sum(value) / count(value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002764#M976508</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-26T15:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Average Function Ignoring Null and Not providing correct value.</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002765#M976509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, that correct,&lt;/P&gt;&lt;P&gt;but, &lt;/P&gt;&lt;P&gt;we need to get this using AVG function instead of Sum and Count.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002765#M976509</guid>
      <dc:creator />
      <dc:date>2015-08-26T15:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Average Function Ignoring Null and Not providing correct value.</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002766#M976510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that this will work - NULL will be general ignored from expressions and 0 will be handled as FALSE and I believe that this will be also ignored by most of the expressions - but why is avg() a must?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further see here for averages: &lt;A href="https://community.qlik.com/qlik-blogpost/3208"&gt;Average – Which average?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 16:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002766#M976510</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-26T16:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Average Function Ignoring Null and Not providing correct value.</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002767#M976511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Avg({&amp;lt;DimensionName*={'*'}&amp;gt;} MeasureName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Avg({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MeasureName&lt;/SPAN&gt;*={'*'}&amp;gt;} MeasureName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Avg({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MeasureName&lt;/SPAN&gt;=P(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;MeasureName)&lt;/SPAN&gt;&amp;gt;} MeasureName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;HOpe this helps you.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 16:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002767#M976511</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-26T16:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Average Function Ignoring Null and Not providing correct value.</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002768#M976512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to use this measure in denominator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #f2f2f2;"&gt;=Avg({10000/&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;MeasureName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #f2f2f2;"&gt;*={'*'}&amp;gt;} MeasureName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #f2f2f2;"&gt;but its not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #f2f2f2;"&gt;any help would be appreciated&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 17:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002768#M976512</guid>
      <dc:creator />
      <dc:date>2015-08-26T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Average Function Ignoring Null and Not providing correct value.</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002769#M976513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is wrong set analysis syntax. Can you please upload an example to illustrate the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 17:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002769#M976513</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-08-26T17:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Average Function Ignoring Null and Not providing correct value.</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002770#M976514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to divide 10000 with the expression the try like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; background-color: #f2f2f2;"&gt;10000/&lt;/SPAN&gt;Avg({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;MeasureName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;*={'*'}&amp;gt;} MeasureName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;If you provide sample data and your expected value then it would be easier to give solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-7538"&gt;Qlik Community Tip: Posting Successful Discussion Threads&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 02:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Function-Ignoring-Null-and-Not-providing-correct-value/m-p/1002770#M976514</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-27T02:05:37Z</dc:date>
    </item>
  </channel>
</rss>

