<?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: Exists() question! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539104#M201464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE EXISTS (&lt;STRONG style="font-size: 11px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%ResponsibleDepKey &lt;/STRONG&gt;, &lt;STRONG style="font-size: 11px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%ExecutingDepKey&lt;/STRONG&gt;) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Oct 2013 09:26:42 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2013-10-10T09:26:42Z</dc:date>
    <item>
      <title>Exists() question!</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539102#M201462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi people!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to pick records from a transactions qvd-file using the exists() function. Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD %Date, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %GL_Date, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Transactions REG' as Source,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ExecutingDepKey,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ResponsibleDepKey,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %Project,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %EmpNo, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ProjectTaskKey, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %Activity, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuantityRegistered as [Registered Quantity],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BillingPriceRegisteredBase as [Registered Billing Price], &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CostPriceRegisteredBase as [Registered Cost Price], &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuantityInvoiced as [Invoiced Quantity],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BillingPriceUpDownBase as [Up/Down],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuantityUpDown as [Up/Down Quantity],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BillingPriceInvoiceBase as [Invoiced Billing Price],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrigReveueRecognizedBase as [Revenue Recognized at Registration],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; RevenueRecognizedBaseChange as [Revenue Recognized at Invoicing]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;$(DataStagePath)\FACT_Transactions.qvd&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;(qvd)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Where Exists(%ResponsibleDepKey) OR Exists(%ExecutingDepKey)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the where statement gives me all transactions. When I use only one of the conditions it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I not use exists() with an OR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Trond E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 09:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539102#M201462</guid>
      <dc:creator />
      <dc:date>2013-10-10T09:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exists() question!</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539103#M201463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sure that you must be sure, still, to confirm let me ask - are you sure that you want exists() and not NOT exists()&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 09:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539103#M201463</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-10T09:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exists() question!</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539104#M201464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE EXISTS (&lt;STRONG style="font-size: 11px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%ResponsibleDepKey &lt;/STRONG&gt;, &lt;STRONG style="font-size: 11px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%ExecutingDepKey&lt;/STRONG&gt;) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 09:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539104#M201464</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-10-10T09:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exists() question!</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539105#M201465</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;Can you attach full script, it is difficult to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 09:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539105#M201465</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-10T09:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exists() question!</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539106#M201466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you mean AND?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Where Exists(%ResponsibleDepKey) &lt;STRONG&gt;AND&lt;/STRONG&gt; Exists(%ExecutingDepKey)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 09:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-question/m-p/539106#M201466</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-10T09:29:17Z</dc:date>
    </item>
  </channel>
</rss>

