<?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: Re: Where clause in expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622722#M684505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached file.Does it help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2014 22:10:59 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2014-02-07T22:10:59Z</dc:date>
    <item>
      <title>Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622712#M684495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a chart that shows the count and sum of one field but limits the output to criteria from another field. What is the correct syntax for the expression (eg: where field1 = X).&amp;nbsp; Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622712#M684495</guid>
      <dc:creator />
      <dc:date>2014-02-07T16:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622713#M684496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are tables containing your fields associated? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622713#M684496</guid>
      <dc:creator />
      <dc:date>2014-02-07T16:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622714#M684497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use set analysis.&amp;nbsp; Something like this:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;field1={'X'}&amp;gt;}field2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622714#M684497</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-07T16:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622715#M684498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fields are all derived from a single table in the load script that has no link to the other data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622715#M684498</guid>
      <dc:creator />
      <dc:date>2014-02-07T16:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622716#M684499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would help if you could give a more specific example of what you are trying to do. Are you saying that the result of an expression in one fields provides a value that you want to use as a filter on another field within another expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622716#M684499</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2014-02-07T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622717#M684500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two dimensions on the chart Sum of field1 and Count of field1. I want to use an expression to filter the result based on a value in field2. Boyh fields are in the same table. Just to note, I am new to Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622717#M684500</guid>
      <dc:creator />
      <dc:date>2014-02-07T16:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622718#M684501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid this doesn't make sense to me. Surely if Field 2 is a dimension in the table then it is already 'filtering' the expression fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622718#M684501</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2014-02-07T16:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622719#M684502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({&amp;lt;field2={'X'}&amp;gt;}field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;field2={'X'}&amp;gt;}field1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622719#M684502</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-07T16:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622720#M684503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, You can't use &lt;STRONG&gt;Sum&lt;/STRONG&gt; or &lt;STRONG&gt;Count&lt;/STRONG&gt; aggregation functions in the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post sample data and explain clearly what you are looking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622720#M684503</guid>
      <dc:creator />
      <dc:date>2014-02-07T16:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622721#M684504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to thank you all for the responses. I will try to state the issue more clearly. I want to create a straight table chart that sums as well as counts the data in one field using crieria from another field to filter the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the sum and count&amp;nbsp; of Field1 for those records that are equal to 1 in Field2. I tried =sum({&amp;lt;field2={'X'}&amp;gt;}field1) as sugested above but got unfiltered results. Again thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 21:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622721#M684504</guid>
      <dc:creator />
      <dc:date>2014-02-07T21:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622722#M684505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached file.Does it help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 22:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622722#M684505</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-02-07T22:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622723#M684506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that Field2 is 1 (as integer) if not I'd suggest this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Field2={"&amp;gt;0 &amp;lt;2"}&amp;gt;} Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Field2={'1*'}&amp;gt;} Field1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 22:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622723#M684506</guid>
      <dc:creator>agilos_mla</dc:creator>
      <dc:date>2014-02-07T22:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622724#M684507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. This worked and helped me better understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 22:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622724#M684507</guid>
      <dc:creator />
      <dc:date>2014-02-07T22:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622725#M684508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, Please try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Field2={1}&amp;gt;} Field1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Field2={1}&amp;gt;} Field1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 22:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622725#M684508</guid>
      <dc:creator />
      <dc:date>2014-02-07T22:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Where clause in expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622726#M684509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. This will work as well and helps me understand what I am trying to represent. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 22:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-clause-in-expressions/m-p/622726#M684509</guid>
      <dc:creator />
      <dc:date>2014-02-07T22:42:51Z</dc:date>
    </item>
  </channel>
</rss>

