<?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: Set analysis with mutiplication in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-mutiplication/m-p/1974349#M80374</link>
    <description>&lt;P&gt;Sum({&amp;lt;[Production Status]={1}&amp;gt;} Quantity) * Sum(PartPieceweight)&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2022 15:34:59 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2022-08-29T15:34:59Z</dc:date>
    <item>
      <title>Set analysis with mutiplication</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-mutiplication/m-p/1974343#M80371</link>
      <description>&lt;P&gt;&lt;SPAN&gt;hI,&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to sum the quantity and multiply by partpieceweight.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Does the below expression makes sense?&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;vCoveredQty1&amp;nbsp; =sum({&amp;lt;[Production Status]={1}&amp;gt;} Quantity*partPieceWeight) Is not providing the expected value.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for example , quantity = 7371&amp;nbsp; and partPieceweight =&amp;nbsp; 0.12.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The expected value is 884.52.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the actual output is 1769.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 15:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-mutiplication/m-p/1974343#M80371</guid>
      <dc:creator>Husky_Bab12</dc:creator>
      <dc:date>2022-08-29T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with mutiplication</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-mutiplication/m-p/1974346#M80373</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your problem is not related to Set Analysis. It looks like you are getting a duplicated value, which could be caused by issues in your data model. The table that stores the Quantity and the table that stores the Weight, are linked in such a way that the data gets duplicated. Or, one of the tables contains duplicate entries that you may not be noticing.&lt;/P&gt;
&lt;P&gt;If you'd like to learn more about Set Analysis and why these two fields should be stored in the same table, check out the agenda of our Masters Summit for Qlik - the most advanced Qlik developers training in the world! We will be in Madrid in September, and in New Orleans, LA in November:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://masterssummit.com/" target="_blank"&gt;https://masterssummit.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 15:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-mutiplication/m-p/1974346#M80373</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2022-08-29T15:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with mutiplication</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-with-mutiplication/m-p/1974349#M80374</link>
      <description>&lt;P&gt;Sum({&amp;lt;[Production Status]={1}&amp;gt;} Quantity) * Sum(PartPieceweight)&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 15:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-with-mutiplication/m-p/1974349#M80374</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-08-29T15:34:59Z</dc:date>
    </item>
  </channel>
</rss>

