<?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 Expression with WHERE clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633329#M232335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a chart with an expression where it retrieve results WHERE status is 'New' and 'Resolved'&lt;/P&gt;&lt;P&gt;..and other expression WHERE status is 'Closed'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following line of expression, but it shows other status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([Status Description] = 'Closed',[Status Description])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 13:30:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-14T13:30:56Z</dc:date>
    <item>
      <title>Expression with WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633329#M232335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a chart with an expression where it retrieve results WHERE status is 'New' and 'Resolved'&lt;/P&gt;&lt;P&gt;..and other expression WHERE status is 'Closed'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following line of expression, but it shows other status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([Status Description] = 'Closed',[Status Description])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633329#M232335</guid>
      <dc:creator />
      <dc:date>2014-05-14T13:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633330#M232336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Count( if(StatusDescription='New',StatusDescription))&lt;/P&gt;&lt;P&gt;=Count( if(StatusDescription='Resolved',StatusDescription))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633330#M232336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-14T13:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633331#M232337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;If(Match(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Status Description]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Closed'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Status Description])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or check the supress when value null&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633331#M232337</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-14T13:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633332#M232338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try with if i am understand your dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Match(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Status Description]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Closed'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;) And Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;status&lt;/SPAN&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'New','Resolved'&lt;/SPAN&gt;) ,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Status Description])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633332#M232338</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-14T13:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633333#M232339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Set-Analysis on the Expression (not Dimension) {&amp;lt;[StatusDescription]={'New',Resolved'}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633333#M232339</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-05-14T13:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633334#M232340</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;This would be used as a calculated dimension&lt;/P&gt;&lt;P&gt;=if([Status Description] = 'Closed',[Status Description])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else for an expression use=if(only([Status Description]) = 'Closed', only([Status Description]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway if you want to make some count or sum on this status use the set analysis expression like&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Status Description] = {'Closed'}&amp;gt;}&amp;nbsp; YourField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 13:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633334#M232340</guid>
      <dc:creator />
      <dc:date>2014-05-14T13:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633335#M232341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to group and Sum the results for two status and give them a new Status Name&lt;/P&gt;&lt;P&gt;New = 20&lt;/P&gt;&lt;P&gt;Resolved = 10&lt;/P&gt;&lt;P&gt;Closed = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am trying to achieve:&lt;/P&gt;&lt;P&gt;Closed = 5&lt;/P&gt;&lt;P&gt;Open = 30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 14:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633335#M232341</guid>
      <dc:creator />
      <dc:date>2014-05-14T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with WHERE clause</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633336#M232342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;am trying to group and Sum the results for two status and give them a new Status Name&lt;/P&gt;&lt;P&gt;New = 20&lt;/P&gt;&lt;P&gt;Resolved = 10&lt;/P&gt;&lt;P&gt;Closed = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am trying to achieve:&lt;/P&gt;&lt;P&gt;Closed = 5&lt;/P&gt;&lt;P&gt;Open = 30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 14:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-WHERE-clause/m-p/633336#M232342</guid>
      <dc:creator />
      <dc:date>2014-05-14T14:17:51Z</dc:date>
    </item>
  </channel>
</rss>

