<?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: Counting at the back end in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2498271#M102863</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31892"&gt;@LoKi_asterix&lt;/a&gt;&amp;nbsp;- Have you checked the nulls in pivot table? Expand all the dimensions (Enable Include Nulls under the Dimenions) and check the totals.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 09:10:29 GMT</pubDate>
    <dc:creator>krishna20</dc:creator>
    <dc:date>2024-12-17T09:10:29Z</dc:date>
    <item>
      <title>Counting at the back end</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2497042#M102714</link>
      <description>&lt;P&gt;Hello Qlik Community, I'm struggling to replicate a basic Count(DISTINCT) at the backend.&lt;/P&gt;
&lt;P&gt;I'm noticing discrepancies between two approaches:&lt;/P&gt;
&lt;P&gt;Scenario 1 works as expected, but doesn't allow for front-end selections.&lt;/P&gt;
&lt;P&gt;LOAD ID, Count(DISTINCT ID) as IDToCount&lt;BR /&gt;Resident Main &lt;BR /&gt;Where Type1 = 'I' and Type2 = 'N' AND Date &amp;gt;= '01/01/2024' AND Date &amp;lt;= '09/12/2024'&lt;BR /&gt;Group By ID;&lt;/P&gt;
&lt;P&gt;Scenario 2, which includes extra fields, allows selections but produces different results:&lt;/P&gt;
&lt;P&gt;LOAD ID, Count(DISTINCT ID) as IDToCount, Max(Date) as Date, MaxString(Type1) as Type1, MaxString(Type2) as Type2&lt;BR /&gt;Resident Main;&lt;/P&gt;
&lt;P&gt;What’s the best way to align the results while keeping front-end interactivity?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 09:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2497042#M102714</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2024-12-10T09:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Counting at the back end</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2497043#M102715</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31892"&gt;@LoKi_asterix&lt;/a&gt;&amp;nbsp; It is always better to use this as a front end expression in charts if you want to keep front end interactivity&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 10:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2497043#M102715</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-12-10T10:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Counting at the back end</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2497045#M102716</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;I’m encountering another issue with totals in a pivot table. A basic Count(DISTINCT ID) appears accurate in the table's total row but inflates when exported to Excel. Has anyone experienced this and found a reliable solution?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 10:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2497045#M102716</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2024-12-10T10:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Counting at the back end</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2498271#M102863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31892"&gt;@LoKi_asterix&lt;/a&gt;&amp;nbsp;- Have you checked the nulls in pivot table? Expand all the dimensions (Enable Include Nulls under the Dimenions) and check the totals.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 09:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2498271#M102863</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2024-12-17T09:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Counting at the back end</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2498284#M102866</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/31892"&gt;@LoKi_asterix&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to allow frontend selections, why not apply the expression on frontend itself ?&lt;/P&gt;
&lt;P&gt;Also I am not able to understand the purpose of scenerio 2. Perhaps if you could provide a sample data and expected output it could help for better understanding of your requirement.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 09:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2498284#M102866</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2024-12-17T09:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Counting at the back end</title>
      <link>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2499305#M102970</link>
      <description>&lt;P&gt;I got with working with nested aggregation expression. Thanks, ya'll.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2024 08:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Counting-at-the-back-end/m-p/2499305#M102970</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2024-12-25T08:04:12Z</dc:date>
    </item>
  </channel>
</rss>

