<?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 Sum() issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2015165#M83872</link>
    <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;I have a big issue with my app.&lt;/P&gt;
&lt;P&gt;I can't understand why QlikSense changes some values.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cattura.PNG" style="width: 973px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95922i4A67F02C92F8F41F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cattura.PNG" alt="Cattura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;as you can see, if I add in my table&amp;nbsp;&lt;STRONG&gt;Netto&lt;/STRONG&gt; as a dimension I see the correct values, if I sum these values, on the second row, it display the value x2. (?!?!) I've checked also in the db and there are no differences:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cattura.PNG" style="width: 581px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95924iAD5896ED1674D534/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cattura.PNG" alt="Cattura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have really no idea what's going on.&lt;/P&gt;
&lt;P&gt;Obviously the &lt;STRONG&gt;Sum(Netto)&lt;/STRONG&gt;&amp;nbsp;in my DB is correct:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cattura.PNG" style="width: 217px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95926i3313FF0A7D3A25C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cattura.PNG" alt="Cattura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Did anyone have the same problem? Do you know why it can happens and how to fix it?&lt;/P&gt;
&lt;P&gt;This is one example, there are a lot!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks to all!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":weary_face:"&gt;😩&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Dec 2022 16:54:44 GMT</pubDate>
    <dc:creator>danimarc12</dc:creator>
    <dc:date>2022-12-11T16:54:44Z</dc:date>
    <item>
      <title>Sum() issue</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2015165#M83872</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;I have a big issue with my app.&lt;/P&gt;
&lt;P&gt;I can't understand why QlikSense changes some values.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cattura.PNG" style="width: 973px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95922i4A67F02C92F8F41F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cattura.PNG" alt="Cattura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;as you can see, if I add in my table&amp;nbsp;&lt;STRONG&gt;Netto&lt;/STRONG&gt; as a dimension I see the correct values, if I sum these values, on the second row, it display the value x2. (?!?!) I've checked also in the db and there are no differences:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cattura.PNG" style="width: 581px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95924iAD5896ED1674D534/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cattura.PNG" alt="Cattura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have really no idea what's going on.&lt;/P&gt;
&lt;P&gt;Obviously the &lt;STRONG&gt;Sum(Netto)&lt;/STRONG&gt;&amp;nbsp;in my DB is correct:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cattura.PNG" style="width: 217px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/95926i3313FF0A7D3A25C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cattura.PNG" alt="Cattura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Did anyone have the same problem? Do you know why it can happens and how to fix it?&lt;/P&gt;
&lt;P&gt;This is one example, there are a lot!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks to all!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":weary_face:"&gt;😩&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2022 16:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2015165#M83872</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2022-12-11T16:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sum() issue</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2015173#M83874</link>
      <description>&lt;P&gt;This may indicate that the data contains a duplicate row. Place all of the table's fields inside the table box to identify which ones cause duplication.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2022 18:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2015173#M83874</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-12-11T18:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sum() issue</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2018185#M84076</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;thanks a lot for your indication! I've found my error but I don't know how to fix it.&lt;/P&gt;
&lt;P&gt;Basically it is here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danimarc12_0-1671473119473.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/96513iE96904E28B63083C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danimarc12_0-1671473119473.png" alt="danimarc12_0-1671473119473.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I comment this JOIN everything is working good. My fact table is &lt;STRONG&gt;Scarico&lt;/STRONG&gt;&amp;nbsp;and I need the information of&amp;nbsp;&lt;STRONG&gt;serie&amp;nbsp;&lt;/STRONG&gt;which is an attribute of &lt;STRONG&gt;CodArtFor&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Maybe the Join is wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 18:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2018185#M84076</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2022-12-19T18:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum() issue</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2018212#M84077</link>
      <description>&lt;P&gt;To avoid duplication in the fact table, use Mapping Load, a technique similar to a left join but fundamentally different. A mapping load, on the other hand, ensures that only one of the ID records actually maps into the receiving table.&lt;/P&gt;
&lt;P&gt;More from here: &lt;A href="https://help.qlik.com/en-US/sense/November2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/Mapping.htm" target="_self"&gt;Mapping&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, you can attempt this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Map_Serie:
Mapping LOAD codperfor as CodperFor,
             Serie
FROM 
[lib://Garden House:DataFiles/mag_serie.qvd](qvd); 

Scarico:
LOAD *,
ApplyMap('Map_Serie', CodperFor) as Serie

FROM { Data Sources };&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 Dec 2022 20:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-issue/m-p/2018212#M84077</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-12-19T20:21:24Z</dc:date>
    </item>
  </channel>
</rss>

