<?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: Expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Expression/m-p/1952688#M78550</link>
    <description>&lt;P&gt;Because you probably have two records in the data where&amp;nbsp;&lt;SPAN&gt;backlog_accessories_quantity is 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Test and see what&amp;nbsp;Count(backlog_accessories_quantity) evaluates to.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 08:05:44 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2022-07-07T08:05:44Z</dc:date>
    <item>
      <title>Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Expression/m-p/1952664#M78548</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuech1_0-1657178211577.png" style="width: 648px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83494i4D0BD5896A2653CC/image-dimensions/648x128?v=v2" width="648" height="128" role="button" title="yuech1_0-1657178211577.png" alt="yuech1_0-1657178211577.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Why Sum(backlog_accessories_quantity) is 4 not 2?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 07:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression/m-p/1952664#M78548</guid>
      <dc:creator>yuech1</dc:creator>
      <dc:date>2022-07-07T07:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Expression/m-p/1952686#M78549</link>
      <description>&lt;P&gt;because in your model, the&amp;nbsp; table containing the "backlog_accessories_quantity" field is associated to another table.&lt;/P&gt;
&lt;P&gt;This association might cause a duplication in your lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me try to explain it simpler with an example:&lt;/P&gt;
&lt;P&gt;Table 1:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;ID&lt;/TD&gt;
&lt;TD width="50%"&gt;SALES&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;1&lt;/TD&gt;
&lt;TD width="50%"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table 2:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;ID&lt;/TD&gt;
&lt;TD width="50%"&gt;DATE&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;1&lt;/TD&gt;
&lt;TD width="50%"&gt;DATE1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;1&lt;/TD&gt;
&lt;TD width="50%"&gt;DATE2&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you have a model like this, if you create sum(Sales) for ID=1 it will be 4 instead of 2 because the ID=1 exists in the table 2 in 2 different lines..&lt;/P&gt;
&lt;P&gt;Hope this was clear?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 08:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression/m-p/1952686#M78549</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2022-07-07T08:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Expression/m-p/1952688#M78550</link>
      <description>&lt;P&gt;Because you probably have two records in the data where&amp;nbsp;&lt;SPAN&gt;backlog_accessories_quantity is 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Test and see what&amp;nbsp;Count(backlog_accessories_quantity) evaluates to.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 08:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression/m-p/1952688#M78550</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-07-07T08:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Expression/m-p/1953174#M78604</link>
      <description>&lt;P&gt;yes,thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 05:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression/m-p/1953174#M78604</guid>
      <dc:creator>yuech1</dc:creator>
      <dc:date>2022-07-08T05:38:22Z</dc:date>
    </item>
  </channel>
</rss>

