<?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: How to include Aggr - chart function ‒ QlikView in script instead? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266564#M398951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like in attached qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2017 04:42:31 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-02-14T04:42:31Z</dc:date>
    <item>
      <title>How to include Aggr - chart function ‒ QlikView in script instead?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266563#M398950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several measures using Aggr functions in different tables. I wish to insert them into rows of a table to have them all in ONE table.&lt;SPAN style="font-size: 10pt;"&gt;I was wondering if this could be done in the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="153000" alt="Sales Collection.png" class="jive-image image-1" src="/legacyfs/online/153000_Sales Collection.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In the pictures are 3 Straight Tables that I wish to combine into one table. In terms of rows (including the first table's TOTAL row) and column they should follow the picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Dim1 : Index&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Dim2 : Date&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Mea: Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Dim1 : 'LessRefund'&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Mea: Sum(aggr(Sum (Refund),Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 3&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Dim1: 'SalesMinusRefund'&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Mea: Sum(aggr(Sum (Sales),Date)) - Sum(aggr(Sum (Refund),Date))&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I have attached the QVW. Appreciate any assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 03:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266563#M398950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-14T03:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to include Aggr - chart function ‒ QlikView in script instead?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266564#M398951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like in attached qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 04:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266564#M398951</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-02-14T04:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to include Aggr - chart function ‒ QlikView in script instead?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266565#M398952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How do you have dual() show 'LessRefund' in the straight table? !&lt;/LI&gt;&lt;LI&gt;Hmm, even though your solution works. overall it still does not work for me because I have a master calendar linking the date fields together. When dates are selected, those dual() fields are filtered out. (Sorry I should have gave my whole scenario!)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;@ !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 05:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266565#M398952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-14T05:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to include Aggr - chart function ‒ QlikView in script instead?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266566#M398953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I understand your inquiry correctly, you are looking for a way to dynamically create custom totals at the bottom of the straight table. Have you looked at the other custom totals solution in community for reference on the best approach in your case? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am a bit unclear on why you need the custom values in your data model. Shouldn't the primary aim be to have the chart contain the custom values?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;For best possible replies in the community I would suggest that you try to be as clear as possible and &lt;/SPAN&gt;exemplify&lt;SPAN style="font-size: 10pt;"&gt; the expect result. For example in this case use Excel or inline data to help you visualise what result you expect under defined selections. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Keep in mind that this is a community and not free consulting, so you might not get the exact implementation for your needs but rather suggestions possible techniques on how to approach your issue. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 03:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-Aggr-chart-function-QlikView-in-script-instead/m-p/1266566#M398953</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2017-02-16T03:50:31Z</dc:date>
    </item>
  </channel>
</rss>

