<?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: I want where not and where in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92765#M6177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I load data from SQL but I want to load some data&amp;nbsp; and &lt;SPAN style="font-size: 10pt;"&gt;I have Problem following&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM "MIS_DataLake_UAT".dbo."SAP_COST"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where "S_ACCOUNT" = ('68001000','52001500','68119000','68002000'),&lt;/P&gt;&lt;P&gt;where "S_SESSION_NAME" &amp;lt;&amp;gt; ('ARF0214DMSAR','ARF0114DMSAR','APF0214DMSAP','APF0114DMSAP','APF0114ADVAP','APF0114AD2AP'),&lt;/P&gt;&lt;P&gt;where "S_REF_KEY_1" &amp;lt;&amp;gt; ('OIL'),&lt;/P&gt;&lt;P&gt;where "S_REF_KEY_1" = 'WAG' and "S_REF_KEY_2" &amp;lt;&amp;gt; (2,3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214108_Capture.JPG" style="height: 93px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2018 03:15:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-21T03:15:02Z</dc:date>
    <item>
      <title>I want where not and where</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92763#M6175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Data &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ref.1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ref.2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Price",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Ref.1",&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Ref.2"&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM "MIS_DataLake_UAT".dbo."SAP_COST";&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Ref.1='WAG' and not match (Ref.2,2,3)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;where Ref.1 not match ('OIL')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;EX.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Price&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Ref.1&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Ref.2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;200&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;OIL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;400&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;COST&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;WAG&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;600&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;WAG&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;700&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;WAG&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;800&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;WAG&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;900&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;OIL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;COST&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Price&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Ref.1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Ref.2&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;300&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;400&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;COST&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;500&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;WAG&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;800&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;WAG&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;1000&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;COST&lt;/TD&gt;&lt;TD style="padding: 2px; color: #575757; text-align: left; background-color: rgba(0, 0, 0, 0); font-family: arial, helvetica, sans-serif; vertical-align: baseline;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I write incorrect.&lt;/P&gt;&lt;P&gt;What Should I write ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Warehouse.S_TOD] = {'TOD1'}&amp;gt;} and {$&amp;lt;[S_VEND_ID] = {'702'}&amp;gt;} distinct(total))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Warehouse.S_TOD] = {'TOD1'}&amp;gt;} and {$&amp;lt;[S_VEND_ID]&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; {'702'}&amp;gt;} distinct(total))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214085_Capture.PNG" style="height: 321px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-size: 14pt;"&gt;Thank You for answer question.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 16:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92763#M6175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T16:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: I want where not and where</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92764#M6176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;[Warehouse.S_TOD] = {'TOD1'}, [S_VEND_ID] = {'702'}&amp;gt;} Price)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Sum({$&amp;lt;[Warehouse.S_TOD] = {'TOD1'}&amp;gt;,[S_VEND_ID]&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; {'702'}&amp;gt;} Price)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 16:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92764#M6176</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-09-20T16:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: I want where not and where</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92765#M6177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I load data from SQL but I want to load some data&amp;nbsp; and &lt;SPAN style="font-size: 10pt;"&gt;I have Problem following&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM "MIS_DataLake_UAT".dbo."SAP_COST"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where "S_ACCOUNT" = ('68001000','52001500','68119000','68002000'),&lt;/P&gt;&lt;P&gt;where "S_SESSION_NAME" &amp;lt;&amp;gt; ('ARF0214DMSAR','ARF0114DMSAR','APF0214DMSAP','APF0114DMSAP','APF0114ADVAP','APF0114AD2AP'),&lt;/P&gt;&lt;P&gt;where "S_REF_KEY_1" &amp;lt;&amp;gt; ('OIL'),&lt;/P&gt;&lt;P&gt;where "S_REF_KEY_1" = 'WAG' and "S_REF_KEY_2" &amp;lt;&amp;gt; (2,3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214108_Capture.JPG" style="height: 93px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 03:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92765#M6177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T03:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: I want where not and where</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92766#M6178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Problem&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-1549157-214113/Capture.JPG" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" height="64" src="https://community.qlik.com/legacyfs/online/214114_Capture.JPG" style="border-width: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="529" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 03:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92766#M6178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T03:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: I want where not and where</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92767#M6179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MS SQL Server doesn't understand the SQL statement you send it. There's a syntax error in it. Most SQL dialects only support one single Where clause. And if you're using multiple conditions you need to use the AND of OR keyword to specify how the conditions should be combined. Try this SQL tutorial: &lt;A href="https://www.w3schools.com/sql/" title="https://www.w3schools.com/sql/"&gt;SQL Tutorial&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Sep 2018 15:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92767#M6179</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-09-22T15:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: I want where not and where</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92768#M6180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 11:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-where-not-and-where/m-p/92768#M6180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-24T11:25:11Z</dc:date>
    </item>
  </channel>
</rss>

