<?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: Sum value differs when we use the dimension as KPI in Qliksense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800167#M64822</link>
    <description>&lt;P&gt;&lt;SPAN&gt;So, there is a field named Sum(EGNetUSDAmount)&amp;nbsp;&lt;/SPAN&gt;in &lt;SPAN&gt;OB_COM_FINANCE.qvd??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How is that qvd built?&amp;nbsp; Does that data in that qvd match your raw data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My guess is that the granularity of that qvd is different than you are expecting.&amp;nbsp; Is it aggregate to only&amp;nbsp;SAP_SOLI,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"SNP Process Calendar Date DD MM YYYY Code",&amp;nbsp; &amp;nbsp; PROFIT_CENTER_L1_NAME?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 15:39:18 GMT</pubDate>
    <dc:creator>GaryGiles</dc:creator>
    <dc:date>2021-04-16T15:39:18Z</dc:date>
    <item>
      <title>Sum value differs when we use the dimension as KPI in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800025#M64802</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use column&amp;nbsp;&lt;STRONG&gt;Item Value_EGNetUSD &lt;/STRONG&gt;&amp;nbsp;with &lt;STRONG&gt;SUM function ( sum(distinct[Item Value_EGNetUSD])&lt;/STRONG&gt;&amp;nbsp;I do get a sum total value = 9.6 K which differs when I use the same column as KPI (Key performance indicator)&amp;nbsp; = 7.26k.&amp;nbsp;Please can anyone let me know why is this difference. Attached example with 10 lines of data for reference. Your assist is highly appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;KPI value - 7.26K&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;Manually&lt;/I&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;downloaded&amp;nbsp;and check - 9.5K&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;KPI as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dharis_0-1618565855766.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53148i6CBF655A366EBDF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dharis_0-1618565855766.png" alt="dharis_0-1618565855766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dharis_1-1618565905391.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53149i3F8A580708856C51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dharis_1-1618565905391.png" alt="dharis_1-1618565905391.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 21:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800025#M64802</guid>
      <dc:creator>dharis</dc:creator>
      <dc:date>2021-12-21T21:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum value differs when we use the dimension as KPI in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800047#M64808</link>
      <description>&lt;P&gt;The difference between the sum in the KPI vs the sum in the table is due to your use of "distinct" in your sum.&amp;nbsp; In the KPI, the distinct is applied to&amp;nbsp;[Item Value_EGNetUSD] for the entire set.&amp;nbsp; In the table, it is able to each combination of [SAP ON], [SourceRegion] and&amp;nbsp;[Item Value_EGNetUSD], which means all values will be included.&amp;nbsp; If a value occurs more than once in the data set, it will only be included once in the KPI with "distinct".&lt;/P&gt;&lt;P&gt;If you remove the word "distinct" from the KPI you should get a value that matches the table.&lt;/P&gt;&lt;P&gt;Is there a reason that you used "distinct"?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 11:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800047#M64808</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-16T11:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sum value differs when we use the dimension as KPI in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800132#M64816</link>
      <description>&lt;P&gt;Hi GaryGiles,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. The issue is when I use the SUM Function the revenue numers with raw data and KPI does not matches again. Please check below screen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Value in KPI with SUM function. Is there a way to get the revenue number that has a value reflecting in coulumn&amp;nbsp;C = 9.3K in KPI&amp;nbsp;&lt;/P&gt;&lt;P&gt;Value when I use KPI with SUM() = 14.3k&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dharis_0-1618581346492.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53160iAE9C909CEB9AB165/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dharis_0-1618581346492.png" alt="dharis_0-1618581346492.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Value in Raw data extraction without SUM function = 9.3 K&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dharis_1-1618581485410.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53161i05B2E077FFDD6439/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dharis_1-1618581485410.png" alt="dharis_1-1618581485410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 13:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800132#M64816</guid>
      <dc:creator>dharis</dc:creator>
      <dc:date>2021-04-16T13:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sum value differs when we use the dimension as KPI in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800135#M64817</link>
      <description>&lt;P&gt;What is the level of aggregation in the table for the value&amp;nbsp;&lt;STRONG&gt;[Item Value_EGNetUSD]?&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;It seems like you have multiple rows with the same value, thus the use of Distinct.&amp;nbsp; Is the data summarized to the [SAP ON] field?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 14:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800135#M64817</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-16T14:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum value differs when we use the dimension as KPI in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800151#M64819</link>
      <description>&lt;P&gt;The thing surprises is we could not track any duplicates in Raw data extracts.&amp;nbsp; We do use SAP_SOLI as primary key - Below is the script I use to load the data from QVD from various tables this may give you an Idea&lt;/P&gt;&lt;P&gt;Main:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp; &amp;nbsp; SAP_SOLI,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Item status",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Order type",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "SAP ON",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "SAP item #",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Legacy ON",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Product,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Product description",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; PL,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; BU,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Ship to Party",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Order create dt",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; CRD,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "GI dt",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Plant,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "SHP point",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Build trigger dt",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Complexity,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Compl. Del.",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Hold category",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Hold mapping",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Hold desc.",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Future CRD y/n",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "HLI y/n",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Unit type",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "SOC vs Item Create",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Ship-to country",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ESD,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; FactoryShipDt,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ScBlCat,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ObProcessDate,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Order Qty",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "SAP HLI",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Revenue Orders",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Item clean dt",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; SourceRegion&lt;BR /&gt;FROM [lib://HPE EG QVD Location/NPI/Orderbook/OB_COM_MAIN.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Left Join(Main)&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SAP_SOLI,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"SNP Process Calendar Date DD MM YYYY Code",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; PROFIT_CENTER_L1_NAME,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Sum(EGNetUSDAmount) as "(Item Value_EGNetUSD)"&lt;BR /&gt;&amp;nbsp;FROM [lib://HPE EG QVD Location/NPI/Orderbook/OB_COM_FINANCE.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Left Join(Main)&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;SAP_SOLI,&lt;BR /&gt;TotalRecommit&lt;BR /&gt;FROM [lib://HPE EG QVD Location/NPI/Orderbook/OB_COM_RECOMIT.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Left Join(Main)&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;SAP_SOLI,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Miss Avail Dt",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Miss Part Desc."&lt;BR /&gt;FROM [lib://HPE EG QVD Location/NPI/Orderbook/OB_COM_SHORTAGES.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Store * from [Main] into [lib://HPE EG QVD Location/NPI/Orderbook/OB_COM_FINAL.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 14:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800151#M64819</guid>
      <dc:creator>dharis</dc:creator>
      <dc:date>2021-04-16T14:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum value differs when we use the dimension as KPI in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800167#M64822</link>
      <description>&lt;P&gt;&lt;SPAN&gt;So, there is a field named Sum(EGNetUSDAmount)&amp;nbsp;&lt;/SPAN&gt;in &lt;SPAN&gt;OB_COM_FINANCE.qvd??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How is that qvd built?&amp;nbsp; Does that data in that qvd match your raw data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My guess is that the granularity of that qvd is different than you are expecting.&amp;nbsp; Is it aggregate to only&amp;nbsp;SAP_SOLI,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"SNP Process Calendar Date DD MM YYYY Code",&amp;nbsp; &amp;nbsp; PROFIT_CENTER_L1_NAME?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 15:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800167#M64822</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-04-16T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sum value differs when we use the dimension as KPI in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800248#M64832</link>
      <description>&lt;P&gt;finance QVD is extracted from Cube from analytical team and share&amp;nbsp; feed everyday, here SAPSOLI (SAPorder + SAP item) are primary key / unique key where revenue numbers are associated /linked. that's the reason we join tables using SAPSOLI as primary key. Hope this answers your question. Let me know if you need more insight on this? again Thanks for your time and help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 04:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800248#M64832</guid>
      <dc:creator>dharis</dc:creator>
      <dc:date>2021-04-17T04:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sum value differs when we use the dimension as KPI in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800249#M64833</link>
      <description>&lt;P&gt;there is not field SUM(Item_EGNetUSD) we create that for our KPI&amp;nbsp;&lt;/P&gt;&lt;P&gt;QVD is automated Feed, from Cube.&amp;nbsp;&lt;/P&gt;&lt;P&gt;revenue numbers are associated to SAPSOLI each line item for example SAP order = 32109010 and Item number 0010, 0020,0030 so revenue number for each line item will be assigned as 321090100010, 32090100020,321090100030....... when I check for duplicates in SAPSOLI I could not trace one said so, not sure how is the numbers are getting multiplied for only few line items and not for all when I use SUM(). Looks there are duplicate in RAW. Is there a way to match the numbers from colum C (Item_Value EGNetUSD and KPI . Please let me know&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 04:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-value-differs-when-we-use-the-dimension-as-KPI-in-Qliksense/m-p/1800249#M64833</guid>
      <dc:creator>dharis</dc:creator>
      <dc:date>2021-04-17T04:22:13Z</dc:date>
    </item>
  </channel>
</rss>

