<?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 inside set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-inside-set-analysis/m-p/105292#M7142</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'm trying to use the following metric, but i think that using an if is not producing the correct results. Is there a way to include a count inside the set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the original metric:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count(X)&amp;gt;5,sum({&amp;lt;indicador_valor-={99}&amp;gt;}indicador_valor*fe)/sum({&amp;lt;indicador_valor-={99}&amp;gt;} fe))&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, 22 Dec 2021 15:42:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-12-22T15:42:54Z</dc:date>
    <item>
      <title>Count inside set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-inside-set-analysis/m-p/105292#M7142</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'm trying to use the following metric, but i think that using an if is not producing the correct results. Is there a way to include a count inside the set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the original metric:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count(X)&amp;gt;5,sum({&amp;lt;indicador_valor-={99}&amp;gt;}indicador_valor*fe)/sum({&amp;lt;indicador_valor-={99}&amp;gt;} fe))&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, 22 Dec 2021 15:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-inside-set-analysis/m-p/105292#M7142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-22T15:42:54Z</dc:date>
    </item>
  </channel>
</rss>

