<?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 distinct By Default? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910648#M75045</link>
    <description>&lt;P&gt;Good luck. Sorry I couldn't actually help.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 14:15:06 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-03-28T14:15:06Z</dc:date>
    <item>
      <title>Sum distinct By Default?</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910541#M75027</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;We're facing a very strange issue in one of our dashboards. Suddenly, it starts to apply "distinct" in all its values. Please see the attached image. You can see a table with two dimensions (Hora (hour), Value as dimension) and a measure sum(Datosn) . If you sum all data on the measure, it sums 488, but table shows 377, that is the result of sum(distinct datosn).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GestionPSD_0-1648466226874.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75469i0DF88B05C6C4B9A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GestionPSD_0-1648466226874.png" alt="GestionPSD_0-1648466226874.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It's happening in all the dashboard visualizations.&lt;/P&gt;
&lt;P&gt;The weirdest thing is that it doesn't happen in a twin paralell-built (not duplicated form this one) dashboard (same data load script, same visualizations).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you any idea about what's happening and how to solve it?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Alonso Torres.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 11:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910541#M75027</guid>
      <dc:creator>Gestion-PSD</dc:creator>
      <dc:date>2022-03-28T11:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sum distinct By Default?</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910545#M75029</link>
      <description>&lt;P&gt;Are you sure that each line in your table corresponds to an actual row in your data? For example, consider this structure:&lt;/P&gt;
&lt;P&gt;Key,&amp;nbsp; Hour&lt;/P&gt;
&lt;P&gt;A, 1&lt;/P&gt;
&lt;P&gt;B, 2&lt;/P&gt;
&lt;P&gt;B, 3&lt;/P&gt;
&lt;P&gt;Key, Value&lt;/P&gt;
&lt;P&gt;A, 10&lt;/P&gt;
&lt;P&gt;B, 20&lt;/P&gt;
&lt;P&gt;In that scenario, you would get:&lt;/P&gt;
&lt;P&gt;Hour, Value&lt;/P&gt;
&lt;P&gt;1, 10&lt;/P&gt;
&lt;P&gt;2, 20&lt;/P&gt;
&lt;P&gt;3, 20&lt;/P&gt;
&lt;P&gt;But the sum would only be 30 because it would be applied to the values from the second table, where Value resides.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 11:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910545#M75029</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-28T11:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum distinct By Default?</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910549#M75030</link>
      <description>&lt;P&gt;Hi Or.&lt;/P&gt;
&lt;P&gt;Absolutelly yes. There doesn't exists relations in data model in the way you show.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the aggregated values directly stored from resident dashboard data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GestionPSD_0-1648468001352.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75476iB94A74B9BF5A96E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GestionPSD_0-1648468001352.png" alt="GestionPSD_0-1648468001352.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As I said before, We've a similar dashboard with similar data, data load script and visualizations, and it isn't affected by this weird behavior.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 11:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910549#M75030</guid>
      <dc:creator>Gestion-PSD</dc:creator>
      <dc:date>2022-03-28T11:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sum distinct By Default?</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910557#M75031</link>
      <description>&lt;P&gt;In that case,&amp;nbsp; the only thing I can think of is to confirm that this isn't referring to a master item called Datosn which may behave differently from the field Datosn (We've had some issues before when a field name and master item name are identical). Otherwise, I'm at a loss as to what might cause this sort of behavior for a flat file and simple sum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 12:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910557#M75031</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-28T12:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sum distinct By Default?</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910638#M75043</link>
      <description>&lt;P&gt;Hi again.&lt;/P&gt;
&lt;P&gt;There's no master item called as this field.&lt;/P&gt;
&lt;P&gt;I think&amp;nbsp;&amp;nbsp;the dashboard must have got&amp;nbsp; some kind of corruption out of our knownledge. We're going to rebuild it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your quick replies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Alonso Torres.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910638#M75043</guid>
      <dc:creator>Gestion-PSD</dc:creator>
      <dc:date>2022-03-28T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sum distinct By Default?</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910648#M75045</link>
      <description>&lt;P&gt;Good luck. Sorry I couldn't actually help.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 14:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-distinct-By-Default/m-p/1910648#M75045</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-28T14:15:06Z</dc:date>
    </item>
  </channel>
</rss>

