<?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: Count with condition less more value and set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-with-condition-less-more-value-and-set/m-p/425841#M488009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can use if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2013 08:38:47 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2013-01-16T08:38:47Z</dc:date>
    <item>
      <title>Count with condition less more value and set</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-condition-less-more-value-and-set/m-p/425840#M488008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The task is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name - emplyee name;&lt;/P&gt;&lt;P&gt;Type -&amp;nbsp; work type Day, Night;&lt;/P&gt;&lt;P&gt;Data - number of working iterations for emplyee;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is in to show in Text Object how many employees are complete the planned iterations, i.e. &amp;gt;=200;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression to calculate it Avg({&amp;lt;Type={Night}&amp;gt;}Data)+Avg({&amp;lt;Type={Day}&amp;gt;}Data), further I have to add the condition that we are looking for that number of employees that have more than 200 iterations, so I add &amp;gt;=200. And further I have to count only those values in text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I do the following: Sum(Aggr(If((Avg({&amp;lt;Type={Night}&amp;gt;}Data)+Avg({&amp;lt;Type={Day}&amp;gt;}Data))&amp;gt;=200,1,0),Name)), i.e. means that I receive the data with 0 if the value less than 200, and 1 if more than 200, after that I sum the values and receive the needed Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is that: is there any other more simple way to solve this task in Text Object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 08:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-condition-less-more-value-and-set/m-p/425840#M488008</guid>
      <dc:creator />
      <dc:date>2013-01-16T08:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Count with condition less more value and set</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-condition-less-more-value-and-set/m-p/425841#M488009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can use if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 08:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-condition-less-more-value-and-set/m-p/425841#M488009</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-01-16T08:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count with condition less more value and set</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-condition-less-more-value-and-set/m-p/425842#M488010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Could you please provide the working sample of your idea ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 08:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-condition-less-more-value-and-set/m-p/425842#M488010</guid>
      <dc:creator />
      <dc:date>2013-01-16T08:40:25Z</dc:date>
    </item>
  </channel>
</rss>

