<?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 &amp;lt;&amp;gt; condition issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359882#M1171795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have a problem with the condition &amp;lt;&amp;gt; in a count expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expresion is this:&lt;/P&gt;&lt;P&gt;count(distinct(if(USERS_ALL.u_email &amp;lt;&amp;gt; SUBSCRIPTIONS_DISTINCT.email, USERS_ALL.u_email)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and for example, in both tables there is a value like &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:'gerardo@hotmail.com"&gt;'gerardo@hotmail.com&lt;/A&gt;&lt;SPAN&gt;' but i dont know why the last expression include this value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What im doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;gerardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2012 20:30:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-19T20:30:35Z</dc:date>
    <item>
      <title>&lt;&gt; condition issue</title>
      <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359882#M1171795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have a problem with the condition &amp;lt;&amp;gt; in a count expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expresion is this:&lt;/P&gt;&lt;P&gt;count(distinct(if(USERS_ALL.u_email &amp;lt;&amp;gt; SUBSCRIPTIONS_DISTINCT.email, USERS_ALL.u_email)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and for example, in both tables there is a value like &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:'gerardo@hotmail.com"&gt;'gerardo@hotmail.com&lt;/A&gt;&lt;SPAN&gt;' but i dont know why the last expression include this value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What im doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;gerardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 20:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359882#M1171795</guid>
      <dc:creator />
      <dc:date>2012-06-19T20:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;&gt; condition issue</title>
      <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359883#M1171796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gerardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you tell us a bit more about the two tables and how they are linked? Would be best if you could post some sample lines of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 22:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359883#M1171796</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-19T22:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;&gt; condition issue</title>
      <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359884#M1171797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe: if(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;USERS_ALL.u_email &amp;lt;&amp;gt; SUBSCRIPTIONS_DISTINCT.email&lt;/SPAN&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;count(distinct&lt;/SPAN&gt; &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;USERS_ALL.u_email&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 09:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359884#M1171797</guid>
      <dc:creator />
      <dc:date>2012-06-20T09:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;&gt; condition issue</title>
      <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359885#M1171798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Hi Swuehl,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I send you more information about….hope this help to give me a hand….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;USERS_ALL:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;email&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;u_email&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;id&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;%Key_USER_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;id&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;u_user_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;SUBSCRIPTIONS_DISTINCT:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;email&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt; email&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;%Key_EMAIL&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; [..\QVD\SUBSCRIPTIONS.QVD] (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;is_subscribed&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = 1; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;gerardo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 13:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359885#M1171798</guid>
      <dc:creator />
      <dc:date>2012-06-21T13:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;&gt; condition issue</title>
      <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359886#M1171799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gerardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems to me that your tables are not linked, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your embedded if() statement is implicitely building an embedded table containing all combinations of u_email and email. In you have more than one distinct email values, I guess your comparison will return all distinct u_email values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think something like this might solve your problem better:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=count(distinct {&amp;lt;USERS_ALL.u_email -= p(SUBSCRIPTIONS_DISTINCT.email) &amp;gt; } USERS_ALL.u_email)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 14:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359886#M1171799</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-21T14:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;&gt; condition issue</title>
      <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359887#M1171800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks swuehl, so.....this count all emails in USERS_ALL table which are not present in &lt;EM&gt;SUBSCRIPTIONS_DISTINCT table? dont you?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;and if i want to count all emails present in both tables?&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 14:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359887#M1171800</guid>
      <dc:creator />
      <dc:date>2012-06-21T14:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;&gt; condition issue</title>
      <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359888#M1171801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just remove the minus sign (set expression exclusion operator)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=count(distinct {&amp;lt;u_email = p(email) &amp;gt; } u_email)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 14:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359888#M1171801</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-21T14:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;&gt; condition issue</title>
      <link>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359889#M1171802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, i&lt;A class="spell" href="https://www.google.com.ar/search?hl=es&amp;amp;client=firefox-a&amp;amp;hs=n0O&amp;amp;rls=org.mozilla:es-ES:official&amp;amp;sa=X&amp;amp;ei=JjHjT__9BYfO9QTT7KSGCA&amp;amp;ved=0CAgQvwUoAQ&amp;amp;q=thought&amp;amp;spell=1"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/A&gt; thought the minus sign was a type error because the editor expresion underline it in red.....but im wrong, because the expresion is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, the values looks well....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot....&lt;/P&gt;&lt;P&gt;gerardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 14:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lt-gt-condition-issue/m-p/359889#M1171802</guid>
      <dc:creator />
      <dc:date>2012-06-21T14:35:00Z</dc:date>
    </item>
  </channel>
</rss>

