<?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, aggr, KPI issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927677#M76400</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;thanks for ur answer but it still wrog:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pic2.PNG" style="width: 631px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78888i175FEBF92D944352/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic2.PNG" alt="Pic2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 08 May 2022 17:25:44 GMT</pubDate>
    <dc:creator>danimarc12</dc:creator>
    <dc:date>2022-05-08T17:25:44Z</dc:date>
    <item>
      <title>Count, aggr, KPI issue</title>
      <link>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927671#M76397</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;
&lt;P&gt;I have an issue with a KPI in my project work.&lt;/P&gt;
&lt;P&gt;In my straight table I have many&amp;nbsp;&lt;STRONG&gt;idMarca&lt;/STRONG&gt;. I want to calculate the&amp;nbsp;&lt;STRONG&gt;New Sales&amp;nbsp;&lt;/STRONG&gt;in the cur year so I'm using the expressions you can see in the bottom of the table (&lt;STRONG&gt;Data&lt;/STRONG&gt; in my date field of my Master Calendar and &lt;STRONG&gt;datadocumento&lt;/STRONG&gt; is the date field of the sale).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pic1.PNG" style="width: 869px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78885iDF7B817BD7FFF75A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic1.PNG" alt="Pic1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, regarding the table, I have 6 new sales.&lt;/P&gt;
&lt;P&gt;In my KPI, of course it's not correct, I wrote the expression in the bottom of the table and I'm obtaining a wrong value.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pic2.PNG" style="width: 632px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78886i2A8BA97133E25437/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic2.PNG" alt="Pic2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could anyone explain my error and suggest me the correct expression?&lt;/P&gt;
&lt;P&gt;Thanks to who's answering!&lt;/P&gt;
&lt;P&gt;DM&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927671#M76397</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2022-05-08T17:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count, aggr, KPI issue</title>
      <link>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927675#M76399</link>
      <description>&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT Aggr( IF ( min(.......)&amp;gt;=date(YEarstart(.....)) , IdMarca), IdMarca) )&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927675#M76399</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-08T17:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count, aggr, KPI issue</title>
      <link>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927677#M76400</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;thanks for ur answer but it still wrog:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pic2.PNG" style="width: 631px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78888i175FEBF92D944352/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic2.PNG" alt="Pic2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927677#M76400</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2022-05-08T17:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Count, aggr, KPI issue</title>
      <link>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927683#M76402</link>
      <description>&lt;P&gt;your expression is incorrect, please paste the expression here so i can modify it for you&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927683#M76402</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-08T17:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count, aggr, KPI issue</title>
      <link>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927685#M76403</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp; this is the expression of the KPI:&lt;/P&gt;
&lt;P&gt;Count(DISTINCT Aggr( IF (min({&amp;lt;Data=&amp;gt;}date(datadocumento)) &amp;gt;= date(YearStart(max(Data)))) idMarca, idMarca))&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927685#M76403</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2022-05-08T17:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count, aggr, KPI issue</title>
      <link>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927686#M76404</link>
      <description>&lt;P&gt;Count( Distinct&lt;BR /&gt;Aggr(&lt;BR /&gt;IF ( date(min({&amp;lt;Data=&amp;gt;} datadocumento)) &amp;gt;= date(YearStart(max(Data))), idMarca)&lt;/P&gt;
&lt;P&gt;, idMarca)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 17:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-aggr-KPI-issue/m-p/1927686#M76404</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-08T17:55:44Z</dc:date>
    </item>
  </channel>
</rss>

