<?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: Excluding zero from Average **URGENT** in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863750#M1009428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post a qlikview document that demonstrates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 15:54:14 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-05-06T15:54:14Z</dc:date>
    <item>
      <title>Excluding zero from Average **URGENT**</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863747#M1009425</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;I have an application where i need to match my ADR values with the below report.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="85499" alt="ADR.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/85499_ADR.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;This is the expression they are using to caluculate 2014 ADR in excel&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;=AVERAGE((IF(SUBTOTAL(9,OFFSET($GV$5,ROW($GV$5:$GV$706)-ROW($GV$5),0))&amp;lt;&amp;gt;0,SUBTOTAL(9,OFFSET($GV$5,ROW($GV$5:$GV$706)-ROW($GV$5),0)))))&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is the expression they are using to caluculate 2015 ADR in excel&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=AVERAGE((IF(SUBTOTAL(9,OFFSET($GW$5,ROW($GW$5:$GW$706)-ROW($GW$5),0))&amp;lt;&amp;gt;0,SUBTOTAL(9,OFFSET($GW$5,ROW($GW$5:$GW$706)-ROW($GW$5),0)))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is the expression they are using to caluculate 2015 YOY in excel&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=IF(AND(GV1=0,GW1=0),0,IF(GV1=0,100%,IF(GW1=0,-100%,(GW1-GV1)/GV1)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;The values i get in my QV report are&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;IMG __jive_id="85501" alt="QV ADR.PNG" class="image-4 jive-image" src="/legacyfs/online/85501_QV ADR.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is the expression am using to caluculate 2014 ADR in QV&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=sum(Cost)/sum(Nights)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is the expression am using to caluculate 2015 ADR in QV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) }&amp;gt;} Cost )&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) }&amp;gt;} &lt;/SPAN&gt;Nights )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;This is the expression am using to caluculate YOY&amp;nbsp; in QV&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;((sum(Cost)/sum(Nights))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;/&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) }&amp;gt;} Cost )&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) }&amp;gt;} &lt;/SPAN&gt;Nights )&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;)) -1&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Can you please help me exclude zeros while calucationg the average to match their numbers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I tried &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if((sum(Cost)/sum(Nights))&amp;gt;0,(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum(Cost)/sum(Nights))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;but am not getting any closer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please help me fix this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&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>Fri, 01 May 2015 15:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863747#M1009425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-01T15:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding zero from Average **URGENT**</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863748#M1009426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Maybe like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2015 ADR&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(sum(Cost)/sum(Nights)&lt;/SPAN&gt;&amp;gt;0,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) }&amp;gt;} Cost )&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) }&amp;gt;} &lt;/SPAN&gt;Nights ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YOY:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;alt( alt(sum(Cost)/sum(Nights),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;/&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) }&amp;gt;} Cost )&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) }&amp;gt;} &lt;/SPAN&gt;Nights )&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;),0) -1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 May 2015 11:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863748#M1009426</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-03T11:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding zero from Average **URGENT**</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863749#M1009427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it didn't work... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;P&gt;With your expressions am getting the below values&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85831_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But am looking for &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/85832_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 15:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863749#M1009427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-06T15:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding zero from Average **URGENT**</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863750#M1009428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post a qlikview document that demonstrates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 15:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863750#M1009428</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-06T15:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding zero from Average **URGENT**</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863751#M1009429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming the 0 are for the cost, right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in your expression you could add a cost filter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1), Cost -={0} }&amp;gt;} Cost )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;/&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Sum({&amp;lt; [Travel Year] = {$(=Max([Travel Year]) -1) },&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Cost -={0} &lt;/SPAN&gt;&amp;gt;} &lt;/SPAN&gt;Nights )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 15:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863751#M1009429</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-06T15:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding zero from Average **URGENT**</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863752#M1009430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 0's are for ADR Totals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2014&amp;nbsp; ADR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015ADR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YOY&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 445px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="162"&gt;$255.78&lt;/TD&gt;&lt;TD class="xl63" width="127"&gt;$269.56&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #006100; font-family: Calibri; border: none; background: #c6efce;" width="156"&gt;5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$371.73&lt;/TD&gt;&lt;TD class="xl63"&gt;$397.95&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #006100; font-family: Calibri; border: none; background: #c6efce;"&gt;7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$502.12&lt;/TD&gt;&lt;TD class="xl63"&gt;$529.46&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #006100; font-family: Calibri; border: none; background: #c6efce;"&gt;5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$331.51&lt;/TD&gt;&lt;TD class="xl63"&gt;&lt;STRONG&gt;$&lt;/STRONG&gt;0.00&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #9c0006; font-family: Calibri; border: none; background: #ffc7ce;"&gt;-100%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$344.62&lt;/TD&gt;&lt;TD class="xl63"&gt;$378.73&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #006100; font-family: Calibri; border: none; background: #c6efce;"&gt;10%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$169.46&lt;/TD&gt;&lt;TD class="xl63"&gt;$200.12&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #006100; font-family: Calibri; border: none; background: #c6efce;"&gt;18%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$423.43&lt;/TD&gt;&lt;TD class="xl63"&gt;$416.34&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #9c0006; font-family: Calibri; border: none; background: #ffc7ce;"&gt;-2%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$374.77&lt;/TD&gt;&lt;TD class="xl63"&gt;$382.32&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #006100; font-family: Calibri; border: none; background: #c6efce;"&gt;2%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$330.91&lt;/TD&gt;&lt;TD class="xl63"&gt;$365.57&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #006100; font-family: Calibri; border: none; background: #c6efce;"&gt;10%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$163.88&lt;/TD&gt;&lt;TD class="xl63"&gt;$160.39&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #9c0006; font-family: Calibri; border: none; background: #ffc7ce;"&gt;-2%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;$312.95&lt;/TD&gt;&lt;TD class="xl63"&gt;$0.00&lt;/TD&gt;&lt;TD class="xl64" style="font-size: 8pt; color: #9c0006; font-family: Calibri; border: none; background: #ffc7ce;"&gt;-100%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the ADR Totals from the above data they are excluding 0's&lt;/P&gt;&lt;P&gt;sum(values)/(count(values) &amp;lt;&amp;gt; 0) = total ADR&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-769133-85832/Capture.PNG" style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; background-color: #f2f2f2;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" height="83" src="https://community.qlik.com/legacyfs/online/85833_Capture.PNG" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="375" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 16:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863752#M1009430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-06T16:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding zero from Average **URGENT**</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863753#M1009431</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;avg({&amp;lt; YourValue -= {0} &amp;gt;} YourValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avg({$-&amp;lt; YourValue = {0} &amp;gt;} YourValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 16:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863753#M1009431</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-05-06T16:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding zero from Average **URGENT**</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863754#M1009432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just see a null value now.. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 19:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-zero-from-Average-URGENT/m-p/863754#M1009432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-06T19:39:13Z</dc:date>
    </item>
  </channel>
</rss>

