<?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 Negation in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760979#M506698</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am working on one solution where I have to implement one straight table With Date &amp;amp; &lt;STRONG&gt;UserID&lt;/STRONG&gt; as first two columns.&lt;/P&gt;&lt;P&gt;Now, I have one button from which one value(Value1) is passed on selection.&lt;/P&gt;&lt;P&gt;So for my UserID i have to use Calculated Dimension as:&lt;/P&gt;&lt;P&gt;=If(Value1='Y', Only({&amp;lt;UserID -= {"Field1=Y OR Field2 =Y "} UserID&amp;gt;}), UserID)&lt;/P&gt;&lt;P&gt;I am sure that above syntax in incorrect but the logic should be that way. Can you please help.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:38:39 GMT</pubDate>
    <dc:creator>shanky1907</dc:creator>
    <dc:date>2024-11-15T23:38:39Z</dc:date>
    <item>
      <title>Negation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760979#M506698</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am working on one solution where I have to implement one straight table With Date &amp;amp; &lt;STRONG&gt;UserID&lt;/STRONG&gt; as first two columns.&lt;/P&gt;&lt;P&gt;Now, I have one button from which one value(Value1) is passed on selection.&lt;/P&gt;&lt;P&gt;So for my UserID i have to use Calculated Dimension as:&lt;/P&gt;&lt;P&gt;=If(Value1='Y', Only({&amp;lt;UserID -= {"Field1=Y OR Field2 =Y "} UserID&amp;gt;}), UserID)&lt;/P&gt;&lt;P&gt;I am sure that above syntax in incorrect but the logic should be that way. Can you please help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760979#M506698</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2024-11-15T23:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Negation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760980#M506699</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45246"&gt;@shanky1907&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you prepare a sample app and share here explaining the expected output in that context?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 06:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760980#M506699</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-11-12T06:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Negation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760981#M506701</link>
      <description>&lt;P&gt;I cant post an app currently.&amp;nbsp; The Output should be Total population but removing UserIDs where Field1=Y &amp;amp; Field2=Y when Value1=Y otherwise it should contain whole population.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 07:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760981#M506701</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2020-11-12T07:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Negation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760989#M506702</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45246"&gt;@shanky1907&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per your expression, you could try something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=If(Value1='Y', &lt;STRONG&gt;Aggr&lt;/STRONG&gt;(Only({&amp;lt;UserID = &lt;STRONG&gt;e&lt;/STRONG&gt;({&amp;lt;Field1={Y}&amp;gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&amp;lt;Field2 ={Y}&amp;gt; })&amp;gt;}, UserID),UserID),&amp;nbsp;UserID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 07:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1760989#M506702</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-11-12T07:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Negation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1761267#M506704</link>
      <description>&lt;P&gt;or add a similar calculation in EXPRESSION instead of a calculated dimension and hide the column:&lt;BR /&gt;&lt;BR /&gt;=if(Value='Y',&lt;BR /&gt;sum({&amp;lt;UserID=e( {&amp;lt;Field1={'Y'}&amp;gt; + &amp;lt;Field2={'Y'}&amp;gt;}UserID)&amp;gt;}1),&lt;BR /&gt;sum(1))&lt;/P&gt;&lt;P&gt;and add UserID as a dimension&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 17:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negation-in-set-analysis/m-p/1761267#M506704</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-11-12T17:19:35Z</dc:date>
    </item>
  </channel>
</rss>

