<?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 How do I refer a sum function to the dimension category instead of the measure? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-do-I-refer-a-sum-function-to-the-dimension-category-instead/m-p/2127026#M91707</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I've just started working with Qlik sense and I've encountered something I don't know how to express properly. I have some defects I need to show depending on the group that have done them. When totalizing the number is correct and gets to the value (expresion is= sum(weight of defect)/sum(weight))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AidaAR_2-1696937913900.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117971i84E50EC31A560BDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="AidaAR_2-1696937913900.png" alt="AidaAR_2-1696937913900.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But when applying the type of defect on the grafh on the right, instead of dividing the defect by the weigh of all material processed by gruop A, it divides by the weight of the material with that defect, so the total number is now incorrect.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AidaAR_0-1696937808523.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117969i6EAA4AA8B16C688A/image-size/large?v=v2&amp;amp;px=999" role="button" title="AidaAR_0-1696937808523.png" alt="AidaAR_0-1696937808523.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I fix this? I've tried sum all, sum total and it does not work.&lt;/P&gt;
&lt;P&gt;It's driving me crazy&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 11:59:32 GMT</pubDate>
    <dc:creator>AidaAR</dc:creator>
    <dc:date>2023-10-10T11:59:32Z</dc:date>
    <item>
      <title>How do I refer a sum function to the dimension category instead of the measure?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-refer-a-sum-function-to-the-dimension-category-instead/m-p/2127026#M91707</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I've just started working with Qlik sense and I've encountered something I don't know how to express properly. I have some defects I need to show depending on the group that have done them. When totalizing the number is correct and gets to the value (expresion is= sum(weight of defect)/sum(weight))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AidaAR_2-1696937913900.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117971i84E50EC31A560BDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="AidaAR_2-1696937913900.png" alt="AidaAR_2-1696937913900.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But when applying the type of defect on the grafh on the right, instead of dividing the defect by the weigh of all material processed by gruop A, it divides by the weight of the material with that defect, so the total number is now incorrect.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AidaAR_0-1696937808523.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117969i6EAA4AA8B16C688A/image-size/large?v=v2&amp;amp;px=999" role="button" title="AidaAR_0-1696937808523.png" alt="AidaAR_0-1696937808523.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I fix this? I've tried sum all, sum total and it does not work.&lt;/P&gt;
&lt;P&gt;It's driving me crazy&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 11:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-refer-a-sum-function-to-the-dimension-category-instead/m-p/2127026#M91707</guid>
      <dc:creator>AidaAR</dc:creator>
      <dc:date>2023-10-10T11:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I refer a sum function to the dimension category instead of the measure?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-refer-a-sum-function-to-the-dimension-category-instead/m-p/2127034#M91708</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;Take a look ay the Total Function,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/August2023/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/August2023/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 12:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-refer-a-sum-function-to-the-dimension-category-instead/m-p/2127034#M91708</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2023-10-10T12:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I refer a sum function to the dimension category instead of the measure?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-refer-a-sum-function-to-the-dimension-category-instead/m-p/2127157#M91716</link>
      <description>&lt;P&gt;Amigo, acho que posso te ajudar. Pra isso, você poderia disponibilizar a tabela com os campos? Seria mais fácil de entender, assim posso sugerir um filtro no próprio código da expressão. Caso não puder disponibilizar, poderia construir uma tabela de dados, parecida com a original, apenas com dados fictícios?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 15:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-refer-a-sum-function-to-the-dimension-category-instead/m-p/2127157#M91716</guid>
      <dc:creator>WalterSansdis</dc:creator>
      <dc:date>2023-10-10T15:43:35Z</dc:date>
    </item>
  </channel>
</rss>

