<?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: KPI sum problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56344#M787578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a chart With&lt;/P&gt;&lt;P&gt;Calculated Diemsion as&amp;nbsp;&amp;nbsp;&amp;nbsp; =PIck(WildMatch([Action ID],'XY','*-*'),'XY','XY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1.&amp;nbsp; Sum([Sales Net Amount])&lt;/P&gt;&lt;P&gt;&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; 2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Discount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1213.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194021_1213.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2018 11:07:45 GMT</pubDate>
    <dc:creator>qlik4asif</dc:creator>
    <dc:date>2018-02-21T11:07:45Z</dc:date>
    <item>
      <title>KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56336#M787570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart displaying marketing action performance based on two KPI : total of sales and total of discounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Fact table has the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Store ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Receipt ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales Gross Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales Net Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Discount&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Action ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;111&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13.90&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8.90&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;201&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;10.90&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;8.20&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;201&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;10.90&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;8.20&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;151&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8.00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6.00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;111&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;5.00&lt;/TD&gt;&lt;TD&gt;XY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;201&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;2.70&lt;/TD&gt;&lt;TD&gt;XY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;201&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;2.70&lt;/TD&gt;&lt;TD&gt;XY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;151&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;2.00&lt;/TD&gt;&lt;TD&gt;XY&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resulting chart has to be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Action ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Total Sales&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Total Discount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;XY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31.30&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12.40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is with the Total Sales Net Amount, defined as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: red;"&gt;[Receipt ID]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: red;"&gt;[Sales Net Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: red;"&gt;[Action Id]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: red;"&gt; [Receipt ID]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;it takes into account distinct items. So in the example above the result is : &lt;STRONG&gt;23.10&lt;/STRONG&gt; which is not correct. The good value should be &lt;STRONG&gt;31.30&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any idea how to write the expression?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ce message a été modifié par&amp;nbsp;: Elina Demerdjieva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56336#M787570</guid>
      <dc:creator>edemerdjieva</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56337#M787571</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 with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum(aggr(sum([Sales Net Amount]),[Marketing Action ID],[Receipt ID]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum(total &amp;lt;[Receipt ID],[Marketing Action ID]&amp;gt; [Sales Net Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 16:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56337#M787571</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-20T16:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56338#M787572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Youssef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of these work. I added some details in the description to help the understanding of the underlying structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56338#M787572</guid>
      <dc:creator>edemerdjieva</dc:creator>
      <dc:date>2018-02-21T10:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56339#M787573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try putting NODISTINCT in aggr() like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;STRONG&gt;NODISTINCT &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: red;"&gt;[Receipt ID]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: red;"&gt;[Sales Net Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: red;"&gt;[Action Id]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: red;"&gt; [Receipt ID]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56339#M787573</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-02-21T10:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56340#M787574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you change the values of the table above ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56340#M787574</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-02-21T10:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56341#M787575</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;Based on the data you provided, I would probably try to separate the discounts into a new table and link them to sales by store id, receipt id and item id (use autonumber or any other method to create composite key). This way each action id should link properly to the sales rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you should be able to get rid the aggr-expression and just use a normal sum. Seems much easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56341#M787575</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2018-02-21T10:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56342#M787576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Teemu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot change the data model, unfortunately. I tried the NODISTINCT qualifier but there is no effect on the Total Sales.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56342#M787576</guid>
      <dc:creator>edemerdjieva</dc:creator>
      <dc:date>2018-02-21T10:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56343#M787577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I missing sthing?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194014_Capture.PNG" style="height: 217px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56343#M787577</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-02-21T11:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56344#M787578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a chart With&lt;/P&gt;&lt;P&gt;Calculated Diemsion as&amp;nbsp;&amp;nbsp;&amp;nbsp; =PIck(WildMatch([Action ID],'XY','*-*'),'XY','XY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1.&amp;nbsp; Sum([Sales Net Amount])&lt;/P&gt;&lt;P&gt;&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; 2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Discount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1213.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/194021_1213.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56344#M787578</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-02-21T11:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56345#M787579</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;What if there are multiple different actions? I'm assuming it's possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56345#M787579</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2018-02-21T11:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56346#M787580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case, we alter it as follow:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(total &amp;lt;ActionID&amp;gt; Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56346#M787580</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-02-21T11:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56347#M787581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;Hello Elina,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;Can you try this below expression and let me know whether the expression is working as you expected or not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;Expression : =Sum({&amp;lt;[Receipt ID] = , [Action ID] = ,[Item ID] = &amp;gt;} [Sales Net Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;STRONG&gt;Venkata Sreekanth&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 12:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56347#M787581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-21T12:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: KPI sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56348#M787582</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 found the solution. I added a row number to my data. Then the expression &lt;SPAN style="font-size: 13.3333px;"&gt;worked fine as there was a unique identifier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: red;"&gt;[Receipt ID]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: red;"&gt;[Sales Net Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: red;"&gt;[Action Id]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: red;"&gt; [Receipt ID]&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all for helping!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 09:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-sum-problem/m-p/56348#M787582</guid>
      <dc:creator>edemerdjieva</dc:creator>
      <dc:date>2018-02-23T09:24:45Z</dc:date>
    </item>
  </channel>
</rss>

