<?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 Count with multiple conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149335#M899931</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;I have issues with a mutliple count condition function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below 2 expressions works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;(count({&amp;lt;[Status]={'Perdue'}&amp;gt;} [ID opportunité]))&lt;/LI&gt;&lt;LI&gt;(count({$&amp;lt;Year = {$(=max(Year ))}, Month= {"&amp;lt;=$(=max({&amp;lt;Year ={$(=max(Year ))}&amp;gt;} Month))"}&amp;gt;} [ID offre]))&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I want to create a new expression by putting the expression 1 inside expression 2 so having 3 conditions in total, it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the expression with which I struggle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(count({$&amp;lt;Year = {$(=max(Year ))}, Month= {"&amp;lt;=$(=max({&amp;lt;Year ={$(=max(Year ))}&amp;gt;} Month))", Status={'Perdue'}&amp;gt;} [ID opportunité]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank for your help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I am using Personal edition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Count with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149335#M899931</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;I have issues with a mutliple count condition function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below 2 expressions works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;(count({&amp;lt;[Status]={'Perdue'}&amp;gt;} [ID opportunité]))&lt;/LI&gt;&lt;LI&gt;(count({$&amp;lt;Year = {$(=max(Year ))}, Month= {"&amp;lt;=$(=max({&amp;lt;Year ={$(=max(Year ))}&amp;gt;} Month))"}&amp;gt;} [ID offre]))&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I want to create a new expression by putting the expression 1 inside expression 2 so having 3 conditions in total, it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the expression with which I struggle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(count({$&amp;lt;Year = {$(=max(Year ))}, Month= {"&amp;lt;=$(=max({&amp;lt;Year ={$(=max(Year ))}&amp;gt;} Month))", Status={'Perdue'}&amp;gt;} [ID opportunité]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank for your help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I am using Personal edition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149335#M899931</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149336#M899932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christophe,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There appears to be a curly bracket missing. I've added it in bold here:&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: 13px;"&gt;(count({$&amp;lt;Year = {$(=max(Year ))}, Month= {"&amp;lt;=$(=max({&amp;lt;Year ={$(=max(Year ))}&amp;gt;} Month))"&lt;STRONG&gt;}&lt;/STRONG&gt;, Status={'Perdue'}&amp;gt;} [ID opportunité]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Try it again and good luck&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Andrew&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 14:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149336#M899932</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-07-13T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149337#M899933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome you made my day &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 14:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149337#M899933</guid>
      <dc:creator />
      <dc:date>2016-07-13T14:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149338#M899934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well Christophe your reply made mine. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 14:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-multiple-conditions/m-p/1149338#M899934</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-07-13T14:45:25Z</dc:date>
    </item>
  </channel>
</rss>

