<?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: Total function and set expression exclusions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67347#M4468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your data model is allowing somehow reducing the data based on your selections, you may want to analyse how your associations are created and may need to include some more fields to disregard in set expression. Try {1} if you want to disregard everything. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 16:57:58 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2018-02-07T16:57:58Z</dc:date>
    <item>
      <title>Total function and set expression exclusions</title>
      <link>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67345#M4466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I am trying to get a total count of products so that I can divide consumption to calculate a consumption per product. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I want to display graphically versus month/year, product type, and day.&amp;nbsp; I do not want the count to change when I make a selection on the type of material I am trending.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;i.e. if I want to see the consumption per total products for material xyz, I want to be able to select xyz and not have the count of products change to only products where xyz is used. (if it is used it has a value, if it was not, it is null).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;here is the current code I am using to get the count of products.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;count({&amp;lt;[Material.Description]=,[File1.MaterialCode]=,[File2.MaterialCode]=, Material Code Master Key=,[File3.GroupCodeDescription]=,[File3.GroupCode]= ,[File4.ElementCode]=,[File4.ElementCodeDescription]=&amp;gt;}total &amp;lt;MonthYear,[ProductGroup],Day&amp;gt; Distinct [ProductId])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I am using set expressions to try to prevent the count from changing based on material type selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Here are the problems I am having&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;1) If I do not use the Material code Key in my set expression or my filter pane, then the value changes when I make a selection on file1.materialcode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (i.e. this month I have 30 products, when I don't include the key field and I select on File1.materialcode&amp;nbsp; i end up with 26 products)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;2) When I make a selection on File3.GroupCode, the heat count changes even though I am telling it not to in the set expression. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (i.e. this month I have 30 products, when I make a selection on File3.groupcode I get 10 products)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Ultimately I would like the count of products to be 30.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Any Ideas on what i can do differently to get my desired result?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 16:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67345#M4466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T16:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Total function and set expression exclusions</title>
      <link>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67346#M4467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, are you saying that even though you ignore selection within set analysis, the selection in those fields filter your expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 16:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67346#M4467</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-07T16:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Total function and set expression exclusions</title>
      <link>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67347#M4468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your data model is allowing somehow reducing the data based on your selections, you may want to analyse how your associations are created and may need to include some more fields to disregard in set expression. Try {1} if you want to disregard everything. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 16:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67347#M4468</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-07T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Total function and set expression exclusions</title>
      <link>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67348#M4469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 17:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67348#M4469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Total function and set expression exclusions</title>
      <link>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67349#M4470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that I do not want to disregard everything.&amp;nbsp; There are fields not related to the graphical analysis that need to have the product count updated.&amp;nbsp; (product type or production line being examples).&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 17:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67349#M4470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T17:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Total function and set expression exclusions</title>
      <link>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67350#M4471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is strange, would you be able to share a sample where you can show the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Feb 2018 01:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Total-function-and-set-expression-exclusions/m-p/67350#M4471</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-11T01:45:27Z</dc:date>
    </item>
  </channel>
</rss>

