<?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: Expression using variables not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-using-variables-not-working/m-p/1723625#M455544</link>
    <description>&lt;P&gt;Sorry - Small clarification -&lt;/P&gt;&lt;P&gt;I missed the "Not" in front of the last match...&lt;/P&gt;&lt;P&gt;And, I do know there are rows that should show up with that 2nd logic - i.e., there ARE entries with nomenclatures that have only Availability = 'None'.&amp;nbsp; (In fact, the final will need to have = None, and &amp;lt;&amp;gt; Partial, and &amp;lt;&amp;gt; Full actually...&amp;nbsp; but I can't even get that 2nd one to work with only the one added constraint...)&lt;/P&gt;&lt;P&gt;So I assume what I'm trying either isn't allowed (can't imagine in this case...) or I'm just using the wrong syntax (hoping this is the case...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2020 16:04:26 GMT</pubDate>
    <dc:creator>papabaer</dc:creator>
    <dc:date>2020-06-30T16:04:26Z</dc:date>
    <item>
      <title>Expression using variables not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-using-variables-not-working/m-p/1723615#M455543</link>
      <description>&lt;P&gt;I have the following variables defined:&lt;/P&gt;&lt;P&gt;vNomsPartial defined as: if(Availability='Partial', Nomenclature)&lt;/P&gt;&lt;P&gt;vNomsNone defined as: if(Availability='None', Nomenclature)&lt;/P&gt;&lt;P&gt;vNomsFull defined as: if(Availability='Full', Nomenclature)&lt;/P&gt;&lt;P&gt;Any given row in the table could have any number of occurrences of a particular Nomenclature with the Availability in any of the three states.&amp;nbsp; Nomenclature ABC could occur three times, for example, with each Availability.&lt;/P&gt;&lt;P&gt;I'm trying to fill a field based on the existence of rows in the various states.&lt;/P&gt;&lt;P&gt;For example, if Nomenclature ABC had both a 'Full' and a 'Partial' Availability, then I'd want to output 'Partial' for this particular Nomenclature.&lt;/P&gt;&lt;P&gt;When I try the following expression in a list box - to see what the variables are returning, I do get the expected list of nomenclatures - those for which there exists the condition of Availability = 'None':&lt;/P&gt;&lt;P&gt;= if(match(Nomenclature, $(vNomsNone)) , Nomenclature)&lt;/P&gt;&lt;P&gt;However, the wheels come off when I try to do anything more - like ensure that ALL instances are ONLY None.&amp;nbsp; The following does not return any rows:&lt;/P&gt;&lt;P&gt;= if(match(Nomenclature, $(vNomsNone)) AND not match(Nomenclature, $(vNomsPartial)), Nomenclature)&lt;/P&gt;&lt;P&gt;I just don't see how the 1st can work, and not the 2nd.&lt;/P&gt;&lt;P&gt;Any help out there?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 16:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-using-variables-not-working/m-p/1723615#M455543</guid>
      <dc:creator>papabaer</dc:creator>
      <dc:date>2020-06-30T16:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression using variables not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-using-variables-not-working/m-p/1723625#M455544</link>
      <description>&lt;P&gt;Sorry - Small clarification -&lt;/P&gt;&lt;P&gt;I missed the "Not" in front of the last match...&lt;/P&gt;&lt;P&gt;And, I do know there are rows that should show up with that 2nd logic - i.e., there ARE entries with nomenclatures that have only Availability = 'None'.&amp;nbsp; (In fact, the final will need to have = None, and &amp;lt;&amp;gt; Partial, and &amp;lt;&amp;gt; Full actually...&amp;nbsp; but I can't even get that 2nd one to work with only the one added constraint...)&lt;/P&gt;&lt;P&gt;So I assume what I'm trying either isn't allowed (can't imagine in this case...) or I'm just using the wrong syntax (hoping this is the case...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 16:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-using-variables-not-working/m-p/1723625#M455544</guid>
      <dc:creator>papabaer</dc:creator>
      <dc:date>2020-06-30T16:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Expression using variables not working</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-using-variables-not-working/m-p/1725150#M455545</link>
      <description>&lt;P&gt;I think don't use AND for comparing same field nomenclature. use OR instead of AND.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2020 18:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-using-variables-not-working/m-p/1725150#M455545</guid>
      <dc:creator>Akhil_Reddy</dc:creator>
      <dc:date>2020-07-05T18:02:28Z</dc:date>
    </item>
  </channel>
</rss>

