<?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 Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426068#M1161529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone. &lt;/P&gt;&lt;P&gt;i am struggling with writing an expression for the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to a count of all the distinct [PupilID] which meet the following criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they must have a [APSScore] of more than 1. the [APSScore] is worked out by deducting [Chrono]={7} from [Chrono]={6} and by only looking at [LevelScore]='Score'. &lt;/P&gt;&lt;P&gt;Does this make sense? &lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 17:58:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-12T17:58:36Z</dc:date>
    <item>
      <title>Expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426068#M1161529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone. &lt;/P&gt;&lt;P&gt;i am struggling with writing an expression for the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to a count of all the distinct [PupilID] which meet the following criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they must have a [APSScore] of more than 1. the [APSScore] is worked out by deducting [Chrono]={7} from [Chrono]={6} and by only looking at [LevelScore]='Score'. &lt;/P&gt;&lt;P&gt;Does this make sense? &lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 17:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426068#M1161529</guid>
      <dc:creator />
      <dc:date>2012-11-12T17:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426069#M1161530</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;&lt;/P&gt;&lt;P&gt;You have to make expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(if( &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[APSScore]&lt;/SPAN&gt; &amp;gt;1 and&amp;nbsp; &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Chrono]&lt;/SPAN&gt; = 7 and &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Chrono]&lt;/SPAN&gt; = 6 and &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; [LevelScore]='Score'&lt;/SPAN&gt; , &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[PupilID]&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do you mean &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Chrono]={7} from [Chrono]={6}&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 18:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426069#M1161530</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-12T18:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426070#M1161531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chrono is a field. &lt;/P&gt;&lt;P&gt;for example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Student A&lt;/P&gt;&lt;P&gt;Chrono 7 = 25&lt;/P&gt;&lt;P&gt;Chrono 6 = 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chrono 7-Chrono 6 = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as this student has a score greater than 1 i would want he/she counted. if she had a score of 0 or below then i would not want her counted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need the above calculation to be in the expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression you gave doesnt work as the score has not been worked out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 18:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426070#M1161531</guid>
      <dc:creator />
      <dc:date>2012-11-12T18:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426071#M1161532</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;So write some thing like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count(if( &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[APSScore]&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; &amp;gt;1 and&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[Chrono7]&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[Chrono6] &amp;gt; 0&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[LevelScore]='Score'&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt; ,&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[PupilID]&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Anand&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426071#M1161532</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-12T19:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426072#M1161533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks for replying,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chrono is the field name, the 6 and 7 are the field values, so how would i add that to the expression. as i cant use [Chrono6] etc as chrono6 isnt a field name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like chrono ={6}?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426072#M1161533</guid>
      <dc:creator />
      <dc:date>2012-11-12T19:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426073#M1161534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or would it need to be set analyisis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, i am new to qlikview!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426073#M1161534</guid>
      <dc:creator />
      <dc:date>2012-11-12T19:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426074#M1161535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i need to do something like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Chrono 7 - Chrono 6 &amp;gt;0 and LevelScore='Score' then count PupilID &lt;/P&gt;&lt;P&gt;I also need it to ignore selections in the field Year/Term.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don't know how to write this is an expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 20:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426074#M1161535</guid>
      <dc:creator />
      <dc:date>2012-11-12T20:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426075#M1161536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 08:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Query/m-p/426075#M1161536</guid>
      <dc:creator />
      <dc:date>2012-11-13T08:41:27Z</dc:date>
    </item>
  </channel>
</rss>

