<?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: Regarding Total Mode as a average in Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451549#M434391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is actually a dummy data, in actual we need to do sum for expression (Sum(A)/Sum(B) as percentage), is it possible without using the average function in expression?&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, 23 Aug 2017 11:57:52 GMT</pubDate>
    <dc:creator>reema_dangwal</dc:creator>
    <dc:date>2017-08-23T11:57:52Z</dc:date>
    <item>
      <title>Regarding Total Mode as a average in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451546#M434388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a dashboard and show sales and percentage as a expression in straight table. Now for totals, percentage has to be displayed as Total Mode = Average.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="294"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Product&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Sales&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Percentage&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none;"&gt;4100&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ProductA&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ProductB&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ProductC&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;700&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ProductD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;800&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ProductE&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;900&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ProductF&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ProductG&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;ProductH&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total for percentage is displaying 11.8 as shown in the attached files(also above), however if we calculate manually, the percentage total(average) should be 118/8 = 14.75 but it is showing 11.8 since it is calculating it as 118/10(including products for which expression is null).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest how correct average can be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 11:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451546#M434388</guid>
      <dc:creator>reema_dangwal</dc:creator>
      <dc:date>2017-08-23T11:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Total Mode as a average in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451547#M434389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about you use this as expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Percentage)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with Expression Total as total mode&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174365_Capture.PNG" style="height: 282px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 11:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451547#M434389</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T11:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Total Mode as a average in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451548#M434390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use total mode as "Expression total" and use below expression&lt;/P&gt;&lt;P&gt;=avg(Percentage)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 11:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451548#M434390</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-23T11:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Total Mode as a average in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451549#M434391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is actually a dummy data, in actual we need to do sum for expression (Sum(A)/Sum(B) as percentage), is it possible without using the average function in expression?&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, 23 Aug 2017 11:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451549#M434391</guid>
      <dc:creator>reema_dangwal</dc:creator>
      <dc:date>2017-08-23T11:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Total Mode as a average in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451550#M434392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg(Aggr(Sum(A)/Sum(B), Product))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still using expression total as total mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451550#M434392</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T12:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Total Mode as a average in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451551#M434393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even this is not working, I will try to create the replica of expression and upload the file for clarity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451551#M434393</guid>
      <dc:creator>reema_dangwal</dc:creator>
      <dc:date>2017-08-23T12:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Total Mode as a average in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451552#M434394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would be really helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-Total-Mode-as-a-average-in-Straight-Table/m-p/1451552#M434394</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T12:25:52Z</dc:date>
    </item>
  </channel>
</rss>

