<?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 add constraint on calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507371#M189739</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 an expression in a chart: Sum(OPCODE_COUNT*SUBSCRIBER_COUNT) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add set analysis that will show the calculation for a specific value of a KEY disregarding users selections.&lt;/P&gt;&lt;P&gt;I wrote this expression : Sum({1&amp;lt;KEY_ID=2&amp;gt;}OPCODE_COUNT*SUBSCRIBER_COUNT) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an error sign under the second curly brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is wrong with the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2013 08:11:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-11T08:11:50Z</dc:date>
    <item>
      <title>add constraint on calculation</title>
      <link>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507371#M189739</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 an expression in a chart: Sum(OPCODE_COUNT*SUBSCRIBER_COUNT) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add set analysis that will show the calculation for a specific value of a KEY disregarding users selections.&lt;/P&gt;&lt;P&gt;I wrote this expression : Sum({1&amp;lt;KEY_ID=2&amp;gt;}OPCODE_COUNT*SUBSCRIBER_COUNT) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an error sign under the second curly brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is wrong with the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 08:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507371#M189739</guid>
      <dc:creator />
      <dc:date>2013-09-11T08:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: add constraint on calculation</title>
      <link>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507372#M189740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you make this one in the script ?&lt;/P&gt;&lt;P&gt;OPCODE_COUNT*SUBSCRIBER_COUNT as total&lt;/P&gt;&lt;P&gt;then try this one&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;KEY_ID=2&amp;gt;}total)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 09:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507372#M189740</guid>
      <dc:creator />
      <dc:date>2013-09-11T09:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: add constraint on calculation</title>
      <link>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507373#M189741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;KEY_ID=&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="color: #ff0000;"&gt;{'&lt;/STRONG&gt;&lt;/SPAN&gt;2&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;'}&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;gt;}OPCODE_COUNT*SUBSCRIBER_COUNT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 09:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507373#M189741</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2013-09-11T09:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: add constraint on calculation</title>
      <link>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507374#M189742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Close, the value you want to restrict on needs to be in curly braces too:&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;"&gt; Sum({1&amp;lt;KEY_ID={2}&amp;gt;}OPCODE_COUNT*SUBSCRIBER_COUNT)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 09:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-constraint-on-calculation/m-p/507374#M189742</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-11T09:15:39Z</dc:date>
    </item>
  </channel>
</rss>

