<?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 field value exclusion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-field-value-exclusion/m-p/2120847#M1224592</link>
    <description>&lt;P&gt;Thank you for the reply, Alex&lt;/P&gt;
&lt;P&gt;I've tried your suggestion, if I understanded it properly:&lt;/P&gt;
&lt;P&gt;=Sum({$&amp;lt;DataMovMag={"&amp;gt;=$(=Min(DataAnalisi))&amp;lt;=$(=Max(DataAnalisi))"}, keyMmg -= {"*"}&amp;gt; } QtaMovimentata)&lt;/P&gt;
&lt;P&gt;but it excludes all records with a valid keyMmg, not only the ones with the keyMmg related to the keyVen.&lt;/P&gt;
&lt;P&gt;Am I missing something?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pls, note that I have tried also this one (with wrong result):&lt;/P&gt;
&lt;P&gt;=Sum({$&amp;lt;DataMovMag={"&amp;gt;=$(=Min(DataAnalisi))&amp;lt;=$(=Max(DataAnalisi))"}, keyMmg-={"=(=keyVen)"}&amp;gt; } QtaMovimentata)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Sep 2023 07:43:56 GMT</pubDate>
    <dc:creator>NickP_DF</dc:creator>
    <dc:date>2023-09-25T07:43:56Z</dc:date>
    <item>
      <title>Set analysis with field value exclusion</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-field-value-exclusion/m-p/2120733#M1224590</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;I have three tables:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;: DataVendita, keyVen&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Warehouse movements&lt;/STRONG&gt;: DataMovimento, QtaMovimentata,&amp;nbsp;keyMmg&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Calendar&lt;/STRONG&gt;: DataAnalisi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to summarize the warehouse quantities under two conditions:&lt;/P&gt;
&lt;P&gt;- the data of the warehouse movement is between the minimun and the maximum of the DataAnalisi selection&lt;/P&gt;
&lt;P&gt;- the reference of the warehouse movement (KeyMmg) isn't inside the same selected range of&amp;nbsp; sales&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for each DataVendita corresponding to one DataAnalisi in a pivot table, I built this expression in a pivot table:&lt;/P&gt;
&lt;P&gt;Sum({$&amp;lt;DataMovMag={"&amp;gt;=$(=Min(DataAnalisi))&amp;lt;=$(=Max(DataAnalisi))"}&amp;gt; } QtaMovimentata)&lt;/P&gt;
&lt;P&gt;but I'm not able to integrate it with the second one:&lt;/P&gt;
&lt;P&gt;keyMmg is not one of the keyVen in the entire above selected range&lt;/P&gt;
&lt;P&gt;Hope my issue is clear enough, 'cause it's a bit hard to explain!&lt;/P&gt;
&lt;P&gt;Thank you for the help.&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 05:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-field-value-exclusion/m-p/2120733#M1224590</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2023-09-21T05:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with field value exclusion</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-field-value-exclusion/m-p/2120741#M1224591</link>
      <description>&lt;P&gt;Hii,&amp;nbsp;&lt;A href="https://www.utsa-blackboard.com/" target="_self"&gt;&lt;FONT size="1 2 3 4 5 6 7" color="#FFFFFF"&gt;&lt;SPAN data-sheets-value="{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;UTSA Blackboard&amp;quot;}" data-sheets-userformat="{&amp;quot;2&amp;quot;:769,&amp;quot;3&amp;quot;:{&amp;quot;1&amp;quot;:0},&amp;quot;11&amp;quot;:3,&amp;quot;12&amp;quot;:0}"&gt;UTSA Blackboard&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can first filter the DataMovMag based on your date range. Then, you use the keyMmg -= {"*"} to exclude any keyMmg values that match any keyVen values within the selected date range. This will give you the desired summary of warehouse quantities meeting both conditions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 04:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-field-value-exclusion/m-p/2120741#M1224591</guid>
      <dc:creator>Alexparkes</dc:creator>
      <dc:date>2023-09-25T04:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with field value exclusion</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-field-value-exclusion/m-p/2120847#M1224592</link>
      <description>&lt;P&gt;Thank you for the reply, Alex&lt;/P&gt;
&lt;P&gt;I've tried your suggestion, if I understanded it properly:&lt;/P&gt;
&lt;P&gt;=Sum({$&amp;lt;DataMovMag={"&amp;gt;=$(=Min(DataAnalisi))&amp;lt;=$(=Max(DataAnalisi))"}, keyMmg -= {"*"}&amp;gt; } QtaMovimentata)&lt;/P&gt;
&lt;P&gt;but it excludes all records with a valid keyMmg, not only the ones with the keyMmg related to the keyVen.&lt;/P&gt;
&lt;P&gt;Am I missing something?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pls, note that I have tried also this one (with wrong result):&lt;/P&gt;
&lt;P&gt;=Sum({$&amp;lt;DataMovMag={"&amp;gt;=$(=Min(DataAnalisi))&amp;lt;=$(=Max(DataAnalisi))"}, keyMmg-={"=(=keyVen)"}&amp;gt; } QtaMovimentata)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 07:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-field-value-exclusion/m-p/2120847#M1224592</guid>
      <dc:creator>NickP_DF</dc:creator>
      <dc:date>2023-09-25T07:43:56Z</dc:date>
    </item>
  </channel>
</rss>

