<?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 qlikview syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231858#M83530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think the easiest solution is to load all of your data into QlikView and then to filter out the information you don't want into another table then drop the first table. Something like:&lt;/P&gt;&lt;P&gt;TableA:&lt;/P&gt;&lt;P&gt;select * from VW_FACT_WINS;&lt;/P&gt;&lt;P&gt;TableB:&lt;/P&gt;&lt;P&gt;noconcatenate load *&lt;/P&gt;&lt;P&gt;resident TableA&lt;/P&gt;&lt;P&gt;where i_end_function_code &amp;lt;&amp;gt; 9;&lt;/P&gt;&lt;P&gt;drop table TableA;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2011 13:39:36 GMT</pubDate>
    <dc:creator>chris_johnson</dc:creator>
    <dc:date>2011-04-27T13:39:36Z</dc:date>
    <item>
      <title>qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231856#M83528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i want to write this quary in qlikview syntax as an expretion.&lt;/P&gt;&lt;P&gt;i want to count all "Mezahhe_Mismach" that have 5 but not 9 (just 5).&lt;/P&gt;&lt;P&gt;Mezahhe_Mismach is my key but its the same key for kod 5 and kod 9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s&lt;B&gt;elect * from VW_FACT_WINS t&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;where not exists (&lt;/P&gt;&lt;P style="font-weight: bold"&gt;select * from VW_FACT_WINS w&lt;/P&gt;&lt;P style="font-weight: bold"&gt;where t.Mezahhe_Mismach=w.Mezahhe_Mismach&lt;/P&gt;&lt;P style="font-weight: bold"&gt;and w.i_end_function_code='9')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;thanks&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231856#M83528</guid>
      <dc:creator />
      <dc:date>2011-04-27T13:27:21Z</dc:date>
    </item>
    <item>
      <title>qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231857#M83529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It should look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; i_end_function_code = {5} &amp;gt;} Mezahhe_Mismach)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231857#M83529</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-27T13:30:53Z</dc:date>
    </item>
    <item>
      <title>qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231858#M83530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think the easiest solution is to load all of your data into QlikView and then to filter out the information you don't want into another table then drop the first table. Something like:&lt;/P&gt;&lt;P&gt;TableA:&lt;/P&gt;&lt;P&gt;select * from VW_FACT_WINS;&lt;/P&gt;&lt;P&gt;TableB:&lt;/P&gt;&lt;P&gt;noconcatenate load *&lt;/P&gt;&lt;P&gt;resident TableA&lt;/P&gt;&lt;P&gt;where i_end_function_code &amp;lt;&amp;gt; 9;&lt;/P&gt;&lt;P&gt;drop table TableA;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231858#M83530</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-27T13:39:36Z</dc:date>
    </item>
    <item>
      <title>qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231859#M83531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, sorry. I've just noticed that you want it as an expression not in the script.&lt;/P&gt;&lt;P&gt;Ignore me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231859#M83531</guid>
      <dc:creator>chris_johnson</dc:creator>
      <dc:date>2011-04-27T13:40:35Z</dc:date>
    </item>
    <item>
      <title>qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231860#M83532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i'll try to explain better:&lt;/P&gt;&lt;P&gt;kod 5 - kod for open&lt;/P&gt;&lt;P&gt;kod 9 - for close&lt;/P&gt;&lt;P&gt;i need to count only those that open now . if i use your kod ,i'll get all Mezahhe_Mismach that i have in the db with kod 5.&lt;/P&gt;&lt;P&gt;i need thos with kod 5 that dont have kod 9 .&lt;/P&gt;&lt;P&gt;i tried this:&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;FACT_WINS_i_end_function_code={5},FACT_WINS_i_end_function_code&amp;lt;&amp;gt;{9}&amp;gt;}distinct FACT_WINS_Mezahhe_Mismach)&lt;/P&gt;&lt;P&gt;but its not good&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231860#M83532</guid>
      <dc:creator />
      <dc:date>2011-04-27T13:41:37Z</dc:date>
    </item>
    <item>
      <title>qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231861#M83533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;FACT_WINS_i_end_function_code={5},FACT_WINS_i_end_function_code -= {9}&amp;gt;}distinct FACT_WINS_Mezahhe_Mismach)&lt;/P&gt;&lt;P&gt;Note the -= as opposed to &amp;lt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231861#M83533</guid>
      <dc:creator />
      <dc:date>2011-04-27T13:57:50Z</dc:date>
    </item>
    <item>
      <title>qlikview syntax</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231862#M83534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Again, if you only want your chart to display those that FACT_WINS_i_end_function_code equals to 5, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; FACT_WINS_i_end_function_code = {5} &amp;gt;} FACT_WINS_Mezahhe_Mismach)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That should return only for code 5, and not 9.&lt;/P&gt;&lt;P&gt;Or is that any code 5 may have as well code 9 and you only want those that have code 5 but not code 9?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; FACT_WINS_i_end_function_code = {5} &amp;gt; - &amp;lt; FACT_WINS_i_end_function_code = {9} &amp;gt;} FACT_WINS_Mezahhe_Mismach)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-syntax/m-p/231862#M83534</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-27T13:59:49Z</dc:date>
    </item>
  </channel>
</rss>

