<?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 to check against two variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720288#M258665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, if you want to check how this is interpreted, put the expression in a table and leave the expression label blank. That way the table header will display the expression but with the variable values evaluated, so you can check...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 15:58:58 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2014-07-21T15:58:58Z</dc:date>
    <item>
      <title>Count to check against two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720285#M258662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new to qlik and hoping someone can help as im really stuck &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to count the rows which matched two variables for some reason it is not working I'm using this currently &lt;BR /&gt;-&lt;/P&gt;&lt;P&gt;=Count({$(vLeaseCoUsed)={1},STATS_Wave=$(vWaveCurr)&amp;gt;} $(vLeaseCoUsed))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 15:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720285#M258662</guid>
      <dc:creator />
      <dc:date>2014-07-21T15:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count to check against two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720286#M258663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are missing an opening parenthesis &amp;lt; in your set_expression - right after the $, that's for one.&lt;/P&gt;&lt;P&gt;I'm really not sure myself about that vLeaseCoUsed - that is a variable? I have never tried to check the value of a variable in a set_expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 15:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720286#M258663</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-21T15:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count to check against two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720287#M258664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming that $(vLeaseCoUsed) is a reference to a variable field, it should be anyway, in which case I would surround it by [ ], so [$(vLeaseCoUsed)]. If the field has a space in the name it will also work. Further, depending on what is in your variable you may need to use the = operator in the dollar sign expansion [$(=vLeaseCoUsed)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;STATS_Wave=$(vWaveCurr)&lt;/SPAN&gt; misses the {} brackets, so &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;STATS_Wave={$(vWaveCurr)} and again you may need &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;STATS_Wave={$(=vWaveCurr)} and depending on the contents even &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;STATS_Wave={'$(=vWaveCurr)'}, so with ''&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And data nibbler is right you are missing the &amp;lt; opening right after the { &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Count({&amp;lt;[$(=vLeaseCoUsed)]={'1'},STATS_Wave={'$(=vWaveCurr)'}&amp;gt;} [$(=vLeaseCoUsed)])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 15:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720287#M258664</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2014-07-21T15:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count to check against two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720288#M258665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, if you want to check how this is interpreted, put the expression in a table and leave the expression label blank. That way the table header will display the expression but with the variable values evaluated, so you can check...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 15:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720288#M258665</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2014-07-21T15:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count to check against two variables</title>
      <link>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720289#M258666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Genius it works ! thanks very much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-to-check-against-two-variables/m-p/720289#M258666</guid>
      <dc:creator />
      <dc:date>2014-07-22T08:14:19Z</dc:date>
    </item>
  </channel>
</rss>

