<?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: Using Sum(TOTAL fieldname) only works when I select a value from another field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-Sum-TOTAL-fieldname-only-works-when-I-select-a-value-from/m-p/1898441#M74167</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Check if this gives the right value without using filter&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum(EU_RecQty) / Sum(Total&amp;lt;WO&amp;gt; EU_RecQty)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 20:08:35 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2022-02-28T20:08:35Z</dc:date>
    <item>
      <title>Using Sum(TOTAL fieldname) only works when I select a value from another field</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Sum-TOTAL-fieldname-only-works-when-I-select-a-value-from/m-p/1898407#M74165</link>
      <description>&lt;P&gt;I am attempting to get a percentage of total for each record in a Work Order.&amp;nbsp; My current expression is:&lt;/P&gt;
&lt;P&gt;Sum(EU_RecQty) / Sum(Total EU_RecQty)&lt;/P&gt;
&lt;P&gt;This gives me the percentage of the total received, but only when I am filtering on a specific Work Order.&amp;nbsp; I then multiply this percentage by Acres to get a breakdown of acres for each record in the Work Order.&amp;nbsp; Here's a sample of the result when I filter on a specific Work Order:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikegrattan_1-1646072485893.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73226i8613DB5F9DF19285/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mikegrattan_1-1646072485893.png" alt="mikegrattan_1-1646072485893.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I remove the Work Order filter and only filter on some other dimensions such as Season and Location, the numbers change.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikegrattan_2-1646072689611.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73227i96DEDF84E25DB4C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mikegrattan_2-1646072689611.png" alt="mikegrattan_2-1646072689611.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I realize the scope has changed and I probably need to add a filter to my expression using Set Analysis; however, I am having a problem figuring out the right solution.&amp;nbsp; Do I use Aggr, or just add filters to my existing expression? (I've tried both but I'm not getting good results).&lt;/P&gt;
&lt;P&gt;Now, the question is how do I adjust the expression so it will work when I am not filtering on a specific Work Order?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for any assistance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 18:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Sum-TOTAL-fieldname-only-works-when-I-select-a-value-from/m-p/1898407#M74165</guid>
      <dc:creator>mikegrattan</dc:creator>
      <dc:date>2022-02-28T18:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sum(TOTAL fieldname) only works when I select a value from another field</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Sum-TOTAL-fieldname-only-works-when-I-select-a-value-from/m-p/1898441#M74167</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Check if this gives the right value without using filter&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum(EU_RecQty) / Sum(Total&amp;lt;WO&amp;gt; EU_RecQty)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 20:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Sum-TOTAL-fieldname-only-works-when-I-select-a-value-from/m-p/1898441#M74167</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-02-28T20:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sum(TOTAL fieldname) only works when I select a value from another field</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Sum-TOTAL-fieldname-only-works-when-I-select-a-value-from/m-p/1898463#M74168</link>
      <description>&lt;P&gt;This works nicely...thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 21:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Sum-TOTAL-fieldname-only-works-when-I-select-a-value-from/m-p/1898463#M74168</guid>
      <dc:creator>mikegrattan</dc:creator>
      <dc:date>2022-02-28T21:22:36Z</dc:date>
    </item>
  </channel>
</rss>

