<?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 What is wrong in my expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-expression/m-p/467270#M174563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Attached is the sample.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you look at the expression - (minus) i have used following formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;count( DISTINCT { $&amp;lt; EmployeeNo = P ({&amp;lt; Date = {"$(MinDate)"}&amp;gt;} EmployeeNo )/ P ({&amp;lt; Date = {"$(Lastdate)"}&amp;gt;} EmployeeNo )&amp;gt;} EmployeeNo)&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;All the figures are correct but &lt;SPAN style="font-size: 10pt;"&gt;if you check company id 0102&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;it shows 1 in -(minus) which is wrong but when u make selection of 0102 it gives u correct figure i.e 3 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;I am completely stucked in this ? What is wrong in my expression ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;thanks&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Lavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 11:55:57 GMT</pubDate>
    <dc:creator>harleen_singh</dc:creator>
    <dc:date>2013-02-25T11:55:57Z</dc:date>
    <item>
      <title>What is wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-expression/m-p/467270#M174563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Attached is the sample.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you look at the expression - (minus) i have used following formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;count( DISTINCT { $&amp;lt; EmployeeNo = P ({&amp;lt; Date = {"$(MinDate)"}&amp;gt;} EmployeeNo )/ P ({&amp;lt; Date = {"$(Lastdate)"}&amp;gt;} EmployeeNo )&amp;gt;} EmployeeNo)&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;All the figures are correct but &lt;SPAN style="font-size: 10pt;"&gt;if you check company id 0102&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;it shows 1 in -(minus) which is wrong but when u make selection of 0102 it gives u correct figure i.e 3 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;I am completely stucked in this ? What is wrong in my expression ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;thanks&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Lavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 11:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-expression/m-p/467270#M174563</guid>
      <dc:creator>harleen_singh</dc:creator>
      <dc:date>2013-02-25T11:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-expression/m-p/467271#M174564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lavi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached one Application Please check is correct or not .i don't have your qvd.so iyour application take binary load,then employee table&amp;nbsp; Resident for companiation Employeeno and Company.This is field i used in Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Perumal A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 12:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-expression/m-p/467271#M174564</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2013-02-25T12:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is wrong in my expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-expression/m-p/467272#M174565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Perumal A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it really worked perfectly man &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Lavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 07:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-wrong-in-my-expression/m-p/467272#M174565</guid>
      <dc:creator>harleen_singh</dc:creator>
      <dc:date>2013-02-26T07:03:43Z</dc:date>
    </item>
  </channel>
</rss>

