<?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: What values are my countries? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-values-are-my-countries/m-p/1263044#M867864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First : you cannot sum countries, but you may count them&lt;/P&gt;&lt;P&gt;Second : You want to create a set analysis expression condition :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it should be this expression (with [Country] in dimension):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country={&amp;lt;"=if(fabs((sum([Record Count]) - rangeavg(after(sum([Record Count]),1,6)))/ rangeavg(after(sum([Record Count]),1,6)))&amp;nbsp; &amp;gt;= Threshold OR sum([Record Count])=0,1,0)&amp;gt;0"&amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;} Country)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2016 16:11:02 GMT</pubDate>
    <dc:creator>thomaslg_wq</dc:creator>
    <dc:date>2016-12-01T16:11:02Z</dc:date>
    <item>
      <title>What values are my countries?</title>
      <link>https://community.qlik.com/t5/QlikView/What-values-are-my-countries/m-p/1263043#M867863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(fabs((sum([Record Count]) - rangeavg(after(sum([Record Count]),1,6))) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / rangeavg(after(sum([Record Count]),1,6)))&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt; Threshold OR sum([Record Count])=0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the above expression which gives me a true or false value (1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I now want to do is for the true values, to give me the countries.&lt;/P&gt;&lt;P&gt;I would have assumed a little set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt; &lt;/P&gt;&lt;P&gt;if(fabs((sum([Record Count]) - rangeavg(after(sum([Record Count]),1,6))) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / rangeavg(after(sum([Record Count]),1,6)))&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;= Threshold OR sum([Record Count])=0,1,0) &amp;gt;} Country)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but QV doesnt like this expression.&lt;/P&gt;&lt;P&gt;Any ideas on how to return my countries that are true?&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/What-values-are-my-countries/m-p/1263043#M867863</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: What values are my countries?</title>
      <link>https://community.qlik.com/t5/QlikView/What-values-are-my-countries/m-p/1263044#M867864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First : you cannot sum countries, but you may count them&lt;/P&gt;&lt;P&gt;Second : You want to create a set analysis expression condition :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it should be this expression (with [Country] in dimension):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Country={&amp;lt;"=if(fabs((sum([Record Count]) - rangeavg(after(sum([Record Count]),1,6)))/ rangeavg(after(sum([Record Count]),1,6)))&amp;nbsp; &amp;gt;= Threshold OR sum([Record Count])=0,1,0)&amp;gt;0"&amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;} Country)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 16:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-values-are-my-countries/m-p/1263044#M867864</guid>
      <dc:creator>thomaslg_wq</dc:creator>
      <dc:date>2016-12-01T16:11:02Z</dc:date>
    </item>
  </channel>
</rss>

