<?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 Create fag when two conditions are met in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-fag-when-two-conditions-are-met/m-p/363257#M1177810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have some misplaced parentheses. This should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Count(Distinct First_Key) &amp;lt;&amp;gt; Count(Distinct Second_Key), 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2012 20:32:15 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-03-21T20:32:15Z</dc:date>
    <item>
      <title>Create fag when two conditions are met</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fag-when-two-conditions-are-met/m-p/363256#M1177809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to creat ea flag for when these two conditions are met:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Count(Distinct(First_Key) &amp;lt;&amp;gt; Count(Distinct(Second_Key), 1, 0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I don't quite get the syntax. Does this need to be a set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to rerutn a 1 if the number of unque first_key is not the same as the number of unique second_key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 20:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fag-when-two-conditions-are-met/m-p/363256#M1177809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-21T20:07:11Z</dc:date>
    </item>
    <item>
      <title>Create fag when two conditions are met</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fag-when-two-conditions-are-met/m-p/363257#M1177810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have some misplaced parentheses. This should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Count(Distinct First_Key) &amp;lt;&amp;gt; Count(Distinct Second_Key), 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 20:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fag-when-two-conditions-are-met/m-p/363257#M1177810</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-03-21T20:32:15Z</dc:date>
    </item>
  </channel>
</rss>

