<?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: How to get distinct count even after having multiple dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078746#M88484</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1685597731534.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108865i7FD4D7442896AF8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1685597731534.png" alt="tresesco_0-1685597731534.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note: Disable zero/null suppression&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 05:36:21 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2023-06-01T05:36:21Z</dc:date>
    <item>
      <title>How to get distinct count even after having multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078430#M88459</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;i have data like,&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 195pt;" border="0" width="207px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD width="86.2578px" height="21" class="xl63" style="height: 16.0pt; width: 65pt;"&gt;day&lt;/TD&gt;
&lt;TD width="86.3984px" class="xl63" style="border-left: none; width: 65pt;"&gt;month&lt;/TD&gt;
&lt;TD width="86.3438px" class="xl63" style="border-left: none; width: 65pt;"&gt;alerts&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD width="86.2578px" height="21" align="right" class="xl64" style="height: 16.0pt; border-top: none;"&gt;1&lt;/TD&gt;
&lt;TD width="86.3984px" class="xl64" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;
&lt;TD width="86.3438px" class="xl64" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD width="86.2578px" height="21" align="right" class="xl64" style="height: 16.0pt; border-top: none;"&gt;2&lt;/TD&gt;
&lt;TD width="86.3984px" class="xl64" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;
&lt;TD width="86.3438px" class="xl64" style="border-top: none; border-left: none;"&gt;A2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD width="86.2578px" height="21" align="right" class="xl64" style="height: 16.0pt; border-top: none;"&gt;3&lt;/TD&gt;
&lt;TD width="86.3984px" class="xl64" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;
&lt;TD width="86.3438px" class="xl64" style="border-top: none; border-left: none;"&gt;A3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD width="86.2578px" height="21" align="right" class="xl64" style="height: 16.0pt; border-top: none;"&gt;4&lt;/TD&gt;
&lt;TD width="86.3984px" class="xl64" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;
&lt;TD width="86.3438px" class="xl64" style="border-top: none; border-left: none;"&gt;A1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 16.0pt;"&gt;
&lt;TD width="86.2578px" height="21" align="right" class="xl64" style="height: 16.0pt; border-top: none;"&gt;5&lt;/TD&gt;
&lt;TD width="86.3984px" class="xl64" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;
&lt;TD width="86.3438px" class="xl64" style="border-top: none; border-left: none;"&gt;A4&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if i do 'Distinct count of alerts' in KPI i will get 4.&lt;/P&gt;
&lt;P&gt;like same if i do 'Distinct count of alerts' in table where my dimensions are day and month i will get 5. which is valid.&lt;/P&gt;
&lt;P&gt;but in table too i need it to be '4' as i dont want to count 'A1' again means my result table must&amp;nbsp; be like below. Any idea how to achieve this.&lt;/P&gt;
&lt;TABLE width="152"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33"&gt;day&lt;/TD&gt;
&lt;TD width="52"&gt;month&lt;/TD&gt;
&lt;TD width="67"&gt;distinct count of alerts&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;TD&gt;May&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;May&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;3&lt;/TD&gt;
&lt;TD&gt;May&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;4&lt;/TD&gt;
&lt;TD&gt;May&lt;/TD&gt;
&lt;TD&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;May&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 14:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078430#M88459</guid>
      <dc:creator>loganathan</dc:creator>
      <dc:date>2023-05-31T14:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get distinct count even after having multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078454#M88464</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;alerts = {"=Count(distinct {&amp;lt;day, month&amp;gt; alerts) &amp;gt; 0"}&amp;gt;} alerts)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 14:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078454#M88464</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2023-05-31T14:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get distinct count even after having multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078570#M88474</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your quick response. But this expression doesn't work. TIA&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 20:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078570#M88474</guid>
      <dc:creator>loganathan</dc:creator>
      <dc:date>2023-05-31T20:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get distinct count even after having multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078614#M88475</link>
      <description>&lt;P&gt;Hi, Try this.&lt;/P&gt;
&lt;P&gt;Count(DISTINCT If(Aggr (Count(DISTINCT alerts), month, day) = 1, alerts, Null()))&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 22:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078614#M88475</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-05-31T22:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get distinct count even after having multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078731#M88481</link>
      <description>&lt;P&gt;Hi Brun Pierre,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help. but tried with this condition still it doesnt work. Please advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.,&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 04:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078731#M88481</guid>
      <dc:creator>loganathan</dc:creator>
      <dc:date>2023-06-01T04:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get distinct count even after having multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078746#M88484</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1685597731534.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108865i7FD4D7442896AF8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1685597731534.png" alt="tresesco_0-1685597731534.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note: Disable zero/null suppression&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 05:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078746#M88484</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2023-06-01T05:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get distinct count even after having multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078784#M88489</link>
      <description>&lt;P&gt;Count(Aggr(Only(alerts), alerts))&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 07:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-distinct-count-even-after-having-multiple-dimensions/m-p/2078784#M88489</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-06-01T07:11:20Z</dc:date>
    </item>
  </channel>
</rss>

