<?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: loading script- count(distinct) failed in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534070#M108319</link>
    <description>&lt;P&gt;Be aware that:&lt;/P&gt;&lt;P&gt;[Order Created By Rep]&amp;amp;[Order Year Month] as key,&lt;/P&gt;&lt;P&gt;isn't equally reflected by:&lt;/P&gt;&lt;P&gt;Group BY [Order Created By Rep],[Order Year Month]&lt;/P&gt;&lt;P&gt;and you may need to adjust it to:&lt;/P&gt;&lt;P&gt;Group BY [Order Created By Rep]&amp;amp;[Order Year Month]&lt;/P&gt;&lt;P&gt;Further the combined key has no included delimiter. Depending on the content of the fields there may occur some kind of overlapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 11:28:33 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-10-22T11:28:33Z</dc:date>
    <item>
      <title>loading script- count(distinct) failed</title>
      <link>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534034#M108310</link>
      <description>&lt;P&gt;Hi Buddy, I tried to have a distinct count grouping by 2 fields.&lt;/P&gt;&lt;P&gt;Write below script in the loading script.But I found the distinct didn't work.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TEMP3:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[Order Created By Rep]&amp;amp;[Order Year Month] as key,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Count(&lt;FONT color="#FF6600"&gt;DISTINCT&lt;/FONT&gt; ([Order Document Number])) as COUNTNUM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Resident FACT_ORDER_FLUID_CONNECTORS&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Group BY [Order Created By Rep],[Order Year Month]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emilyrabbit_1-1761117477391.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184372iB3526E41E26051A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emilyrabbit_1-1761117477391.png" alt="emilyrabbit_1-1761117477391.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 07:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534034#M108310</guid>
      <dc:creator>emilyrabbit</dc:creator>
      <dc:date>2025-10-22T07:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: loading script- count(distinct) failed</title>
      <link>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534037#M108311</link>
      <description>&lt;P&gt;Add the Distinct after load or remove the bracket after DISTINCT(&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 07:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534037#M108311</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2025-10-22T07:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: loading script- count(distinct) failed</title>
      <link>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534044#M108313</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/161353"&gt;@emilyrabbit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even if distinct is displayed in black, the result seems to work normally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The image below is the result of making and processing sample data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanna_choi_0-1761119591793.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184373i05E4847DFAD0D7F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="hanna_choi_0-1761119591793.png" alt="hanna_choi_0-1761119591793.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ Result]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanna_choi_1-1761119627868.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184374i4EAD8D8FCB61F90C/image-size/large?v=v2&amp;amp;px=999" role="button" title="hanna_choi_1-1761119627868.png" alt="hanna_choi_1-1761119627868.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;******** No Distinct&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanna_choi_2-1761119697305.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184375i78B674045547CF30/image-size/large?v=v2&amp;amp;px=999" role="button" title="hanna_choi_2-1761119697305.png" alt="hanna_choi_2-1761119697305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;[ Result ]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanna_choi_3-1761119735005.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184376i1A8D2A5086779926/image-size/large?v=v2&amp;amp;px=999" role="button" title="hanna_choi_3-1761119735005.png" alt="hanna_choi_3-1761119735005.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you share the sample data of "FACT_ORDER_FLUID_CONNECTORS" table&lt;/P&gt;&lt;P&gt;we can think about the problem together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 07:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534044#M108313</guid>
      <dc:creator>hanna_choi</dc:creator>
      <dc:date>2025-10-22T07:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: loading script- count(distinct) failed</title>
      <link>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534070#M108319</link>
      <description>&lt;P&gt;Be aware that:&lt;/P&gt;&lt;P&gt;[Order Created By Rep]&amp;amp;[Order Year Month] as key,&lt;/P&gt;&lt;P&gt;isn't equally reflected by:&lt;/P&gt;&lt;P&gt;Group BY [Order Created By Rep],[Order Year Month]&lt;/P&gt;&lt;P&gt;and you may need to adjust it to:&lt;/P&gt;&lt;P&gt;Group BY [Order Created By Rep]&amp;amp;[Order Year Month]&lt;/P&gt;&lt;P&gt;Further the combined key has no included delimiter. Depending on the content of the fields there may occur some kind of overlapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 11:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/loading-script-count-distinct-failed/m-p/2534070#M108319</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-10-22T11:28:33Z</dc:date>
    </item>
  </channel>
</rss>

